Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Rendering of wcm/msm/components/ghost components on publisher

Avatar

Level 1

Hi,

we experience the following problem:

on a livecopy page, the inheritance was broken a a component was deleted.

This created a ghost component of type 'wcm/msm/components/ghost'.

So far so good. I understand that this component is there to give the author the possibility to reenable the inheritance.

But there is also a div rendered for this component on the publisher!

On the publish page there is

<div class="ghost ..."></div>

rendered.

This is, because by default the decoration of the component is turned on.

How can I get ride of this?

It leaks information from teh author, that I do not want to have in the published page.

And it makes my front-end a lot harder, because I have to code around this useless div.

Jochen

0 Replies