Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dir attribute in the html tag #69

Open
maxsivkov opened this issue Oct 10, 2023 · 1 comment
Open

Add dir attribute in the html tag #69

maxsivkov opened this issue Oct 10, 2023 · 1 comment

Comments

@maxsivkov
Copy link

To respect RTL languages keywind has to use dir HTML attribute
https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute

So the suggestion is to modify template.ftl with following

  <html <#if realm.internationalizationEnabled> lang="${locale.currentLanguageTag}"</#if> dir=auto>
@maxsivkov maxsivkov changed the title Add land and dir attributes in html tag Add dir attribute in the html tag Oct 10, 2023
@paulwer
Copy link
Contributor

paulwer commented Oct 23, 2023

hey @maxsivkov have you done a test yourself? feel free to PR this change <3

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

No branches or pull requests

2 participants