Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: add text style extension to tip tap editor

Brad Barbin0959141d0f49
diff --git a/packages/react/src/Editor/Editor.tsx b/packages/react/src/Editor/Editor.tsx
index c38eeef5aa..fd2622cd1d 100644
--- a/packages/react/src/Editor/Editor.tsx
+++ b/packages/react/src/Editor/Editor.tsx
@@ -1,5 +1,6 @@
"use client";
+import TextStyle from "@tiptap/extension-text-style";
import type { JSONContent } from "novel";
import {
EditorBubble,
@@ -80,6 +81,8 @@ const Editor = ({
const extensions = useMemo(
() => [
...defaultExtensions,
+ TextStyle,
+
Command.configure({
suggestion: {
items: () => suggestionItems,