Skip to content

RTL fixes for View and Edit in FileManager.pm#28

Merged
mgage merged 1 commit into
mgage:multilingualfrom
taniwallach:multilingual_filemanager_fixes
May 24, 2019
Merged

RTL fixes for View and Edit in FileManager.pm#28
mgage merged 1 commit into
mgage:multilingualfrom
taniwallach:multilingual_filemanager_fixes

Conversation

@taniwallach

Copy link
Copy Markdown

In FileManager.pm set the HTML dir(ection) attribute to "auto" in the <textarea> for "Edit" and in a (new) enveloping DIV around the <pre> for "View".

Then in courses whose primary language use the RTL text direction, lines which start in LTR languages (most of the lines in PG files, the set definition files, etc) will be left justified and formatted nicely.

Without this, all lines would be right justified based on the main dir="rtl" which applies to the entire HTML page for courses whose languages use the RTL direction.

textarea for "Edit" and in a (new) enveloping DIV around the <pre> for
"View". Then in courses whose primarly language used the RTL text
direction, lines which start in LTL languages (most of the lines in PG files,
the set definition files, etc) will be left justified and formatted nicely.
Without this, all lines would be right justified based on the main dir="rtl"
which applies to the entire HTML page.
@mgage

mgage commented May 24, 2019

Copy link
Copy Markdown
Owner

Thanks Tani.

@mgage mgage merged commit 969e091 into mgage:multilingual May 24, 2019
@taniwallach taniwallach deleted the multilingual_filemanager_fixes branch May 24, 2019 14:10
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.

2 participants