Umbraco-CMS
Umbraco-CMS copied to clipboard
RichText editor is dirty when content contains <p>.</p> (empty line)
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.4
Bug summary
If the html in the editor contains <p>.</p>
, the editor is dirty as soon a the editor has had focus.
The <p>.</p>
is added to the html if you press Enter to create an empty line. The dot does not showup in the editor.
Specifics
No response
Steps to reproduce
- In an Richtext-editor add an empty line at the end of the text.
- Verify via the html-button in the toolbar of the editor that the htmlcode contains
<p>.</p>
- Save the node.
- Click on the editor to get the focus.
- Click on another node, the "You have unsaved changes" window appears and the editor is dirty.
Expected result / actual result
The "You have unsaved changes" window should not appear and the editor should not be dirty if no content is changed.