tinymce-angular
tinymce-angular copied to clipboard
toolbar_mode seems now type ToolbarMode and not string anymore?
What is the current behavior?
After updating to Angular 13 and "@tinymce/tinymce-angular": "6.0.0"
toolbar_mode:'wrap'
seems to be of type ToolbarMode and not string anymore?
(can't find a type ToolbarMode anywhere :/ )
Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
Unfortunately trying to create a minimal example did not produce the same result.
That leads me to believe that the mistake is on my side.
But maybe someone still has a clue for me?
Then others with the same problem could read it later.
Maybe it's even obvious / trivial to someone.
If so - thank you for your time!
Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular?
Tested with Firefox. @tinymce/[email protected]
It worked with @tinymce/tinymce-angular": "^4.2.4" and Angular 12 before.
Ref: INT-3007
If creating a replication case failed, could it be that the TinyMCE types that you were using at the time were outdated?
Closing due to lack of activity
I have a same exact problem. I can not find definition of ToolbarMode and RawEditorOptions anywhere.
I have the same problem with Angular 16 and tinymce 6.7.0 , if I wnat to use toolbar_mode it gives me error saying: is not assignable to type 'RawEditorOptions'. Types of property 'toolbar_mode' are incompatible. Type 'string' is not assignable to type 'ToolbarMode'. Please point me in the right direction.
Ok, on a second attemp, a workaround for me was: toolbar_mode: 'floating' as any It would not be a correct way though.