Open timoleenen opened 3 years ago
When props.isInEditor equals to true, baseCssClass is not properly set:
props.isInEditor
https://github.com/adobe/aem-react-core-wcm-components-base/blob/bec40fd2ec0c413a37797e3a02835a349b41c79b/src/authoring/teaser/v1/TeaserV1.tsx#L88
Proposing to use:
const cssClass = (props.isInEditor) ? props.baseCssClass + ' cq-dd-image' : props.baseCssClass;
When
props.isInEditor
equals to true, baseCssClass is not properly set:https://github.com/adobe/aem-react-core-wcm-components-base/blob/bec40fd2ec0c413a37797e3a02835a349b41c79b/src/authoring/teaser/v1/TeaserV1.tsx#L88
Proposing to use:
const cssClass = (props.isInEditor) ? props.baseCssClass + ' cq-dd-image' : props.baseCssClass;