Closed mryndin closed 6 years ago
Need use tinymce.remove. For example:
$this->registerJs('$("#category-tree").on(\'treeview.beforeselect\', function(event, key, jqXHR, settings) {
tinymce.remove();
console.log(\'treeview.beforeselect\');
});');
I insert TinyMCE widget to edit form. At first node I see all fine, but the next edited node (any) not initialize editor input and I see text area as is. Cache option is false. What can I do to reinit TinyMCE area ?