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, <[email protected]> wrote:

> [email protected] 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
> [email protected]
> https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.wikimedia.org/mailman/listinfo/wikitech-l>
>



-- 
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to