Skip to content

Commit 7728aa7

Browse files
modbendermodbender
modbender
authored and
modbender
committed
fix: revert code for both codeblocks to be available
1 parent 41d48d0 commit 7728aa7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/imports/defaults.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const defaultNodes = [
88
{ name: "BulletList", path: "@tiptap/extension-bullet-list" },
99
{ name: "OrderedList", path: "@tiptap/extension-ordered-list" },
1010
{ name: "ListItem", path: "@tiptap/extension-list-item" },
11+
{ name: "CodeBlock", path: "@tiptap/extension-code-block" },
1112
{ name: "Document", path: "@tiptap/extension-document" },
1213
{ name: "HardBreak", path: "@tiptap/extension-hard-break" },
1314
{ name: "Heading", path: "@tiptap/extension-heading" },

src/imports/optional.ts

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ export const lowlightImports = [
44
{ name: "createLowlight", path: "lowlight" },
55
{ name: "CodeBlockLowlight", path: "@tiptap/extension-code-block-lowlight" },
66
];
7-
8-
export const defaultCodeImports = [
9-
{ name: "CodeBlock", path: "@tiptap/extension-code-block" },
10-
];

0 commit comments

Comments
 (0)