Paragraph after two headers, opening p inbetween headers
Closed this issue · 1 comments
deanblackborough commented
With the following delta
{"ops":[{"insert":"Primary Header"},{"attributes":{"header":1},"insert":"\n"},{"insert":"\nSecondary header"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nA paragraph.\n"}]}
The HTML is incorrect, the opening p tag is being placed between the two headers.
Need a failing test and then the fix to solve the bug!
deanblackborough commented
Fixed in b11f189