Skip to content

Commit

Permalink
docs: update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Feb 19, 2021
1 parent 0002cba commit bcbfd72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/migration-7-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,13 @@ Alternatively you can use the props on the editor component for the same
const editor = new Editor({});

editor.enable(); // enable edititng

editor.disable(); // disable editing
```

**After:**

Set the enabled prop to `true` or `false` to enable/disable the editor.

```html
<ngx-editor [editor]="editor" enabled="true"></ngx-editor>
```
Expand Down

0 comments on commit bcbfd72

Please sign in to comment.