steffenschoene
4 years agoExpert
TinyMce/Editor on custom textarea
Hi,
I try to use the Khoros TinyMce on a custom textarea element in DOM. I already tried this by using 'window.tinymce.init' or 'window.tinymce.EditorManager.execCommand('mceAddEditor', true, target_element)'.
Both commands ends into a vanilla tinymce instance without the Khoros editor settings. Did anyone figure out how to get the Khoros settings of the TinyMce to initiate a TinyMce on a custom field? The target is to add the textarea by JavaScript and initiate the TinyMce after that.
Greetings