Skip to content

Incorrect rendering of nestable elements in builder #4

Description

@re-co

Hey @Spellhammer ,
I have installed Oxygen 4.8._final and elements API demo plugin.
When I drop nestable example it does not render correctly in builder.

By defualt Oxygen wraps custom element in DIV and nested element in builder will always be first child no matter where echo do_oxygen_element() is placed.

On fronted it outputs correctly.

Expected HTML

<div id="_my-nestable-element">
   <p>Some text</p>
   <div>
   {{ echo do_oxygen_elements()}}
   </div>
</div>

In builder preview

<div id="_my-nestable-element">
   {{ echo do_oxygen_elements()}}
   <p>Some text</p>
   <div>
   </div>
</div>

CleanShot 2023-12-22 at 15 48 36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions