[wp-trac] [WordPress Trac] #26183: Calling quicktags *after* initial setup results in an empty toolbar
WordPress Trac
noreply at wordpress.org
Mon Mar 31 13:17:26 UTC 2014
#26183: Calling quicktags *after* initial setup results in an empty toolbar
--------------------------+-----------------------------
Reporter: PeterRKnight | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version: 3.7.1
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------------
Comment (by helgatheviking):
I took a stab at an add instance method and coupled with the above change
seems to allow for the dynamic addition of quicktags editors.
{{{
qt.addInstance = function(settings) {
if( 'id' in settings )
return qt.instances[settings.id] = settings;
};
}}}
Now to got figure out how to make a patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26183#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list