diff --git a/public/react/src/common/quillForEditor/index.js b/public/react/src/common/quillForEditor/index.js index 718539de2..8dcf995f4 100644 --- a/public/react/src/common/quillForEditor/index.js +++ b/public/react/src/common/quillForEditor/index.js @@ -4,7 +4,7 @@ * @Github: * @Date: 2019-12-18 08:49:30 * @LastEditors: tangjiang - * @LastEditTime: 2019-12-20 15:55:50 + * @LastEditTime: 2019-12-20 16:07:37 */ import './index.scss'; import 'quill/dist/quill.core.css'; // 核心样式 @@ -66,7 +66,6 @@ function QuillForEditor ({ }, readOnly, placeholder, - scrollingContainer: '#editorContainer', theme: readOnly ? 'bubble' : 'snow' }; @@ -161,7 +160,7 @@ function QuillForEditor ({ // 返回结果 return ( -
+
); diff --git a/public/react/src/common/quillForEditor/index.scss b/public/react/src/common/quillForEditor/index.scss index aebcd8f6b..ca3071b58 100644 --- a/public/react/src/common/quillForEditor/index.scss +++ b/public/react/src/common/quillForEditor/index.scss @@ -1,5 +1,4 @@ .quill_editor_for_react_area{ - position: relative; .ql-editing{ left: 0 !important; } diff --git a/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/index.js b/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/index.js index b1bf28d55..bdf293ada 100644 --- a/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/index.js +++ b/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/index.js @@ -4,7 +4,7 @@ * @Github: * @Date: 2019-11-20 10:35:40 * @LastEditors: tangjiang - * @LastEditTime: 2019-12-19 20:16:32 + * @LastEditTime: 2019-12-20 16:12:02 */ import './index.scss'; // import 'katex/dist/katex.css'; @@ -310,7 +310,7 @@ class EditTab extends React.Component { >