Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/easylogic/svelte-summernote
Svelte extension for summernote
https://github.com/easylogic/svelte-summernote
Last synced: 2 months ago
JSON representation
Svelte extension for summernote
- Host: GitHub
- URL: https://github.com/easylogic/svelte-summernote
- Owner: easylogic
- License: mit
- Created: 2020-03-20T12:59:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T01:28:58.000Z (over 3 years ago)
- Last Synced: 2024-04-14T04:18:58.096Z (8 months ago)
- Language: Svelte
- Homepage: https://svelte-summernote.easylogic.studio
- Size: 2.76 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-summernote - @easylogic/svelte-summernote
README
# svelte-summernote
Svelte extension for summernoteThis library support all summernote features.
# install
```
npm install @easylogic/svelte-summernote
```# Getting Started
```js
import 'jquery'
import SvelteSummernoteLite from '@easylogic/svelte-summernote'
import '@easylogic/svelte-summernote/index.css'const EditorComponent = () => {
return {
note.summernote('pasteHTML', 'Hello, world for 30px')
}} />
}export default EditorComponent
```# Support Internalization
```js
import 'jquery'
import '@easylogic/jquery-globals'
import SvelteSummernoteLite from '@easylogic/svelte-summernote'
import '@easylogic/svelte-summernote/index.css'
import '@easylogic/svelte-summernote/dist/lang/summernote-ko-KR'const EditorComponent = () => {
return
}export default EditorComponent
```# development
```
npm install
npm run dev
```# build
```
npm install
npm run build
```# storybook
```
npm install
npm run storybook
```