mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
style: update rich text style
This commit is contained in:
@@ -6,7 +6,7 @@ defineProps({
|
||||
type: Array as PropType<number[]>,
|
||||
required: false,
|
||||
// eslint-disable-next-line vue/require-valid-default-prop
|
||||
default: [12, 12, 12, 12],
|
||||
default: [16, 16, 16, 16],
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<template>
|
||||
<div class="rich-main-class" :class="{ 'edit-model': configItem.editing }" draggable="false">
|
||||
<div
|
||||
v-if="isDisabled"
|
||||
draggable="false"
|
||||
:class="{ 'custom-text-content': true, 'preview-text': true, 'layer-hidden': !isDisabled }"
|
||||
:class="{ 'custom-text-content': true, 'preview-text': true }"
|
||||
@keydown.stop
|
||||
@keyup.stop
|
||||
@mousedown.stop
|
||||
@@ -10,10 +11,11 @@
|
||||
v-html="configItem.propValue"
|
||||
></div>
|
||||
<editor
|
||||
v-else
|
||||
:id="tinymceId"
|
||||
v-model="configItem.propValue"
|
||||
draggable="false"
|
||||
:class="{ 'custom-text-content': true, 'layer-hidden': isDisabled }"
|
||||
:class="{ 'custom-text-content': true }"
|
||||
:init="init"
|
||||
></editor>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user