From bcbfd72eeb5fc124c181f2b0816b5fb26c4e7504 Mon Sep 17 00:00:00 2001 From: sibiraj-s Date: Fri, 19 Feb 2021 19:52:49 +0530 Subject: [PATCH] docs: update migration guide --- docs/migration-7-8.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/migration-7-8.md b/docs/migration-7-8.md index 3804ebc1..0518941e 100644 --- a/docs/migration-7-8.md +++ b/docs/migration-7-8.md @@ -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 ```