diff --git a/confiture-web-app/src/components/ui/Tiptap.vue b/confiture-web-app/src/components/ui/Tiptap.vue index ca5909c4..6a4bef9b 100644 --- a/confiture-web-app/src/components/ui/Tiptap.vue +++ b/confiture-web-app/src/components/ui/Tiptap.vue @@ -43,7 +43,7 @@ function getContent() { const editor = useEditor({ content: getContent(), extensions: [ - CodeBlockLowlight.configure({ lowlight }), + CodeBlockLowlight.configure({ lowlight, defaultLanguage: "html" }), Highlight, Heading.configure({ levels: [2, 3, 4, 5, 6]