Skip to content

Commit

Permalink
Fix docs for divider plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
simsim0709 committed Apr 29, 2018
1 parent b09d34e commit 3f1a21a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parser": "babel-eslint",
"plugins": [ "mocha" ],
"plugins": ["mocha"],
"env": {
"browser": true,
"mocha": true,
Expand All @@ -23,7 +23,7 @@
"import/no-webpack-loader-syntax": 0,
"import/extensions": 0,
"jsx-a11y/img-has-alt": 0,
"react/require-default-props": 0,
"react/require-default-props": 0
},
"settings": {
"import/core-modules": [
Expand Down Expand Up @@ -67,7 +67,9 @@
"draft-js-undo-plugin",
"draft-js-undo-plugin/lib/plugin.css",
"draft-js-video-plugin",
"draft-js-video-plugin/lib/plugin.css"
"draft-js-video-plugin/lib/plugin.css",
"draft-js-divider-plugin",
"draft-js-divider-plugin/lib/plugin.css"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { convertFromRaw, EditorState } from 'draft-js';
import Editor, { composeDecorators } from 'draft-js-plugins-editor';
import createFocusPlugin from 'draft-js-focus-plugin';
import createSideToolbarPlugin from 'draft-js-side-toolbar-plugin';
// eslint-disable-next-line
import createDividerPlugin from 'draft-js-divider-plugin';
// eslint-disable-next-line
import BlockTypeSelect from 'draft-js-side-toolbar-plugin/components/BlockTypeSelect';
Expand Down Expand Up @@ -46,7 +45,7 @@ const initialState = {
{
key: '9gm3s',
text:
'This is a simple example for divider plugin. Click on the block to focus on it.',
'This is a simple example for divider plugin. Click side toolbar divider button.',
type: 'unstyled',
depth: 0,
inlineStyleRanges: [],
Expand Down
3 changes: 1 addition & 2 deletions stories/Divider/DividerWithSideToolbarEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { convertFromRaw, EditorState } from 'draft-js';
import Editor, { composeDecorators } from 'draft-js-plugins-editor';
import createFocusPlugin from 'draft-js-focus-plugin';
import createSideToolbarPlugin from 'draft-js-side-toolbar-plugin';
// eslint-disable-next-line
import createDividerPlugin from 'draft-js-divider-plugin';
// eslint-disable-next-line
import BlockTypeSelect from 'draft-js-side-toolbar-plugin/components/BlockTypeSelect';
Expand Down Expand Up @@ -46,7 +45,7 @@ const initialState = {
{
key: '9gm3s',
text:
'This is a simple example for divider plugin. Click on the block to focus on it.',
'This is a simple example for divider plugin. Click side toolbar divider button.',
type: 'unstyled',
depth: 0,
inlineStyleRanges: [],
Expand Down

0 comments on commit 3f1a21a

Please sign in to comment.