Skip to content

Commit

Permalink
Merge pull request #3294 from ndNovaDev/patch-1
Browse files Browse the repository at this point in the history
fix extension.md
  • Loading branch information
jhchen authored Feb 27, 2021
2 parents 267d1d3 + 40f6d5b commit 9cf0285
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions docs/docs/api/extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,26 +104,3 @@ getModule(name: String): any
var toolbar = quill.getModule('toolbar');
```


### disable

Shorthand for [`enable(false)`](#enable).


### enable

Set ability for user to edit, via input devices like the mouse or keyboard. Does not affect capabilities of API calls.

**Methods**

```javascript
enable(value: Boolean = true)
```

**Examples**

```javascript
quill.enable();
quill.enable(false); // Disables user input
```

0 comments on commit 9cf0285

Please sign in to comment.