feat: workflow add note node (#5164)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import type { EditorThemeClasses } from 'lexical'
|
||||
|
||||
import './theme.css'
|
||||
|
||||
const theme: EditorThemeClasses = {
|
||||
paragraph: 'note-editor-theme_paragraph',
|
||||
list: {
|
||||
ul: 'note-editor-theme_list-ul',
|
||||
listitem: 'note-editor-theme_list-li',
|
||||
},
|
||||
link: 'note-editor-theme_link',
|
||||
text: {
|
||||
strikethrough: 'note-editor-theme_text-strikethrough',
|
||||
},
|
||||
}
|
||||
|
||||
export default theme
|
@@ -0,0 +1,24 @@
|
||||
.note-editor-theme_paragraph {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.note-editor-theme_list-ul {
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.note-editor-theme_list-li {
|
||||
margin-left: 18px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.note-editor-theme_link {
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.note-editor-theme_text-strikethrough {
|
||||
text-decoration: line-through;
|
||||
}
|
Reference in New Issue
Block a user