This class can be extended to provide for example inline dialogs. For example, by giving the maxheight option a value the editor will stop resizing when the set value is reached. It is typically used to prevent the editor from expanding infinitely as a user types into the editable area. So the result gives similar experience to the HtmlPanel (Yup, I can even insert html this way).Īnd even if I take the random ID of the created iframe and force src to take the URL I want I can't do anything because of the enforced dimensions. tinymce.WindowManager Contents Examples Summary Methods Methods alert () close () confirm () open () openUrl () tinymce.WindowManager This class handles the creation of native windows and dialogs. This plugin automatically resizes the editor to the content inside it. You can't set src and applying anything at initialData just add it as a text into body of created iframe. Most of them (if not every one of them) was simply loading html file into iframe provided by tinyMCE popup. I found that the new UI Dialog has an Iframe component so I thought that maybe that's the one.but the truth is I have no idea what is the reason for this component to exists. I'm trying the all new and shiny v5 but I've noticed there is some huge issue in terms of compatibility with integrations for file management that were using. So what's the proper solution to get the same result? ![]() But now with the new UI Dialog that won't work. ![]() ![]() I'm trying the all new and shiny v5 but I've noticed there is some huge issue in terms of compatibility with integrations for file management that were using.
0 Comments
Leave a Reply. |