|
|
@ -136,11 +136,18 @@ watch(() => props.modelValue, (val) => { |
|
|
<style scoped> |
|
|
<style scoped> |
|
|
.quill-wrap { |
|
|
.quill-wrap { |
|
|
background: var(--ac-bg-card, #fff); |
|
|
background: var(--ac-bg-card, #fff); |
|
|
|
|
|
min-width: 0; |
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
overflow-x: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.quill-editor { |
|
|
.quill-editor { |
|
|
min-height: 400px; |
|
|
min-height: 400px; |
|
|
background: var(--ac-bg-card, #fff); |
|
|
background: var(--ac-bg-card, #fff); |
|
|
|
|
|
min-width: 0; |
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
overflow-x: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.code-lang-bar { |
|
|
.code-lang-bar { |
|
|
@ -178,6 +185,11 @@ watch(() => props.modelValue, (val) => { |
|
|
min-height: 400px; |
|
|
min-height: 400px; |
|
|
font-size: 16px; |
|
|
font-size: 16px; |
|
|
line-height: 1.8; |
|
|
line-height: 1.8; |
|
|
|
|
|
min-width: 0; |
|
|
|
|
|
overflow-x: auto; |
|
|
|
|
|
white-space: pre-wrap; |
|
|
|
|
|
word-break: break-word; |
|
|
|
|
|
overflow-wrap: anywhere; |
|
|
} |
|
|
} |
|
|
.quill-editor :deep(.ql-toolbar) { |
|
|
.quill-editor :deep(.ql-toolbar) { |
|
|
border-color: var(--ac-border); |
|
|
border-color: var(--ac-border); |
|
|
@ -185,6 +197,18 @@ watch(() => props.modelValue, (val) => { |
|
|
} |
|
|
} |
|
|
.quill-editor :deep(.ql-container) { |
|
|
.quill-editor :deep(.ql-container) { |
|
|
border-color: var(--ac-border); |
|
|
border-color: var(--ac-border); |
|
|
|
|
|
min-width: 0; |
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
overflow-x: auto; |
|
|
|
|
|
} |
|
|
|
|
|
.quill-editor :deep(.ql-code-block-container) { |
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
overflow-x: auto; |
|
|
|
|
|
white-space: pre; |
|
|
|
|
|
} |
|
|
|
|
|
.quill-editor :deep(.ql-code-block) { |
|
|
|
|
|
white-space: pre; |
|
|
|
|
|
word-break: normal; |
|
|
} |
|
|
} |
|
|
.quill-editor :deep(.ql-editor.ql-blank::before) { |
|
|
.quill-editor :deep(.ql-editor.ql-blank::before) { |
|
|
color: var(--ac-text-disabled); |
|
|
color: var(--ac-text-disabled); |
|
|
|