[wp-trac] [WordPress Trac] #16695: quicktags needs some refactoring
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 15 16:25:33 UTC 2011
#16695: quicktags needs some refactoring
----------------------------------------------+----------------------------
Reporter: garyc40 | Owner: scribu
Type: enhancement | Status: reviewing
Priority: normal | Milestone: Awaiting
Component: Editor | Review
Severity: normal | Version: 3.1
Keywords: has-patch dev-feedback 3.2-early | Resolution:
----------------------------------------------+----------------------------
Comment (by azaozz):
No, I meant we can init and call the (new) functions/methods in
quicktags.js from a TinyMCE plugin, so there will be no need to separately
attach quicktags to the textarea, etc. If TinyMCE is included, we only
will need to load quicktags.js and the editor switching, hiding the
toolbar, filtering, etc. will be handled from whitin TinyMCE (which would
also make it a lot easier for plugins to use both editors in the same way
as on the Write screen).
Of course quicktags.js will remain a separate JS script that can be
attached to any textarea.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16695#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list