You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When entering text in the rich text editor, it automatically adds all the HTML we need (<p>,<ul> or <ol>, etc.).
The plugin then wraps all of that content in an <h2> element, which is invalid HTML. The W3C HTML validator returns errors such as:
Element p not allowed as child of element h2 in this context.
Element ul not allowed as child of element h2 in this context.
Can the <h2> element be dropped and just use what the rich text editor generates?
If you were to implement this, you could stylize other block level elements using the same default CSS that you're currently using for <h2>. So unless users have overridden the default CSS, their content will still look the same.
The text was updated successfully, but these errors were encountered:
When entering text in the rich text editor, it automatically adds all the HTML we need (
<p>
,<ul>
or<ol>
, etc.).The plugin then wraps all of that content in an
<h2>
element, which is invalid HTML. The W3C HTML validator returns errors such as:Can the
<h2>
element be dropped and just use what the rich text editor generates?If you were to implement this, you could stylize other block level elements using the same default CSS that you're currently using for
<h2>
. So unless users have overridden the default CSS, their content will still look the same.The text was updated successfully, but these errors were encountered: