File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ npm install draft-js-select-image-plugin
1010
1111## Usage
1212This plugin exposes a button that integrates with the side toolbar.
13- Rendering the image is out of scope, but in the following example you can see how to integrate ` draft-js-image-plugin ` .
1413
1514``` js
1615import createSelectImagePlugin from ' draft-js-select-image-plugin' ;
1716const selectImagePlugin = createSelectImagePlugin ({});
17+ const { SelectImageButton } = selectImagePlugin;
1818```
1919
2020## Configuration
@@ -23,6 +23,8 @@ const selectImagePlugin = createSelectImagePlugin({});
2323| imageType | IMAGE | Type of entity created when inserting the atomic block. By default it's the same value as ` draft-js-image-plugin ` |
2424
2525## Integration
26+ Rendering the image is out of scope, but in the following example you can see how to integrate ` draft-js-image-plugin ` .
27+
2628``` js
2729import React from ' react' ;
2830import ReactDOM from ' react-dom' ;
You can’t perform that action at this time.
0 commit comments