I have text editor component which has combination of different text like Bold, Italic, Underline. Whenever i enter value with combination text Bold, Italic, Underline, i am getting below text html format.
For now i haven’t use combination of Bold, Italic, Underline. It’s just normal text
actualResponse = {
textHtml: “<textformat leading="3"><p align="LEFT">Normal Text</p></textformat>”
}
The above response need in below format before passing into request payload
expectedResponse = {
textHtml: “<TEXTFORMAT LEADING=”3″><P ALIGN=”LEFT”><FONT FACE =”ARIAL” SIZE=”11″ COLOR=”#333333″ LETTERSPACING=”0″ KERNING=”1″>Normal Text</FONT></P></TEXTFORMAT>”
}