Skip to content Skip to sidebar Skip to footer

Call Selection Jquery Event Inside Tinymce Text Selection

I have been trying to call jQuery select function inside a tinymce text area after the text selection ends. i tried to call the eve

Solution 1:

You should check tinymce events. I think the one you need is this: https://www.tinymce.com/docs/advanced/events/#nodechange

tinymce.init({
 selector: 'textarea',
 init_instance_callback: function (editor) {
 editor.on('NodeChange', function (e) {
    console.log('Node changed');
    });
  }
});

Post a Comment for "Call Selection Jquery Event Inside Tinymce Text Selection"