feat: add spell-check

This commit is contained in:
Steffen Becker committed 2026-06-18 23:34:45 +02:00
1 parent 69a68525f3
commit 0a35a65c83
16 files changed
+684 -7

No files matched your search

+12
View File
@@ -378,6 +378,13 @@
user-select: none;
}
/* Spell-check: red wavy underline under misspelled words (drawn by spellCheck.ts).
skip-ink:none keeps the wave continuous under descenders. */
.tiptap .pm-spell-error {
text-decoration: red wavy underline;
text-decoration-skip-ink: none;
}
/* Print styles: proper A4 pagination */
@media print {
.editor {
@@ -405,6 +412,11 @@
min-height: auto;
}
/* Squiggles are an editing aid, never printed. */
.tiptap .pm-spell-error {
text-decoration: none;
}
.paper .tiptap > *[data-page-break] {
margin-top: 0 !important;
page-break-before: always;