Thank you for writing.
The behavior which you describe is by design. Internally the RadMarkupEditor
hosted in the RadMarkupDialog
element works with a filters collection contained in the FiltersManager
class. One of the filters is responsible for removing a parent paragraph tag if the whole content is inside it. This is the reason why the <p></p>
tag is removed in the described scenario.
You can achieve the same result a <br /> tag like this:
I hope this helps. Should you have further questions please do not hesitate to write back.