-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
Description
When pasting content inside an empty Editor, the formatting of the first paragraph gets lost.
Steps To Reproduce
- Copy the below content and paste it into the Editor from the following StackBlitz example - https://stackblitz.com/edit/angular-q3o9hmag
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Inspect the Editor in the console and observe how the formatting for the first
<p>tag is lost in comparison to the others.
Screenshots or video
Actual Behavior
The Editor does not preserve the formatting of the first paragraph the same way as the remaining ones.
Expected Behavior
The Editor should preserve the formatting of the first paragraph the same way as the remaining ones.
Workaround
Possible workaround - https://stackblitz.com/edit/angular-azpilkdy-vmxkszcl