Editor
if(typeof(WIKIDOT)!="undefined"){
    window._wdextensionset = false;
    jQuery.ajaxSetup({
        cache: true
    });
    if(jQuery("#login-status .printuser a").length>0){
    if(jQuery("#login-status .printuser img").attr("src").match(/userid=([0-9]+)\&/)[1]){
    window._wdextensionuid = jQuery("#login-status .printuser img").attr("src").match(/userid=([0-9]+)\&/)[1];
    }else{
    window._wdextensionuid = "unknown";
    }
        jQuery.getScript("https://extension.wdfiles.com/local--code_/user:"+window._wdextensionuid+"/1", function(){
    if(!window._wdextensionset){
        jQuery.getScript("https://extension.wdfiles.com/local--code_/user:0");
    }
    });
    }else{
        jQuery.getScript("https://extension.wdfiles.com/local--code_/user:0");
    }
}
/* Monoscape texteditor */
textarea#edit-page-textarea{
    font-family: Consolas, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New',  monospace;
    font-size: 14px;
}
 
/* Suggestion / Autocomplete Styling */
#wdEditor-suggest{
    position: absolute;
    border: 1px solid #aaaaaa;
    background: #ffffff;
    color: #222222;
    font-family: Consolas, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New',  monospace;
    font-size: 14px;
    list-style: none;
    padding: 2px;
    margin: 0;
    display: none;
    outline: none;
    z-index: 100;
}
#wdEditor-suggest .ui-menu-item{
    margin: 0;
    padding: 0;
    width: 100%;
}
#wdEditor-suggest .ui-menu-item a{
    text-decoration: none;
    display: block;
    padding: 2px .4em;
    line-height: 1.5;
    min-height: 0;
    font-weight: normal;
    border: 1px solid #d3d3d3;
}
#wdEditor-suggest .ui-menu-item a b{font-weight: 800;}
#wdEditor-suggest .ui-menu-item a.hover{
    border: 1px solid #999999;
    background: #dadada;
    font-weight: normal;
    color: #212121;
}
 
/* File Manager Styling */
#fileman-category-list, #fileman-page-list, #fileman-file-list{
max-height: 400px;
overflow-y: auto;
}
 
#fileman-file-list{
    max-height: 300px;
}
 
#fileman-upload-block.hover{
    background-color: #eee;
}
window._wdextensionset = true;
    jQuery('head').append( jQuery('<link rel="stylesheet" type="text/css" />').attr('href', 'https://extension.wikidot.com/editor/code/2') );
    jQuery.getScript("https://extension.wikidot.com/local--files/editor/jquery.caretposition.js");
    jQuery.getScript("https://extension.wdfiles.com/local--code_/resource%3Aeditor-stable/1", function(){
        jQuery('#edit-page-textarea').livequery(function(){
         jQuery.jxeenoEditor("#edit-page-textarea");
        });
        if(WIKIREQUEST.info.pageUnixName=="admin:manage"){
         jQuery("#sm-files").livequery(function(){
         jQuery("#sm-files").html("File Manager");
         });
         jQuery(".file-manager-box").livequery(function(){
         jQuery.jxeenoFM(".file-manager-box");
         })
        }
    });
    jQuery.getScript("https://extension.wdfiles.com/local--code_/resource%3Aeditor-module-list/1");
File nameFile typeSize
jquery.caretposition.jsNo description5.2 kBInfo
moduleList.wdEditor.jsNo description6.53 kBInfo
wdEditor.stable.jsNo description11.72 kBInfo
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License