Skip to content

Commit

Permalink
fix: revert code for both codeblocks to be available
Browse files Browse the repository at this point in the history
  • Loading branch information
modbender authored and modbender committed Dec 12, 2023
1 parent 41d48d0 commit 7728aa7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src/imports/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const defaultNodes = [
{ name: "BulletList", path: "@tiptap/extension-bullet-list" },
{ name: "OrderedList", path: "@tiptap/extension-ordered-list" },
{ name: "ListItem", path: "@tiptap/extension-list-item" },
{ name: "CodeBlock", path: "@tiptap/extension-code-block" },
{ name: "Document", path: "@tiptap/extension-document" },
{ name: "HardBreak", path: "@tiptap/extension-hard-break" },
{ name: "Heading", path: "@tiptap/extension-heading" },
Expand Down
4 changes: 0 additions & 4 deletions src/imports/optional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ export const lowlightImports = [
{ name: "createLowlight", path: "lowlight" },
{ name: "CodeBlockLowlight", path: "@tiptap/extension-code-block-lowlight" },
];

export const defaultCodeImports = [
{ name: "CodeBlock", path: "@tiptap/extension-code-block" },
];

0 comments on commit 7728aa7

Please sign in to comment.