You've already forked SmartisanNote.Remake
优化:移除编辑器中的无用样式
This commit is contained in:
@@ -1747,8 +1747,7 @@ defineExpose({
|
|||||||
line-height: var(--editor-line-height, 1.6);
|
line-height: var(--editor-line-height, 1.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.editor-content ul),
|
:deep(.editor-content ul) {
|
||||||
:deep(.editor-content ol) {
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -1766,23 +1765,6 @@ defineExpose({
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.editor-content em) {
|
|
||||||
color: var(--text-secondary);
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.editor-content u) {
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid var(--text-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.editor-content hr) {
|
|
||||||
border: none;
|
|
||||||
height: 1px;
|
|
||||||
background-color: var(--border);
|
|
||||||
margin: 0.75rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editor-content div[style*='text-align: center'] {
|
.editor-content div[style*='text-align: center'] {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user