mirror of
https://github.com/docmost/docmost.git
synced 2026-08-23 15:22:11 +10:00
feat(editor): auto-detect text direction for RTL support (#2389)
This commit is contained in:
@@ -103,6 +103,7 @@ const CommentEditor = forwardRef(
|
||||
},
|
||||
content: defaultContent,
|
||||
editable,
|
||||
textDirection: "auto",
|
||||
immediatelyRender: true,
|
||||
shouldRerenderOnTransaction: false,
|
||||
autofocus: (autofocus && "end") || false,
|
||||
|
||||
Reference in New Issue
Block a user