File tree 3 files changed +7
-7
lines changed
docs/client/components/pages/Divider/DividerWithSideToolbarEditor
stories/Divider/DividerWithSideToolbarEditor
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"parser": "babel-eslint",
3
- "plugins": [ "mocha" ],
3
+ "plugins": ["mocha"],
4
4
"env": {
5
5
"browser": true,
6
6
"mocha": true,
23
23
"import/no-webpack-loader-syntax": 0,
24
24
"import/extensions": 0,
25
25
"jsx-a11y/img-has-alt": 0,
26
- "react/require-default-props": 0,
26
+ "react/require-default-props": 0
27
27
},
28
28
"settings": {
29
29
"import/core-modules": [
67
67
"draft-js-undo-plugin",
68
68
"draft-js-undo-plugin/lib/plugin.css",
69
69
"draft-js-video-plugin",
70
- "draft-js-video-plugin/lib/plugin.css"
70
+ "draft-js-video-plugin/lib/plugin.css",
71
+ "draft-js-divider-plugin",
72
+ "draft-js-divider-plugin/lib/plugin.css"
71
73
]
72
74
}
73
75
}
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { convertFromRaw, EditorState } from 'draft-js';
4
4
import Editor , { composeDecorators } from 'draft-js-plugins-editor' ;
5
5
import createFocusPlugin from 'draft-js-focus-plugin' ;
6
6
import createSideToolbarPlugin from 'draft-js-side-toolbar-plugin' ;
7
- // eslint-disable-next-line
8
7
import createDividerPlugin from 'draft-js-divider-plugin' ;
9
8
// eslint-disable-next-line
10
9
import BlockTypeSelect from 'draft-js-side-toolbar-plugin/components/BlockTypeSelect' ;
@@ -46,7 +45,7 @@ const initialState = {
46
45
{
47
46
key : '9gm3s' ,
48
47
text :
49
- 'This is a simple example for divider plugin. Click on the block to focus on it .' ,
48
+ 'This is a simple example for divider plugin. Click side toolbar divider button .' ,
50
49
type : 'unstyled' ,
51
50
depth : 0 ,
52
51
inlineStyleRanges : [ ] ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { convertFromRaw, EditorState } from 'draft-js';
4
4
import Editor , { composeDecorators } from 'draft-js-plugins-editor' ;
5
5
import createFocusPlugin from 'draft-js-focus-plugin' ;
6
6
import createSideToolbarPlugin from 'draft-js-side-toolbar-plugin' ;
7
- // eslint-disable-next-line
8
7
import createDividerPlugin from 'draft-js-divider-plugin' ;
9
8
// eslint-disable-next-line
10
9
import BlockTypeSelect from 'draft-js-side-toolbar-plugin/components/BlockTypeSelect' ;
@@ -46,7 +45,7 @@ const initialState = {
46
45
{
47
46
key : '9gm3s' ,
48
47
text :
49
- 'This is a simple example for divider plugin. Click on the block to focus on it .' ,
48
+ 'This is a simple example for divider plugin. Click side toolbar divider button .' ,
50
49
type : 'unstyled' ,
51
50
depth : 0 ,
52
51
inlineStyleRanges : [ ] ,
You can’t perform that action at this time.
0 commit comments