You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add in support for the non-React related parts of the editor. For Monaco we’ll need something that maps onto the API for that given a set of shortcuts we want to integrate.
// Invocation would be something like this:
addMonacoShortcuts(editor, {
[DELETE_ELEMENTS_SHORTCUT]: () => {
this.editorDispatch(deleteElements(this.selectedViews))
}
})
// Within addMonacoShortcuts for each shortcut something like this would be executed:
editor.addCommand(makeMonacoShortcut(shortcut.defaultShortcut), shortcutAction)
The text was updated successfully, but these errors were encountered:
Does this mean that we need to map every shortcut defined in the Monaco keybindings? Or the inverse - only map those non-Monaco shortcuts we want to work from within Monaco?
Add in support for the non-React related parts of the editor. For Monaco we’ll need something that maps onto the API for that given a set of shortcuts we want to integrate.
The text was updated successfully, but these errors were encountered: