In order to make DotCMS Edit Mode works we need to pass some data-attr in the HTML for containers and contentlets.
In this repo we provide two Web Components that will help you to pass those attributes very easy.
We have two:
<dotcms-ema-container container="{}">
<dotcms-ema-contentlet contenlet="{}">
<!--HERE GOES YOUR CONTENTLET-->
</dotcms-ema-contentlet>
</dotcms-ema-container>This project was built with StencilJS for more information on how to run it check this readme.