Skip to content

Commit 99243bd

Browse files
modbendermodbender
modbender
authored and
modbender
committed
chore: lowlight example file
1 parent dd5c0eb commit 99243bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

playground/app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<TipTap />
3+
<TipTapLowlight />
44
</div>
55
</template>
66

playground/components/TipTapLowlight.client.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ const lowlight = TiptapcreateLowlight(Tiptapcommon);
130130
const editor = useEditor({
131131
content: "<p>I'm running Tiptap with Vue.js. 🎉</p>",
132132
extensions: [
133-
TiptapStarterKit,
133+
TiptapStarterKit.configure({
134+
codeBlock: false,
135+
}),
134136
TiptapCodeBlockLowlight.configure({
135137
lowlight,
136138
}),

0 commit comments

Comments
 (0)