I have a TinyMCE plugin that opens a popin using the following code:
editor.windowManager.open({
id : 'popin-div-id',
width : 500,
height : "auto",
wpDialog : true,
title : 'Edit Options'
});
Ever since I updated to WordPress 3.9 (which embeds TinyMCE 4), I get the following error in the console:
tinymce.WPWindowManager is deprecated. Use the default editor.windowManager to open dialogs with inline HTML.
If I remove the "wpDialog : true" part from the code above, my popin doesn't appear anymore (no error).
What do I need to change to use the default windowManager in TinyMCE 4? I checked their website and I could not find documentation about opening a popin from a div, but only from an external HTML page, see: