mirror of
https://github.com/docmost/docmost.git
synced 2026-08-24 06:52:14 +10:00
feat(editor): auto-detect text direction for RTL support (#2389)
This commit is contained in:
@@ -41,6 +41,7 @@ export default function ReadonlyTemplateEditor({
|
||||
<EditorProvider
|
||||
editable={false}
|
||||
immediatelyRender={true}
|
||||
textDirection="auto"
|
||||
extensions={extensions}
|
||||
content={template.content}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user