Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

monaco editor events

window.editor.getModel().onDidChangeContent( event => {
  console.log( event );
  console.log( window.editor.getValue() );
});

 
PREVIOUS NEXT
Tagged: #monaco #editor #events
ADD COMMENT
Topic
Name
8+1 =