Seyed Ahmad Hosseini

Results 2 comments of Seyed Ahmad Hosseini

instead of tinyMCE.activeEditor.windowManager.open, you can use tinyMCE.activeEditor.windowManager.openUrl({ url: 'custom url', title: 'custom title', width: WinWidth, height: WinHeight, resizable : "yes", close_previous : "no" }, { });

When your are initializing tinemce set this variables like this: ... file_picker_types: 'image file media', file_picker_callback:function(callback, value, meta){ ... tinyMCE.activeEditor.windowManager.openUrl(_urlDialogConfig); }, ... This set the value automatically. https://www.tiny.cloud/docs/configure/file-image-upload/