I've come across 3x RTL bugs in my RTL adventures.
1) Rich Text field
If you toggle RTL button in the Rich Text Configuration after the custom type has already been created / saved, it will not update. The only way to add or remove RTL button to the editor is via the JSON Editor.
2) Unordered / Ordered Lists do not update with RTL
When editing a page, if you have lists they will not flip and display correctly when you have the content defined as RTL inside them. The bullets are still on the left side, when they should be on the right side. And the text is still left aligned, when it should be right aligned. For a non Arabic reader it's very difficult to tell if the text has been correctly RTL applied or not, when you highlight and click the RTL button. Especially if there isn't any full stops or punctuation at the end of the sentence.
If moving the bullets is too much trouble, could you possibly just even change the text-align and text-direction please? That way it would be much more usable for RTL users : )
3) RTL button in WYSIWYG editor toolbar does have an active state
I realise it may be obvious that a block element is RTL visually, but it would still be nice to have the toolbar button display feedback to show if that element has RTL applied to it or not. Only because sometimes when you copy and paste content from word docs it copies the p tag with it, that may already contain RTL css. So it could be confusing to know if the RTL is being applied from the pasted html (bad way), or from the prismic WYSIWYG editor (proper way).
Follow up to point 2) Lists not updatable with RTL button.
Even if you apply the RTL formatting to list items individually, after you save this is lost. As you can see from the image below, the dir=“rtl” attribute is removed after save / reload from the
within the
/
Do you think this could this be fixed easily? I can see this being a bit of a problem for our content editors, as we have multiple RTL languages, and it would be weird switching from RTL to LTR within a single content block.
Does team Prismic have any plans on fixing these bugs in the near future?
It would be very handy to know, as we plan on supporting a lot more languages with RTL, and the editor needs a little bit of work until it could be considered truly ‘RTL friendly / compatible’
Hi @tim, thanks for providing this feedback to us. I will pass this along to the @Prismic-Dev-Team and @features-team to look into. They will let you know what they find when they look into this.
1 Like
Fares
closed , flag & select 'Something Else' to reopen.
5
This is being tracked as an open feature request.
If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the button to show your support for the feature and check out our Feature Request Guidelines.
This is a known issue that we are tracking here. It's in the dev teams next round of issues to be worked on, so we will be working to fix this in the coming weeks.
Hi, I have the same issue. We are trying to add Arabic copy, even though it is right aligned in the CMS but shows as left aligned when the page is published. How can we fix this?