Open szakitibi opened 3 months ago
Getting a quite similar errors for a custom TinyMCE inline initialization.
It is a quite basic one, has no theme/skin configuration, only an inline TinyMCE with Undo/Redo buttons.
<div id="customtiny">Some editable text ...</div>
and
tinymce.init({
"target": $("#customtiny").get(0),
"inline": true,
"menubar": false,
"toolbar": "undo redo"
});
Update: Adding skin: false
to the config makes the above errors go away for the custom plugin. It does not fix though the original issue. Might relate to https://github.com/tinymce/tinymce-react/issues/53?
What happens Adding a textarea with
pat-tinymce
class results:Steps to reproduce
git@github.com:collective/minimalplone6.git
, run buildout and create a Plone 6 Classic UI site<textarea class="pat-tinymce" data-pat-tinymce='{"inline": false}'></textarea>
Versions:
Note: With latest 2.2.0a6 it is still present, but the error is not present for
"inline": true
, nor with built in forms (e.g.++add++Document
,++add++Event
).What I expect
A documentation on how to initialize TinyMCE without errors would be good. Or a bugfix, if it is a bug.