style:优化字体图标和样式

- 更新移动设备字体图标- 调整公共样式,包括开关、表格、blockquote等- 优化代码高亮样式- 添加新的字体图标样式
This commit is contained in:
陈昱达
2025-03-15 16:17:58 +08:00
parent e81a3a4bfe
commit 4bf37ae4da
56 changed files with 857 additions and 754 deletions

View File

@@ -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