DefaultEditorScript: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
 
Admin changed the content model of the page MediaWiki:DefaultEditorScript from "wikitext" to "JavaScript"
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
export default function( editor, config, updateEditorCallBack ) {
export default function(editor) {
     editor.on('ready', () => {
     editor.on('ready', () => {


// use updateEditorCallBack(newConfig) to reload the editor
     });
     });
      
      
Line 21: Line 20:
     });
     });
}
}

Latest revision as of 09:37, 9 April 2026

export default function(editor) {
    editor.on('ready', () => {

    });
    
    editor.on('change', () => {

    });

    editor.on('buildComplete', () => {

    });
    
    editor.on('schemaLoaded', () => {

    });
    
    editor.on('allSchemasLoaded', () => {

    });
}