From 2ba70c2fdf6d99ffb915d14eafc16187fb56f45b Mon Sep 17 00:00:00 2001 From: Yaacov Date: Fri, 16 Aug 2024 19:48:01 +0200 Subject: [PATCH] Set default code block language to html --- confiture-web-app/src/components/ui/Tiptap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]