Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: add back line through for checked items

Abdullah Attacc9b2dd5b0b2
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index 92e74d5da..1ebbd8d06 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -698,6 +698,11 @@ p > *::selection {
mask-size: cover;
}
+.simple-checklist > li.checked > p {
+ opacity: 0.8;
+ text-decoration-line: line-through;
+}
+
/* Callout */
.ProseMirror div.callout {
padding: 15px;