Closed Stanislavussov closed 6 months ago
Ref: INT-3228
Just need a bit more info, could you please provide a code snippet of what you're trying to achieve? You can use codesandbox.io as a template.
This issue is stale because it has been open for 30 days with no activity. Respond with a comment or this will be closed in 7 days.
What is the current behavior? Despite setting the
enabled
property of a custom plugin to false, and adding an additional state that causes the component with the WYSIWYG editor to rerender, the button's enabled state gets reset after each render.What is the expected behavior? The
enabled
state should remain consistent across rerenders.Which versions of TinyMCE, and which browser/OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react? Browser: Version 116.0.5845.179 (Official Build) snap (64-bit) OS: Ubuntu NPM Package Version:
"@tinymce/tinymce-react": "^4.3.0"