Skip to content

Commit 660c5be

Browse files
committed
fix: add dir="auto" to RichTextInput for RTL detection
1 parent 9d683e5 commit 660c5be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/components/common/RichTextInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@
937937
}
938938
},
939939
editorProps: {
940-
attributes: { id },
940+
attributes: { id, dir: 'auto' },
941941
handleDrop: (view, event) => {
942942
// Intercept sidebar chat item drops to prevent ProseMirror
943943
// from inserting the raw JSON as text. The actual handling

0 commit comments

Comments
 (0)