feat: add spell-check
This commit is contained in:
1 parent
69a68525f3
commit
0a35a65c83
16 files changed
+684
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user