fix local markdown attachment regressions

This commit is contained in:
lix-2026
2026-05-29 11:13:05 +08:00
parent 1109e3c0d8
commit cbe789e034
63 changed files with 3249 additions and 1502 deletions
+16 -2
View File
@@ -2011,12 +2011,20 @@ body {
text-decoration: none !important;
}
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"] {
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"],
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-missing {
color: #9f1239 !important;
background: #fff1f2 !important;
box-shadow: inset 0 0 0 1px #fecdd3 !important;
}
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-unauthorized="true"],
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-unauthorized {
color: #92400e !important;
background: #fffbeb !important;
box-shadow: inset 0 0 0 1px #fde68a !important;
}
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-row::before,
.document-shell .editor-surface .ProseMirror a[href*="/api/local-folder/files/open"]::before {
content: "" !important;
@@ -2029,10 +2037,16 @@ body {
box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
}
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"]::before {
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"]::before,
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-missing::before {
background: #e11d48 !important;
}
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-unauthorized="true"]::before,
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-unauthorized::before {
background: #d97706 !important;
}
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-word::before {
background: #4f7df3;
}