-
Notifications
You must be signed in to change notification settings - Fork 42
DraftJS v0.11.0 breaks plugin #181
Comments
Just as an information, saw this issue during debugging. I got the base repo runnning with 0.11 and opened a PR there. Maybe the change helps in this fork also. |
I have the same issue too |
1 similar comment
I have the same issue too |
EDIT PR available at #186 There should probably be a If you're blocked by this, make sure you're using I'm all for 4.x of this plugin, but it's a small change with some pretty major implications. In the meanwhile, I'll put together a PR here on this fork that includes @elbakerino's changes + updates the peerDependencies. It will push us to @mxstbr could you weigh on on this? |
When pairing the plugin with DraftJS v0.11.0, the console will give the error
setEditorState is not a function
anytime a Markdown shortcut is used.Looks like there was an API change that may have affected this - I'm not familiar enough yet with DraftJS to know.
Using DraftJS v0.10.4 allows the plugin to work properly.
The text was updated successfully, but these errors were encountered: