Skip to content

Commit 26c521d

Browse files
committed
Version bump to 0.6.0
1 parent 74a43a8 commit 26c521d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ import { EditorState } from 'draft-js';
3535
const plugins = [createMarkdownShortcutsPlugin()];
3636

3737
export default class DemoEditor extends Component {
38-
state = {
39-
editorState: EditorState.createEmpty(),
40-
};
38+
constructor(props) {
39+
super(props);
40+
state = {
41+
editorState: EditorState.createEmpty(),
42+
};
43+
}
4144

4245
onChange = editorState => {
4346
this.setState({

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draft-js-markdown-shortcuts-plugin",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "A DraftJS plugin for supporting Markdown syntax shortcuts",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)