Skip to content

Commit

Permalink
Merge pull request #3221 from mashuDuek/patch-1
Browse files Browse the repository at this point in the history
Update keyboard.md
  • Loading branch information
jhchen authored Nov 12, 2020
2 parents 8ce3ee3 + 3e7e9c0 commit 54d6141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/modules/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Regex that must match the text immediately preceding the user's selection's star
// When the user types space...
quill.keyboard.addBinding({ key: ' ' }, {
collapsed: true,
format: { list: false }, // ...on an line that's not already a list
format: { list: false }, // ...on a line that's not already a list
prefix: /^-$/, // ...following a '-' character
offset: 1, // ...at the 1st position of the line,
// otherwise handler would trigger if the user
Expand Down

0 comments on commit 54d6141

Please sign in to comment.