instructure-react / react-tinymce

React TinyMCE component
181 stars 110 forks source link

Content dosen't update(re-render) when redo/undo #46

Open GeorgioWan opened 7 years ago

GeorgioWan commented 7 years ago

Hello,

This repo is awesome that I use it in my project - [ Oi ] an impress.js WYSIWYG editor.

But there's a little problem that when I use redo or undo, the content doesn't re-render (strictly speaking, it doesn't change the property of content, check the demo of this repo).

p.s. I already checked the older issue, but not really well 😞

natterstefan commented 6 years ago

@GeorgioWan not sure if this is still relevant for you, but maybe for others. Applying this solution solved my issue, even with onRedo and onUndo: https://github.com/instructure-react/react-tinymce/issues/41#issuecomment-262758123