Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-157

react-editor is adding empty divs to the dom

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.2.1
    • 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

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 1.25d
                      1.25d