[wp-trac] [WordPress Trac] #24067: TinyMCE 4.0
WordPress Trac
noreply at wordpress.org
Mon Feb 10 12:11:06 UTC 2014
#24067: TinyMCE 4.0
-------------------------+-----------------------
Reporter: josh401 | Owner: azaozz
Type: enhancement | Status: accepted
Priority: high | Milestone: 3.9
Component: TinyMCE | Version: 3.8
Severity: minor | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------
Comment (by josh401):
Replying to [comment:121 programmin]:
> What is the recommended way to replace this function?
I'm not sure how the 'ichord' plugin functions in it's entirety... but
this is how I am converting mine:
1. Add your plugin to the 'PluginManager'...
tinymce.PluginManager.add('yourPlugin', function(editor, url) {
... replace ''''yourPlugin'''' with the name of your plugin.
2. Then, you can add this for your init...
editor.on('init', function(args) {
// Custom logic
});
The [http://www.tinymce.com/wiki.php/Tutorial:Migration_guide_from_3.x
Tinymce Migration Page] may be of help, also.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24067#comment:122>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list