Hi Albertas,
The ASPxHtmlEditor has an internal HTML processor, which converts any
'invalid' HTML markup into XHTML 1.0 Transitional compliant one. The
'contentEditable' attribute doesn't exist in the XHTML 1.0 Transitional
specification. That's why it was removed.
Of course you can turn off the entire HTML processing, but in this case you'll
get HTML markup, which is not guaranteed to be XHTML 1.0 Trans compliant
and even XHTML at all. To cancel HTML processing, handle the HtmlCorrecting
event of the ASPxHtmlEditor in the following manner:
ASPX:
<dxhe:ASPxHtmlEditor ... OnHtmlCorrecting="OnHtmlCorrecting" />
CS:
protected void OnHtmlCorrecting(object sender, HtmlCorrectingEventArgs e) {
e.Handled = true;
}
--
Victor
Victor
R&D, ASP.NET Team, DevExpress Inc.
P.S. If you wish to receive direct assistance from our Support Team, use
Support Center.