refac/fix: rtl support

Co-Authored-By: lif <19658300+majiayu000@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2026-01-01 01:58:53 +04:00
parent fdae5644e3
commit b619a157bc
2 changed files with 4 additions and 3 deletions

View File

@@ -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 {

View File

@@ -750,7 +750,7 @@
})
]
: []),
...(richText && showFormattingToolbar
...(richText && showFormattingToolbar
? [
BubbleMenu.configure({
element: bubbleMenuElement,
@@ -1179,5 +1179,6 @@
<div
bind:this={element}
dir="auto"
class="relative w-full min-w-full {className} {!editable ? 'cursor-not-allowed' : ''}"
/>