[wp-trac] [WordPress Trac] #16695: quicktags needs some refactoring
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 1 07:29:17 UTC 2011
#16695: quicktags needs some refactoring
-------------------------+------------------------------
Reporter: garyc40 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by garyc40):
Replying to [comment:3 filosofo]:
> Also, if we're going to rewrite quicktags, let's get rid of some of that
HTML-building duplication and generalize the edButton object to generate
the markup (and attach its click callback) based on the parameters it
already has.
Agreed.
There's lots of ugly code duplication in `quicktags.dev` that I'm
addressing in an upcoming patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16695#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list