fix: note editor italic (#5230)

This commit is contained in:
zxhlyh 2024-06-14 22:31:39 +08:00 committed by GitHub
parent bc757f1ddc
commit 6be0027853
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const theme: EditorThemeClasses = {
}, },
link: 'note-editor-theme_link', link: 'note-editor-theme_link',
text: { text: {
italic: 'note-editor-theme_text-italic',
strikethrough: 'note-editor-theme_text-strikethrough', strikethrough: 'note-editor-theme_text-strikethrough',
}, },
} }

View File

@ -22,3 +22,7 @@
.note-editor-theme_text-strikethrough { .note-editor-theme_text-strikethrough {
text-decoration: line-through; text-decoration: line-through;
} }
.note-editor-theme_text-italic {
font-style: italic;
}