Umbraco Rich Text Editor Color change doesn't work on arabic text

I am using Umbraco 16 and whenever the text is all English I can change the color of words that are in the middle of the text without a problem but when the rich text editor has any Arabic words it becomes really buggy and doesn’t work at all