style:优化字体图标和样式
- 更新移动设备字体图标- 调整公共样式,包括开关、表格、blockquote等- 优化代码高亮样式- 添加新的字体图标样式
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<div ref="editor" :contenteditable="active" class="van-field" v-html="modelValue"></div>
|
||||
<p
|
||||
ref="editor"
|
||||
:contenteditable="active"
|
||||
class="van-field"
|
||||
:class="className"
|
||||
v-html="modelValue"
|
||||
></p>
|
||||
<div v-if="showAction && active" ref="editorAction" class="editor-action">
|
||||
<button v-for="item in actions" :key="item.name" @click="funEvent(item, $event)">
|
||||
{{ item.label }}
|
||||
@@ -15,6 +21,10 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
className: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
active: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
||||
Reference in New Issue
Block a user