Migrating from v7 to v8
Rename Editor.onContentChange -> Editor.valueChanges
Before
After
Rename Editor.onUpdate -> Editor.update
Before
After
Make sure to call editor.destory manually during onDestory.
Image plugin is included by default.
Image plugin is included by default. No need to manually add it.
Removed Editor.focus and Editor.blur events
Alternatively you can use the props on the editor component for the same
Remvoed Editor.enable and Editor.disable methods
Before:
After:
Set the enabled prop to true
or false
to enable/disable the editor.
Miscellaneous
- Some CSS Bug fixes might affect existing components