![]() ![]() I use the windowmanager.open() function to show a modal, but I dont know how to hide. Fortunately, since the pop-up can be set to a fixed width and the label text is also static, breaking the label up ourselves with new-lines would work just as well. I use wordpress and currently writing a plugin for the tinymce-editor. If you’re anything like me at this point a workaround is looking preferable to a hard won ‘right answer’. Patient plodding through the other CSS properties and the other TinyMCE layout managers available for popups might eventually yield a good solution, though I haven’t got there yet. Anyways, URL dialogs were originally removed in TinyMCE 5 and as such all the windowManager functionality that related to URL dialogs (eg ()) was also removed. Trying to set narrow widths via the style properties has no affect on the text box and only causes the label to become horizontally scrollable. The former is for accessing editor settings, while the latter was used in TinyMCE 4 to get params passed when opening URL dialogs. Having a shufti at the runtime properties the controls via an HTML browser shows that the width of both the label and the field are being set to use the full space required by the widest control – in this case the label. It looks like TinyMCE is simply overriding my styles, but I know there are ways to inject styles into the editor so I think this question is still valid. Since the documentation is really bad, no real info can be gathered. I'm rendering a jQuery template into a tinyMCE plugin I'm writing and I cant figure out how to style the windowManager window. I'm not sure how to use them all, as all this info was gathered through trial and fail. ![]() Unfortunately the extra depth doesn’t get filled up with our text:- 3 Answers Sorted by: 119 After I beautified the minified version of tinymce, i found that these may be some of the body types for windowManager.open. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |