Uncaught Error: Could not find more button element
See original GitHub issueWhat is the current behavior? The editor throws an error after using a custom button and closing the toolbar. It seem to be related with custom buttons and floating toolbar.
**Error reproduction steps
-
Go to this demo
-
Click on the text to make the toolbar appear (the green zone)
-
Click on the […] button to expand the toolbar
-
Click on the [test] button to apply test class
-
Click on the outside of the editor (the white zone)
-
(Optionnal) Click on the top button
-
Try again without floating toolbar and it should be no error.
What is the expected behavior?
Close the editor without error and allows to reuse it by clicking again on the text.
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react?
@tinymce/tinymce-react : 3.2.0
Browser : Firefox + Chrome (last version)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)

Top Related StackOverflow Question
Just to give an update on this, we’re aware of the issue and unfortunately it’s not a simple fix. We’re currently working on a fix though and it should hopefully be included in TinyMCE 5.2.
This also happens when you click on the […] button and you resize the window to make appear all buttons.