Skip to content

Commit

Permalink
disable shift enter in table
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Jul 2, 2018
1 parent 57fb1ed commit 5aea82b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_data/guides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
url: /guides/designing-the-delta-format/
- title: Comparison with Other Rich Text Editors
url: /guides/comparison-with-other-rich-text-editors/
- title: Upgrading to 2.0
url: /guides/upgrading-to-2-0/
- title: Upgrading to 1.0
url: /guides/upgrading-to-1-0/
1 change: 1 addition & 0 deletions modules/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ Keyboard.DEFAULTS = {
},
'table enter': {
key: 'Enter',
shiftKey: null,
format: ['table'],
handler(range) {
const module = this.quill.getModule('table');
Expand Down

0 comments on commit 5aea82b

Please sign in to comment.