When Arabic needs to be copied from word to a CuteEditor (e.g Custom Communications page), I have found that the Arabic can look correct in the CuteEditor as below.
A problem arises when an email letter needs to be generated from this text (e.g. custom covering letter), and the Arabic words in a sentence are in reverse order where the first word is last and the last word is first and so on. This is demonstrated in the emailed letter below, which consists of the words above in the reverse order.
After further investigation of the HTML used to generate the email, it can be seen that HTML for the Arabic sentence contained <span> tags for each individual word, each individually right aligned. Since Arabic is Written and aligned from the right, there is a need for the words to be right aligned, but because they were individually aligned this caused the sentence to be formed incorrectly.
Trying to correct this is not user friendly and is making it very difficult when trying to format Arabic writing for use with emails from the CuteEditor. I have currently used a 'work around' of removing all but one <span> tag, and just copying the complete sentence into the single tag.
After the change, the resulting email came back as below, which is in the correct order. This is something that needs looking at as this will encourage future errors, is frustrating and NOT user friendly.
Please sign in to leave a comment.