![]() ![]() I also started looking into using directives to extend the default implementation ( ), but this seems like a bit of a black box and I haven't found what directive I would extend for the RTE. ![]() I was thinking my code should go into App_Plugins instead so I can create an AngularJS controller that inherits editorService (and possibly tinyMceService), but then how would that even get added to the rich text editor? This is an interactive dialog that inserts the name of a cat into the editor content on submit. This all appears to be happening within the and within that in the initializeEditor method. Basic interactive dialog The following example demonstrates how data flows through the dialog and how buttons are configured. I had a look at the Umbraco source code to see how the media picker button etc work. ![]() I don't think I can get to the Umbraco editorService from here to open the infinite editor? The tinymce plugin code sits in and uses plain js with a directive. Plugin base class, this is a pseudo class that describes how a plugin is to be created for TinyMCE. It would be much nicer if I could define an infinite editor for the search and results interface, but I can't figure out how to piece those together. The example scenario is a custom button with dialog options to add Image description, size and positioning the image/wrapping div. This works using a "popup" by invoking, however, that doesn't feel very "Umbraco". Published 25th of August 2018 Episerver 11 > 2.0 TinyMce > 4.0 In this blog post I’ll give you one example how to implement custom button plugin in tinyMCE. On the callback from selecting a result, the markup in the rich text editor is updated to insert some special markup. The TinyMCE editor is loaded in to the page using: wpeditor ('', 'iistest', 'teeny' > true) I've tried reinitialising the editor in the open dialog function and in many other places but I can't get this working properly. On click of the button, we open a form that allows the user to search and select a search result. You can't click any of the buttons to actually do anything (please see image below). I am building a custom TinyMCE plugin, which adds a button to the rich text editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |