[wp-trac] [WordPress Trac] #16695: quicktags needs some refactoring
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 1 02:17:32 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:2 filosofo]:
> I don't think loading the buttons that fraction of a second earlier
warrants the necessary extra code. `16695.2.diff` is a simplified
version; not as clever but it works in every JS-supporting client I know
of.
The simplified version does work, but it calls the callback too late -
when everything on the page has finished loading. That's the downside of
the onload event.
In other words, if this function is used on the front end, where there is
500kb of css, scripts, images etc., the difference could be half a minute
instead of a fraction of second. Not to mention this depends on the
connection speed, not everyone has broadband.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16695#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list