diff --git a/console/packages/editor/src/extensions/index.ts b/console/packages/editor/src/extensions/index.ts index a0229802a3..f2c6bff202 100644 --- a/console/packages/editor/src/extensions/index.ts +++ b/console/packages/editor/src/extensions/index.ts @@ -15,6 +15,7 @@ import ExtensionOrderedList from "./ordered-list"; import ExtensionTaskList from "./task-list"; import ExtensionTable from "./table"; import ExtensionTextAlign from "./text-align"; +import ExtensionTextStyle from "@tiptap/extension-text-style"; import ExtensionLink from "./link"; import ExtensionColor from "./color"; import ExtensionFontSize from "./font-size"; @@ -23,6 +24,7 @@ import ExtensionGapcursor from "@tiptap/extension-gapcursor"; import ExtensionHardBreak from "@tiptap/extension-hard-break"; import ExtensionHorizontalRule from "@tiptap/extension-horizontal-rule"; import ExtensionDocument from "@tiptap/extension-document"; +import ExtensionParagraph from "./paragraph"; import ExtensionPlaceholder from "@tiptap/extension-placeholder"; import { i18n } from "@/locales"; @@ -118,10 +120,12 @@ export { ExtensionTaskList, ExtensionLink, ExtensionTextAlign, + ExtensionTextStyle, ExtensionUnderline, ExtensionTable, ExtensionSubscript, ExtensionSuperscript, + ExtensionParagraph, ExtensionPlaceholder, ExtensionHighlight, ExtensionCommands, diff --git a/console/packages/editor/src/index.ts b/console/packages/editor/src/index.ts index db3bc68cc1..c33012e06a 100644 --- a/console/packages/editor/src/index.ts +++ b/console/packages/editor/src/index.ts @@ -17,3 +17,4 @@ export default plugin; export * from "./tiptap"; export * from "./extensions"; export * from "./components"; +export * from "./utils";