I have a list of components (form elements) one of which is a tinymce editor. They change order based on a state variable using a map of ids and using cloneElement to create the components. If the tiny mce editor moves or the items above it change order it can't be interacted with. The iframe just has an empty html element in it.
change the number in the top field
https://codesandbox.io/s/tinymcereact-forked-lgbev?file=/src/index.js
I am using the current bersion of tinymce and tinymce-react version is 3.6.0
Any help would be appreciated. I can have it to rerender the whole component but I would prefer not to have to do that.
I have a list of components (form elements) one of which is a tinymce editor. They change order based on a state variable using a map of ids and using cloneElement to create the components. If the tiny mce editor moves or the items above it change order it can't be interacted with. The iframe just has an empty html element in it.
change the number in the top field
https://codesandbox.io/s/tinymcereact-forked-lgbev?file=/src/index.js
I am using the current bersion of tinymce and tinymce-react version is 3.6.0
Any help would be appreciated. I can have it to rerender the whole component but I would prefer not to have to do that.