Skip to content

Commit 4ef99a7

Browse files
committed
Plugin definition
1 parent 5c573d9 commit 4ef99a7

File tree

8 files changed

+12586
-0
lines changed

8 files changed

+12586
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
npm-debug.log*
2+
yarn-debug.log*
3+
yarn-error.log*
4+
node_modules/
5+
.npm
6+
.eslintcache
7+
lib/

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
/src/
3+
npm-debug.log
4+
webpack.config.js
5+
postcss.config.js
6+
.babelrc

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# draft-js-select-image-plugin
22
Embed a local image in your draft-js editor
3+
4+
*This is a plugin for the `draft-js-plugins-editor`.*
5+
6+
Usage:
7+
8+
```js
9+
import createSelectImagePlugin from 'draft-js-select-image-plugin';
10+
11+
const selectImagePlugin = createSelectImagePlugin();
12+
```

0 commit comments

Comments
 (0)