更换编辑器

This commit is contained in:
2026-07-14 15:49:00 +08:00
parent 238f210d52
commit 4aa9204df7
26 changed files with 4341 additions and 2623 deletions
+6 -8
View File
@@ -44,7 +44,7 @@ body {
pointer-events: auto !important;
}
.wang-editor-wrapper{
.tiptap-editor-wrapper{
border: 1px solid #dcdfe6 !important;
.toolbar-container{
@@ -55,8 +55,7 @@ body {
background-color: #ffffff !important;
}
:deep(.w-e-text),
:deep(.w-e-text-container) {
:deep(.tiptap) {
background-color: transparent !important;
* {
@@ -245,14 +244,14 @@ body {
margin: 8px 0 !important;
}
.w-e-panel-tab-content {
.tiptap-panel-tab-content {
color: #1a1a2e !important;
}
}
}
html.dark {
.wang-editor-wrapper {
.tiptap-editor-wrapper {
border-color: #3d3d3d !important;
background-color: #1a1a1a !important;
@@ -273,8 +272,7 @@ html.dark {
}
}
:deep(.w-e-text),
:deep(.w-e-text-container) {
:deep(.tiptap) {
background-color: transparent !important;
* {
@@ -421,7 +419,7 @@ html.dark {
border-radius: 4px !important;
}
.w-e-panel-tab-content {
.tiptap-panel-tab-content {
color: #e0e0e0 !important;
}
}