Skip to content

Commit

Permalink
Fix ? and / propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hilger committed Aug 16, 2019
1 parent 6f7c0c2 commit e5624d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ export default {
new TableCell(),
new TableRow(),
],
editorProps: {
handleKeyDown: (editorView, keyboardEvent) => {
// Prevent ? or / from triggering Nova global search
keyboardEvent.stopPropagation();
}
}
});
this.editor.setContent(this.value);
Expand Down

0 comments on commit e5624d7

Please sign in to comment.