Answer the question
In order to leave comments, you need to log in
Resize images in TinyMCE
Hello!
I am using TinyMCE v.4.0.8.
The editor options are object_resizing = false - that is, initially resizing is disabled.
I need that when my button is clicked, the image resizing mode is activated and resize handles are drawn.
Tried to do it like this:
tinymce.activeEditor.settings.object_resizing = true;
img.click(); // jQuery(img).trigger('click')
tinymce.activeEditor.selection.collapse();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question