Jump to content

MediaWiki:DefaultEditorScript

From Wikiyouth

export default function( editor, config, updateEditorCallBack ) {

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

// use updateEditorCallBack(newConfig) to reload the editor

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

}