Skip to content

Changing TinyMCE's style_formats causes react-tinymce to rerender and lose focus #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
marchbnr opened this issue Feb 4, 2016 · 1 comment

Comments

@marchbnr
Copy link

marchbnr commented Feb 4, 2016

Whenever the style_formats have been changed in TinyMCE's config, like in this example, the react component of TinyMCE is broken.

Every keypress will cause the component to be rerender and the focus will be lost.

@marchbnr
Copy link
Author

marchbnr commented Feb 4, 2016

For the record: The component is not rendered again, but the html element changes and thereby seems to lose its focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant