Skip to content

dotCMS/dotcms-ema-elements

Repository files navigation

DotCMS Edit Mode Anywhere Elements

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.

Elements

We have two:

<dotcms-ema-container container="{}">
  <dotcms-ema-contentlet contenlet="{}">
    <!--HERE GOES YOUR CONTENTLET-->
  </dotcms-ema-contentlet>
</dotcms-ema-container>

Full documentation:

  1. dotcms-ema-container
  2. dotcms-ema-contentlet

StencilJS

This project was built with StencilJS for more information on how to run it check this readme.

About

Web Components to pass attributes to edit mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published