Skip to content

Commit

Permalink
clearer language (slab#2456)
Browse files Browse the repository at this point in the history
* clearer language

* add back parameter
  • Loading branch information
philraj authored and jhchen committed Jan 30, 2019
1 parent 3ef06f2 commit 56bd4bf
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 @@ -104,7 +104,7 @@ quill.keyboard.addBinding({ key: Keyboard.keys.ENTER }, {

#### format

When an Array, handler will be called if *any* of the specified formats are active. When an Object, *all* specified formats conditions must be met. In either case, the context parameter will be an Object of all current active formats, the same returned by `quill.getFormat()`.
When an Array, handler will be called if *any* of the specified formats are active. When an Object, *all* specified formats conditions must be met. In either case, the format property of the context parameter will be an Object of all current active formats, the same returned by `quill.getFormat()`.

```js
var context = {
Expand Down

0 comments on commit 56bd4bf

Please sign in to comment.