Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
easylogic committed Aug 28, 2024
1 parent 10db679 commit 1d63a43
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 65 deletions.
6 changes: 6 additions & 0 deletions .changeset/beige-chairs-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@easylogic/react-summernote-lite': patch
'@easylogic/react-summernote-bs4': patch
---

update README.md
44 changes: 9 additions & 35 deletions packages/react-summernote-bs4/README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,25 @@
# react-summernote
React extension for summernote
# @easylogic/react-summernote-bs4

This library support all summernote features.
React extension for summernote bs4

This library support all summernote features.

# install

# install
```
npm install @easylogic/react-summernote
npm install jquery summernote bootstrap popper.js @easylogic/react-summernote-bs4
```

# Getting Started
# Getting Started

```js
import 'jquery'
import ReactSummernoteLite from '@easylogic/react-summernote'
import '@easylogic/react-summernote/index.css'
import {ReactSummernoteBS4} from '@easylogic/react-summernote-bs4'

const EditorComponent = () => {
return <ReactSummernoteLite id="sample" onInit={({ note }: any ) => {
return <ReactSummernoteBS4 id="sample" onInit={({ note }: any ) => {
note.summernote('pasteHTML', '<span style="font-size:30px">Hello, world for 30px</span>')
}} />
}

export default EditorComponent
```





# development

```
npm install
npm run dev
```

# build

```
npm install
npm run build
```

# storybook

```
npm install
npm run storybook
```
41 changes: 11 additions & 30 deletions packages/react-summernote-lite/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# react-summernote
React extension for summernote
# @easylogic/react-summernote-lite

This library support all summernote features.
React extension for summernote lite

This library support all summernote features.

# install

# install
```
npm install @easylogic/react-summernote
npm install jquery summernote @easylogic/react-summernote-lite
```

# Getting Started
# Getting Started

```js
import 'jquery'
import ReactSummernoteLite from '@easylogic/react-summernote'
import '@easylogic/react-summernote/index.css'
import {ReactSummernoteLite} from '@easylogic/react-summernote-lite'

const EditorComponent = () => {
return <ReactSummernoteLite id="sample" onInit={({ note }: any ) => {
Expand All @@ -25,27 +24,9 @@ const EditorComponent = () => {
export default EditorComponent
```





# development

```
npm install
npm run dev
```

# build

```
npm install
npm run build
```

# storybook
# storybook

```
npm install
npm run storybook
pnpm install
pnpm storybook
```

0 comments on commit 1d63a43

Please sign in to comment.