From 80bba93d3dffa51022ab1b9ed421462851df0340 Mon Sep 17 00:00:00 2001 From: Kento Moriwaki Date: Mon, 27 Mar 2023 22:43:02 +0900 Subject: [PATCH] Fixing reoccurring issue #3331 and improving related PR #3533 (#3862) * Add custom paragraph example * Remove unnecessary queueMicrotask --- src/EditorContent.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/EditorContent.tsx b/src/EditorContent.tsx index 9f159c5190..0a7ea77323 100644 --- a/src/EditorContent.tsx +++ b/src/EditorContent.tsx @@ -75,9 +75,7 @@ export class PureEditorContent extends React.Component { - flushSync(fn) - }) + flushSync(fn) } else { fn() }