From 0ad9d915127055c385ed7ee390705be4f3e97d62 Mon Sep 17 00:00:00 2001 From: seaerchin <44049504+seaerchin@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:34:10 +0800 Subject: [PATCH] fix(preview): update overflow behaviour (#1742) --- src/layouts/EditPage/MarkdownEditPage.tsx | 2 +- src/layouts/LegacyEditPage.jsx | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/layouts/EditPage/MarkdownEditPage.tsx b/src/layouts/EditPage/MarkdownEditPage.tsx index caa9b7dd6..ee059671f 100644 --- a/src/layouts/EditPage/MarkdownEditPage.tsx +++ b/src/layouts/EditPage/MarkdownEditPage.tsx @@ -129,7 +129,7 @@ export const MarkdownEditPage = ({ togglePreview }: MarkdownPageProps) => { setEditorContent={(content: string) => setEditorValue(content)} shouldDisableSave={isAnyDrawerOpen} > - + diff --git a/src/layouts/LegacyEditPage.jsx b/src/layouts/LegacyEditPage.jsx index 41a5b3e84..5f25d50fc 100644 --- a/src/layouts/LegacyEditPage.jsx +++ b/src/layouts/LegacyEditPage.jsx @@ -97,13 +97,7 @@ const EditPage = ({ match }) => { setEditorContent={setEditorValue} > {/* Editor */} - + setEditorValue(value)}