DefaultEditorScript: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
 
Created page with "export default function(editor) { editor.on('ready', () => { }); editor.on('change', () => { }); editor.on('buildComplete', () => { }); editor.on('schemaLoaded', () => { }); editor.on('allSchemasLoaded', () => { }); }"
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:
     });
     });
}
}

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', () => {
   });

}