From 3f792fe32125e181557bf0980bcc39872bebc6d1 Mon Sep 17 00:00:00 2001 From: Yashita Date: Thu, 16 Feb 2023 18:36:22 +0530 Subject: [PATCH] Update auto.js --- src/OnboardingSPA/components/LivePreview/BlockPreview/auto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OnboardingSPA/components/LivePreview/BlockPreview/auto.js b/src/OnboardingSPA/components/LivePreview/BlockPreview/auto.js index 28a318bb4..f522e43dc 100644 --- a/src/OnboardingSPA/components/LivePreview/BlockPreview/auto.js +++ b/src/OnboardingSPA/components/LivePreview/BlockPreview/auto.js @@ -83,6 +83,7 @@ function AutoBlockPreview( { bodyElement.style.boxSizing = 'border-box'; bodyElement.style.position = 'absolute'; bodyElement.style.width = '100%'; + bodyElement.spellcheck = 0; }, [] ) } aria-hidden tabIndex={ -1 } @@ -99,7 +100,6 @@ function AutoBlockPreview( { ? __experimentalMinHeight / scale : __experimentalMinHeight, } } - spellcheck="false" > { contentResizeListener } {