refac/fix: rtl support
Co-Authored-By: lif <19658300+majiayu000@users.noreply.github.com>
This commit is contained in:
co-authored by
lif
parent
fdae5644e3
commit
b619a157bc
+2
-2
@@ -628,7 +628,7 @@ input[type='number'] {
|
|||||||
|
|
||||||
/* Table styling for tiptap editors */
|
/* Table styling for tiptap editors */
|
||||||
.tiptap table {
|
.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 {
|
.tiptap thead {
|
||||||
@@ -641,7 +641,7 @@ input[type='number'] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tiptap th {
|
.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 {
|
.tiptap td {
|
||||||
|
|||||||
@@ -750,7 +750,7 @@
|
|||||||
})
|
})
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
...(richText && showFormattingToolbar
|
...(richText && showFormattingToolbar
|
||||||
? [
|
? [
|
||||||
BubbleMenu.configure({
|
BubbleMenu.configure({
|
||||||
element: bubbleMenuElement,
|
element: bubbleMenuElement,
|
||||||
@@ -1179,5 +1179,6 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
bind:this={element}
|
bind:this={element}
|
||||||
|
dir="auto"
|
||||||
class="relative w-full min-w-full {className} {!editable ? 'cursor-not-allowed' : ''}"
|
class="relative w-full min-w-full {className} {!editable ? 'cursor-not-allowed' : ''}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user