-
Notifications
You must be signed in to change notification settings - Fork 413
Description
Make a change to the html and then press CTRL+Z. The original html gets completely reformatted where several <p><br></p> are being inserted.
Is there any way to return to the original html, or how would I go about removing these <p><br></p> nodes?
This is my html:
<p><b>Chapter 1</b> <br />Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p><b>Chapter 2</b> <br />Pretium viverra suspendisse potenti nullam. Rutrum quisque non tellus orci ac auctor augue mauris augue. Sed egestas egestas fringilla phasellus faucibus.</p><p><b>Chapter 3</b> <br />Velit aliquet sagittis id consectetur purus. Sed ullamcorper morbi tincidunt ornare massa eget egestas purus. Elementum eu facilisis sed odio morbi quis commodo odio aenean.</p>
Here is the stacblitz:
https://stackblitz.com/edit/web-platform-altctd
2024-03-26_00-55-23.mp4
Thanks!