However, I'm trying to set up a field which is a rich text editor in the dialog box but having some trouble getting it to initialise properly. This class can be extended to provide for example inline dialogs. tox-dialog, like this: var dialogApi editor. This class handles the creation of native windows and dialogs. This is all working great, the shortcode is created properly and inserted in to the main WP editor. windowManager. open () openUrl () tinymce.WindowManager This class handles the creation of native windows and dialogs. I did a bit more digging and found some sort of workaround, after windowManager.open() use the DomQuery utils to add a custom class to the created. I am using ASP.NET Core 6 and I have the FileManager completely working great on a Razor Page, but I can't get the Upload feature to work when loading it into a TinyMCE windowManager dialog.I'm currently writing a plugin that provides an interface for adding shortcodes, very simple dropdown added to the TinyMCE toolbar which opens a TinyMCE dialog box with text fields etc. Url: `/api/telerik-file-manager/read?filter=$, UploadUrl: '/api/telerik-file-manager/upload', The jQuery code that I'm using to initialize the FileManager is: What will cause the uploadDialog to not be able to show? Brilliant v5 feels, looks and behaves beautifully. When I view the browser console, I see a warning that says: The uploadDialog dialog is not available! When I click on the Upload button, or drag and drop a file into the FileManager, nothing happens. All of the features of the FileManager work, except for uploading files. I need to convert the width to a percentage value instead of a pixel based value. The open method does not return a reference as a normal window.open would and I can't seem to find a TinyMCE way to get the reference. 1 The script below invokes an inline popup window from a tinyMCE editor. I have been able to successfully get it to load in TinyMCE's windowManager dialog. tinymce.WindowManager Docs TinyMCE Return to Website tinymce.WindowManager This class handles the creation of native windows and dialogs. Registered: Posts: 5 TinyMCE 3.0.8 I am trying to get a reference to a window opened by invoking. I am trying to use FileManager as the file manger for TinyMCE 6.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |