feat(editor): add code highlighting
This commit is contained in:
parent
beefc1d5ef
commit
d75a963d08
@ -263,11 +263,9 @@ const editor = useEditor({
|
||||
// // character count
|
||||
// CharacterCount,
|
||||
|
||||
// CodeBlockLowlight.extend({
|
||||
// addNodeView() {
|
||||
// return VueNodeViewRenderer(CodeBlock)
|
||||
// },
|
||||
// }).configure({ lowlight }),
|
||||
CodeBlockLowlight.configure({
|
||||
lowlight,
|
||||
}),
|
||||
|
||||
Commands.configure({
|
||||
suggestion: suggestionSetup(t),
|
||||
|
Loading…
x
Reference in New Issue
Block a user