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

This commit is contained in:
Philip Okugbe
2026-08-12 23:48:03 +01:00
committed by GitHub
parent db3ff54da1
commit ea59912c7e
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={{