Draft-js-plugins: "setEditorState is not a function" when remove image [bug]

Created on 30 Jul 2019  路  3Comments  路  Source: draft-js-plugins/draft-js-plugins

I tried to run this example, but got an error when I deleted the image

WX20190730-124423@2x

stale

Most helpful comment

The dependency to draft-js should be "draft-js": "~0.10.5", instead of "draft-js": "^0.10.5",. The new 0.11.0 release breaks this package.

All 3 comments

Now I know why.
I installed the latest version of draft-js, which caused this problem. Now I reinstall the version of draft-js to 0.10.5, it work.
But this is still a potential problem, I hope it can be fixed.

The dependency to draft-js should be "draft-js": "~0.10.5", instead of "draft-js": "^0.10.5",. The new 0.11.0 release breaks this package.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

firashamila33 picture firashamila33  路  4Comments

Hongbo-Miao picture Hongbo-Miao  路  3Comments

bojoyzhou picture bojoyzhou  路  3Comments

svnm picture svnm  路  3Comments

jamesfzhang picture jamesfzhang  路  3Comments