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

right to left content not appearing right to left when published #32

Open
bizzbizz opened this issue Nov 30, 2018 · 2 comments
Open

right to left content not appearing right to left when published #32

bizzbizz opened this issue Nov 30, 2018 · 2 comments

Comments

@bizzbizz
Copy link

right to left text still appear left to right after publishing

@augnustin
Copy link
Owner

Hi @bizzbizz

Can you send a document example so I can investigate?

Best

@bizzbizz
Copy link
Author

bizzbizz commented Dec 5, 2018

I found out that this may be a google doc's bug (regarding the dir and textAlignment functionality) and makes the original content with dir=rtl and text-align=right appear in the published page as dir=rtl and text-align=left. (I think internally somehow RTL makes text-align functionality inverse)

Now if I want my content to be published correctly I'd have to reverse the text-align in the editor. sigh!

Here's a published sample from google docs

the last two lines were originally dir=rtl and text-align=right in the editor. but as you see, are shown as left to right.

moreover, the alignment of some of the other lines is not correct.

This is how it looks like in the editor

I'm not sure when google will fix this bug so feel free to close this issue if you want.

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