fix: note editor italic (#5230)
This commit is contained in:
parent
bc757f1ddc
commit
6be0027853
2 changed files with 5 additions and 0 deletions
|
|
@ -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',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,8 @@
|
||||||
|
|
||||||
.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;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue