From b619a157bc54c5bc44d223d2ae3acb9ce4ac6a6c Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 1 Jan 2026 01:58:53 +0400 Subject: [PATCH] refac/fix: rtl support Co-Authored-By: lif <19658300+majiayu000@users.noreply.github.com> --- src/app.css | 4 ++-- src/lib/components/common/RichTextInput.svelte | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app.css b/src/app.css index 897dbdc3b7..8d2d6972f4 100644 --- a/src/app.css +++ b/src/app.css @@ -628,7 +628,7 @@ input[type='number'] { /* Table styling for tiptap editors */ .tiptap table { - @apply w-full text-sm text-left text-gray-500 dark:text-gray-400 max-w-full; + @apply w-full text-sm text-start text-gray-500 dark:text-gray-400 max-w-full; } .tiptap thead { @@ -641,7 +641,7 @@ input[type='number'] { } .tiptap th { - @apply cursor-pointer text-left text-xs text-gray-700 dark:text-gray-400 font-semibold uppercase bg-gray-50 dark:bg-gray-850; + @apply cursor-pointer text-start text-xs text-gray-700 dark:text-gray-400 font-semibold uppercase bg-gray-50 dark:bg-gray-850; } .tiptap td { diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 688eb289e6..f7447551f8 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -750,7 +750,7 @@ }) ] : []), - ...(richText && showFormattingToolbar + ...(richText && showFormattingToolbar ? [ BubbleMenu.configure({ element: bubbleMenuElement, @@ -1179,5 +1179,6 @@