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