smartIt,
that class on the paragraph is not something supported by facebook instant articles, it is just a relic of the the class that wordpress uses to support rtl text.
Unfortunately instant articles only support rtl at article level:
https://developers.facebook.com/docs/instant-articles/reference/article
so I am niot sure what I can do if you want to support both left to right and right to left in the same article?
Any ideas, i am happy to look at it if you only want it at article level but I don’t want to add an extra field per article.
Hi,
Thank you for your help, I solved the problem by adding manually dir=”rtl” to the html tag, now the text is displaying properly
Is there a way to add this tag automatically with the plugin ? I Don’t know if this is related https://github.com/facebook/facebook-instant-articles-sdk-php/issues/175
The question is how would the wife see determine if the article is right to left?
I really don’t want to add an option to every post, and some sites (like yours) have an official language fr-fr (French I think). Which is left to right but have occasional right to left articles.
A per post option is overkill and ugly so I’m reluctant to do that but I can’t think of anything else? Your thoughts?
Pete
I understand your point of view here, maybe a checkbox in general settings to activate rtl dir option per post, so the majority of users who doesn’t use rtl don’t get bothered by an unnecessary option in every post.
-
This reply was modified 8 years, 10 months ago by
smartIt.
Good idea I’ll add that to my roadmap, might be a month or so though.
Resolving this for good order, it will still be monitored though.