tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.08k stars 208 forks source link

toolbar is shown even when toolbar configuration is false #376

Closed Naama-Le closed 4 months ago

Naama-Le commented 1 year ago

What is the current behavior? I'm using tinymce-vue to edit text in inline mode. I'm using a computed property to set the init configuration, where I change the toolbar value conditionally. I can see in the inspector that the editor updates the toolbar value (to false => to hide the toolbar), but the toolbar is still there on screen.

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. my computed value: editorConfig(){ const toolbar = this.editTextBox ? false : 'undo redo | bold italic underline strikethrough | alignleft aligncenter alignright'; return { selector: 'span', toolbar: toolbar, menubar: false } }, What is the expected behavior? the toolbar should be hidden on toolbar: false

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-vue? chrome on mac.

Screenshot 2023-04-12 at 13 21 21

Screenshot 2023-04-12 at 13 23 03

TinyITAdmin commented 1 year ago

Ref: INT-3174

tiny-stale-bot commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

tiny-stale-bot commented 4 months ago

This issue was closed because it has been stalled for 7 days with no activity.