修复富文本空格和缩进保存后不生效问题&删除重复的placeholder

pull/15/head
RuoYi 4 years ago
parent 7d94113d24
commit 6bd7e183f6

@ -66,7 +66,6 @@ export default {
content: this.value, content: this.value,
uploadImgUrl: "", uploadImgUrl: "",
editorOption: { editorOption: {
placeholder: "",
theme: "snow", // or 'bubble' theme: "snow", // or 'bubble'
placeholder: "请输入内容", placeholder: "请输入内容",
modules: { modules: {
@ -146,6 +145,7 @@ export default {
<style> <style>
.editor { .editor {
white-space: pre-wrap!important;
line-height: normal !important; line-height: normal !important;
height: 192px; height: 192px;
} }

Loading…
Cancel
Save