I’m attempting to translate formatted text (Rich Text) using Google Translate while retaining styles like Bold, Italic, Underline, and Links. I’ve tried using both embedding tags and elements, but the styles aren’t maintained. Could someone provide assistance with achieving this?
(https://i.sstatic.net/mL2y85rD.png)
Rich text-structure
When using style specific tags, google translate discards the tag in some cases which cause an exception.
On other hand, using span and inline styles, its impossible to nest the styles.
Thanks 🙂
React_use_19 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.