diff --git a/CHANGELOG.md b/CHANGELOG.md index cfc0dbcfb14a49ff953be6fa49214419f19ed2a5..1630108908ceb2fe632f49668d8d807fc9e73b49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - 添加移动端安全距离 - 表单分组样式调整 style2添加padding阴影 - 多数据视图引擎支持单选配置 +- 富文本提示信息样式调整 ### Added diff --git a/src/editor/html/quill-editor-preview/quill-editor-preview.scss b/src/editor/html/quill-editor-preview/quill-editor-preview.scss index 874fed9bcf4852482eb13650b3334190343af35e..6c4ba5ec1f56cae5e0411f9260ddc988a4b51be6 100644 --- a/src/editor/html/quill-editor-preview/quill-editor-preview.scss +++ b/src/editor/html/quill-editor-preview/quill-editor-preview.scss @@ -24,4 +24,13 @@ background-color: transparent; overflow: visible; } + + .ql-editor.ql-blank { + padding: 0; + &::before { + font-style: normal; + color: getCssVar('form-item', 'placeholder-color'); + left: 0; + } + } } \ No newline at end of file diff --git a/src/editor/html/quill-editor/quill-editor.scss b/src/editor/html/quill-editor/quill-editor.scss index c4f7b7496d760b1ec857fe1b36b94d45494ba8eb..c4b71840bda8f7dd3e7083a5270964f5a277b86e 100644 --- a/src/editor/html/quill-editor/quill-editor.scss +++ b/src/editor/html/quill-editor/quill-editor.scss @@ -37,14 +37,6 @@ height: 0; } } - .ql-editor.ql-blank { - padding: 0; - &::before { - font-style: normal; - color: getCssVar('form-item', 'placeholder-color'); - left: 0; - } - } // quill多语言特殊处理,后续补充多语言 @include m(zh-cn) { .ql-snow {