wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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: {
    italic: 'note-editor-theme_text-italic',
    strikethrough: 'note-editor-theme_text-strikethrough',
  },
}
 
export default theme