Skip to content

reordering with cloneElement breaks editor #170

Description

@jacobbrown0192

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GitHubIssues that have been added to our internal issue tracker.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions