Skip to content

Commit

Permalink
Register document
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Oct 24, 2024
1 parent d195aa9 commit 27f7171
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ui/src/components/editor/extentions/register.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
// You can find the list of extensions here: https://tiptap.dev/docs/editor/extensions/functionality

import Document from "@tiptap/extension-document";
import Link from "@tiptap/extension-link";
import Paragraph from "@tiptap/extension-paragraph";
import Placeholder from "@tiptap/extension-placeholder";
import Text from "@tiptap/extension-text";
import Underline from "@tiptap/extension-underline";
import StarterKit from "@tiptap/starter-kit";

// Add your extensions here
export const extensions = [
StarterKit,
Paragraph,
Document,
Text,
Underline,
Placeholder.configure({ placeholder: "Write something..." }),
Link.configure({
openOnClick: false,
Expand Down

0 comments on commit 27f7171

Please sign in to comment.