Hi,
Thank you for your interest in Syncfusion Essential HTMLUI.
The HTMLUI control does not provide support for the tags: s, strike and del for now. But, these are reported to our developers as a feature request. We will update you once the support for these tags are implemented.
At the same time, the strike through functionality in the HTMLUI control can be achieved through the CSS - Text Decoration. With the help of this support, we can invoke this css in the code to support the s, strike and the del tags. Please refer the below code snippet that explains about how we can achieve the required behaviour through code.
[C#]
using Syncfusion.Windows.Forms.HTMLUI;
IHTMLElement[] strike;
private void htmluiControl1_LoadFinished(object sender, System.EventArgs e)
{
//Get the elements with the tag name strike
this.strike = this.htmluiControl1.Document.GetElementsByName("strike");
foreach (IHTMLElement elem in strike)
{
//Apply the specific css setting
this.htmluiControl1.LoadCSSFromString("strike {text-decoration: line-through}");
}
}
http://www.syncfusion.com/support/user/uploads/F69308_1daa6f61.png"/>
Sample:http://websamples.syncfusion.com/samples/HTMLUI/F69308/main.htmPlease try this and let me know if this helps.
Regards,
Nanda