From 5dedc2d6bc939b7ee732d687a3db85ba27318dea Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Fri, 8 Oct 2021 14:18:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?issue=E9=AB=98=E5=BA=A6=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Head/Footer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Head/Footer.jsx b/src/forge/Head/Footer.jsx index 568583ea..52c06858 100644 --- a/src/forge/Head/Footer.jsx +++ b/src/forge/Head/Footer.jsx @@ -19,7 +19,7 @@ function Footer(){ return(
-
+
{value && showhtml(value)} {/*
From fb058907019e00b64e62e48151010ec9a5d9901c Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Fri, 8 Oct 2021 16:42:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7issue=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Newfile/m_editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/forge/Newfile/m_editor.js b/src/forge/Newfile/m_editor.js index fd463608..967717c9 100644 --- a/src/forge/Newfile/m_editor.js +++ b/src/forge/Newfile/m_editor.js @@ -52,7 +52,6 @@ class m_editor extends Component { const handleEditorMount = (editor, monaco) => { editor.onDidChangeModelDecorations(() => { - updateEditorHeight(); // typing requestAnimationFrame(updateEditorHeight); // folding }); @@ -84,6 +83,8 @@ class m_editor extends Component { editor.layout(); } }; + + updateEditorHeight(); // typing };