Posted 15 June 2024, 12:12 pm EST
Hello,
I could not figure out how I can add html text to .NET 8 C1Editor control. Okay, I can load html files, but I need to add say
<p>Hello C1Editor!</p>
html string programmatically.I checked your CHAT demo. In that demo my answer is added to the C1Editor by calling
c1EditorView.ReplaceElement(message, _newLineId)
. It “simply” replaces the <span id="NewLine"/>
tag with the user answer and appends the <span id="NewLine"/>
again.Is there a much simpler way to display HTML text in C1Editor?
For example
c1Editor.Text += "<span id=\"NewLine\"/>"
.Thanks,
Louis