feat(editor): auto-detect text direction for RTL support

This commit is contained in:
Philipinho
2026-08-12 23:40:38 +01:00
parent db3ff54da1
commit 239df2b3a4
11 changed files with 19 additions and 2 deletions
@@ -249,6 +249,7 @@ function CollabPageEditor({
{
extensions,
editable,
textDirection: "auto",
immediatelyRender: true,
shouldRerenderOnTransaction: false,
editorProps: {
@@ -484,6 +485,7 @@ function StaticPageEditor({
<EditorProvider
editable={false}
immediatelyRender={true}
textDirection="auto"
extensions={mainExtensions}
content={content}
editorProps={{