We experiences a strange behavior for one of our elements.
Its a 1.col-layout and it contains a banner.
Its saved and it works good, but in admin it looks like there is another part there.
This is not accessible and you cant click it.
The components viewer tells me that dere is only one part there.
(upload://zLyujA1seV3YqnIU5O45LMAqKHs.jpg)
This is commonly caused by the HTML in the view-file not being done properly (like using multiple root elements), or by the end-result HTML being created by JavaScript (something the Page Editor will struggle with). Could you share with me the HTML?
I’m not sure what these Thymeleaf-commands does: data-th-fullWidth, data-th-gap and data-th-attrappend. Can’t find them in the TL-docs. I’d start by removing them, see if behaviour stabilizes.
But basically, what XP does is to first execute your backend JS (thus merging it with your Thymeleaf). This gives a rendered HTML that the Page Editor tries to work with expecting only one root-element. Any JavaScript running client-side that changes the DOM will affect the Page Editor. In earlier versions of XP, adding multiple root elements (even a html-comment is a root element) in the same view-file messed with the Page Editor.