When using Firefox for content authoring, when you paste a paragraph of content in your rich text field, it adds unwanted
tags at the end.
I can replicate this issue on the Vanilla instance of Sitecore Version 9.3 and Sitecore Version 10.
Steps to replicate:
- Open the Content editor
- Select default home page
- Select the Text field under Data and click Show editor.
- Select the content and cut and paste the same (you will not few extra lines added at the bottom)
- Click Accept in Rich Text Editor
- Click Edit Html
- You can now see a new BR tag added
<br class="t-last-br"/>
Does anyone know why this happens, it happens only in Firefox. We tried this in Version 9.3 and 10. This may be an issue in other versions too.