Skip to content

Component loses content after DOM change #89

@akrueger90

Description

@akrueger90

I'am using the component embedded in a big layout. This has the ability to maximise a component, which changes the dom of the page. After the tinymce component is maximised its not working anymore and does not show the content.

It looks like the source of the error is the dom change and that the editor needs to be reinitialised. Is it possible to do this with the react component?

The expected behaviour would be that the component acts normal because the target field itself does not change, just the surrounding dom.

Versions:
"@tinymce/tinymce-react": "3.3.2",
"tinymce": "5.0.15",
"react": "16.7.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions