https://bugzilla.wikimedia.org/show_bug.cgi?id=21692

--- Comment #9 from Helder <mybugs.m...@gmail.com> ---
Thinking about this again, I was wondering if isn't possible to have a single
hook which is fired both by core/WikiEditor and by LQT, when the toolbar is
"ready to be customized", so the users just have to attach their
customizeToolbar's[1] only once?

Right now, it seems we would need both the
$(document).ready( customizeToolbar );
and the
mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );

[1]
https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization#Basic_setup

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to