Okay, I have run some tests and yes h6 is handled internally differently than any other heading, and in fact how it is handled is *against* the recommended spec for editing found here:
https://w3c.github.io/editing/execCo...raph-command-0
Which clearly states:
Quote:
If the local name of the container is "h1", "h2", "h3", "h4", "h5", or "h6" and end-of-line is true, let the new container name be the default single-line container name.
|
which in this case is either a "p" or a "div".
Both Webkit and WebEngine (Chrome) ignore this for "h6" only and in fact clone the h6 node and add it as a sibling so that the heading itself is continued. So there is no way to use "enter" to break out of an "h6".
In addition, as there is no way for PageEdit to detect this case (know if it is at the end of the line with h6 and that you hit enter at that point) so there will be no "fix".
That said, instead of putting the cursor at the end of the h6 line before hitting enter, you can of course put your cursor at the beginning of the following line and hit enter achieving what you want.
Of course, you can also use the PageEdit's interface including the Inspector's right click menu to delete and fix the html5 code directly.
Or highlight the new line and use the heading tool to change it to a normal paragraph as well.
And hopefully using h6 happens so rarely naturally that this whole issue will generally not come up much.
On a side note, I was able to change the defaultParagraphSeparator for the next version of PageEdit to use "p" instead of "div" since that makes more sense in ebooks.