Yeah, having it activate when the relevant element loads instead of the
entire page would probably help a lot with that.
On 16/02/2013 14:20, Paul Selitskas wrote:
WikiEditor is initialized when the 'ready'
event is fired in JavaScript:
/extensions/WikiEditor/modules/ext.wikiEditor.js:
$( document ).ready( function() {
// Initialize wikiEditor
$( '#wpTextbox1' ).wikiEditor();
} );
First we need to find out when is the right moment to initialize
WikiEditor, that being said when all needed modules are done. I'm not sure
if using mw.loader.using instead of $( document ).ready() helps to fix the
issue a lot. Well, I may be wrong :)
On Sat, Feb 16, 2013 at 11:59 PM, <vitalif(a)yourcmc.ru> wrote:
vitalif(a)yourcmc.ru wrote 2013-02-14 21:38:
Hello Wiki Developers!
I have a question: I think it's slightly
annoying that WikiEditor
shows up only some moment after the editing page loads and that the
textarea gets moved down (because WikiEditor is only built dynamically
via JS).
Do you think it's possible to cache the generated WikiEditor HTML
code in some way to speed up loading?
Anyone?
______________________________**_________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.…