Skip to content

Allow specifying rtl in both page and layout#5460

Open
neveler wants to merge 5 commits intommistakes:masterfrom
neveler:patch-2
Open

Allow specifying rtl in both page and layout#5460
neveler wants to merge 5 commits intommistakes:masterfrom
neveler:patch-2

Conversation

@neveler
Copy link
Copy Markdown
Contributor

@neveler neveler commented Mar 21, 2026

This is an enhancement or feature.

Summary

Allow specifying rtl in both page and layout.

---
title: xxx
locale: ar
direction: rtl
---

xxx

Move the dir attribute from the body to the html.

var isRTL = document.documentElement.getAttribute("dir") === "rtl";

@neveler neveler changed the title Patch 2 Allow specifying rtl in both page and layout Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant