/
while editing to trigger any command.Alt+Left/Right
.onLayoutReady
will now show a message to help debug.EditorSuggest
is now accessible to the API to provide in-line suggestions, like auto-complete. This is what powers the link auto-complete, tag auto-complete, and slash commands.Keymap
has now been exposed with isModEvent
to help check if the user is holding Ctrl/Cmd
or pressing the middle mouse button. This is used as a convention to "open in new pane".editor-change
fired when an editor has received changes. This event happens fairly frequently so please be mindful of performance when using it.editor-paste
fired before the editor handles a paste event. If you handle the paste event, you should call evt.preventDefault()
to let the next handler know that it's been handled.editor-drop
fired before the editor receives a drop event. Works the same was as the paste event.