Hello - I am trying to use RadMarkupDialog for HTML editing; however, it strips wrapping P tags. This behavior occurs when I click Save from the Markup tab, and also when I switch from the Markup tab to the Design tab. I've seen information on stopping this behavior in ASP.Net, but not in WinForms. Is there a way to make it behave correctly?
Thanks,
Matt
For examples:
1.
currentText = "<p>some text</p>"
Dialog is shown and Value is set to currentText; Design mode shows "some text"; switch to Markup and it shows "some text" (no wrapping P tag)
2.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>"; click save
Code is returned "<html>some text</html>" (that it is wrapped in the HTML tag is expected from what I understand)
3.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>";
Switch to Design mode and then back to Markup mode; editor now shows "some text"
4.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p><p>some other text</p>"
Code is returned "<html><p>some text</p><p>some other text</p></html>
Thanks,
Matt
For examples:
1.
currentText = "<p>some text</p>"
Dialog is shown and Value is set to currentText; Design mode shows "some text"; switch to Markup and it shows "some text" (no wrapping P tag)
2.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>"; click save
Code is returned "<html>some text</html>" (that it is wrapped in the HTML tag is expected from what I understand)
3.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p>";
Switch to Design mode and then back to Markup mode; editor now shows "some text"
4.
currentText = "some text"
Dialog is shown; switch to Markup and edit text to "<p>some text</p><p>some other text</p>"
Code is returned "<html><p>some text</p><p>some other text</p></html>