When copying and pasting a header and paragraph from an external source (e.g., Google Docs) into the editor using Ctrl+Shift+V (to avoid extra formatting), the resulting HTML is as follows:
<p>
Header<br>
Paragraph paragraph paragraph paragraph...
&nbsp;
</p>
Instead of:
<p>
Header
</p>
<p>
Paragraph paragraph paragraph paragraph...
&nbsp;
</p>
Problem:
With the current output, the heading style gets applied to both the header and the paragraph text, as they are within the same <p> tag. This requires manually fixing the spacing to separate the header and the paragraph correctly before applying the heading style.
Expected Behavior:
The header should be separated from the paragraph, creating the appropriate spacing between them so that when I apply a heading style to the corresponding text, it only applies to the header (not the entire paragraph).