Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# svelte-summernote
Svelte extension for summernote

This 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
```