From 4de326cc3c1d5f7be1b58ee876613cb3460ea766 Mon Sep 17 00:00:00 2001 From: TeerapatChan Date: Thu, 2 Oct 2025 13:19:22 +0700 Subject: [PATCH 1/4] fix: richText height --- .../compound/editor/components/rich-text-provider.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx b/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx index 084f8c28..6ccffc75 100644 --- a/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx +++ b/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx @@ -29,7 +29,13 @@ export function EditorProvider({ {slotBefore} - {() => } + {() => ( + + )} {children} {slotAfter} From 8806e174bacfcb7268932a9a97abfd9275d1f2df Mon Sep 17 00:00:00 2001 From: TeerapatChan Date: Thu, 2 Oct 2025 13:19:29 +0700 Subject: [PATCH 2/4] fix: richText resize --- .../components/compound/editor/components/rich-text-editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/react/components/compound/editor/components/rich-text-editor.tsx b/packages/react/src/react/components/compound/editor/components/rich-text-editor.tsx index 2649aad3..5dd8bd21 100644 --- a/packages/react/src/react/components/compound/editor/components/rich-text-editor.tsx +++ b/packages/react/src/react/components/compound/editor/components/rich-text-editor.tsx @@ -51,7 +51,7 @@ export const RichTextEditor = (props: RichTextEditorProps) => { isDisabled={props.isDisabled} isInvalid={isInvalid} data-loading={props.isPending ? 'true' : undefined} - className="overflow-auto relative resize-x" + className="overflow-auto relative resize-none w-full" >
Date: Thu, 2 Oct 2025 16:04:58 +0700 Subject: [PATCH 3/4] feat: className props for richText --- .../compound/editor/components/rich-text-provider.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx b/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx index 6ccffc75..c94de9bc 100644 --- a/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx +++ b/packages/react/src/react/components/compound/editor/components/rich-text-provider.tsx @@ -7,6 +7,8 @@ import { useEditor, } from '@tiptap/react' +import { cn } from '../../../../utils/cn' + interface EditorProviderPropsWithEditor extends EditorProviderProps { editor?: Editor | null } @@ -32,8 +34,8 @@ export function EditorProvider({ {() => ( )} From e5eb01cf587d733d4da00fb3a08d1887871dac80 Mon Sep 17 00:00:00 2001 From: Benz <105777142+TeerapatChan@users.noreply.github.com> Date: Thu, 2 Oct 2025 16:12:57 +0700 Subject: [PATCH 4/4] Create tall-carrots-clap.md --- .changeset/tall-carrots-clap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tall-carrots-clap.md diff --git a/.changeset/tall-carrots-clap.md b/.changeset/tall-carrots-clap.md new file mode 100644 index 00000000..8289d7dd --- /dev/null +++ b/.changeset/tall-carrots-clap.md @@ -0,0 +1,5 @@ +--- +"@genseki/react": patch +--- + +fix: richText height and resizeable