Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
None
Description
When using the react-editor nested divs aand empty divs can be added to the DOM which can break styling.
Expected: DOM is not manipulated at all. Only what is in the component and page templates is rendered.
Actual
Developer is seeing multiple empty divs like:
<div></div>
And developer is seeing extra wrapping divs (and a "class" with no value.)
<div class >...
Note they are seeing these not just on authoring in Page Editor - ONLY on the public site.

Checklists
Acceptance criteria