Hello all
Wanted to point out an issue that i got on a project i am currently working.
I had a need to create a certain layout that has to be a bit free of constraints that built in Section element creates. Namely, the Section element has explicit max-width that cannot be overwritten.
In this cases i opted to use the Canvas element as a parent element for the content.
I inserted one custom component and some built in text elements.
After each autosave cycle, both child elements of the Canvas element, persistently got CSS position: absolute, top and left properties. Even when i remove them and publish the page, on the next autosave cycle, they get back magically.
This was very frustrating as there was no indication of inherited styles from parent elements.
SOLUTION:
After a lot of digging, i figured out that class from Canvas element “builder-canvas” needed to be removed so that the editor does not do this under the hood CSS modifications. (when the class was removed, the Canvas element, was treated as a Box element, at least that was the icon in the folder structure for it)
I do not know why this happens, but it wanted to leave a trail of this tribulation that i had with the Editor.
Maybe this is intended behaviour, but it is really strange one.
Thanks for the tool you provided, i really enjoy using it.
All the best