From 27f7171569ce1543c9b3c27a28fbc585b3426ad6 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Thu, 24 Oct 2024 14:59:04 +0200 Subject: [PATCH] Register document --- packages/ui/src/components/editor/extentions/register.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/ui/src/components/editor/extentions/register.ts b/packages/ui/src/components/editor/extentions/register.ts index 194ee607b..5008dd080 100644 --- a/packages/ui/src/components/editor/extentions/register.ts +++ b/packages/ui/src/components/editor/extentions/register.ts @@ -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,