question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught Error: Could not find more button element

See original GitHub issue

What 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

  1. Go to this demo

  2. Click on the text to make the toolbar appear (the green zone)

  3. Click on the […] button to expand the toolbar

  4. Click on the [test] button to apply test class

  5. Click on the outside of the editor (the white zone)

  6. (Optionnal) Click on the top button

  7. 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:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
lnewsoncommented, Dec 10, 2019

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.

1reaction
sebastienheydcommented, Dec 3, 2019

This also happens when you click on the […] button and you resize the window to make appear all buttons.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying to put onclick on button which was added to DOM by ...
Trying to put onclick on button which was added to DOM by another button but getting error Uncaught TypeError which is about setting...
Read more >
Using Your Browser to Diagnose JavaScript Errors
Or, navigate to More Tools > Developer Tools from Chrome menu, and click Console tab. 2. Identify the Error. The error console will...
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
Is Google Tag Manager Preview Mode Not Working? 22 Ways ...
In the tool left corner of the Preview mode, you might see a little arrow-down icon. If yes, then click and check if...
Read more >
JavaScript · Bootstrap
Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found