내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Touch UI component placeholders are not coming after 6.4.8.1 upgrade

Avatar

Level 10

hi guys,

We are using below div element and attribute to give some placeholder values to touch ui components. It was working fine.

<div data-sly-test="${!wcmmode.disabled}" class="cq-placeholder" data-emptytext="Some Placeholder Text"></div>


But after upgrading to 6.4.8.1(6.4.8.0 SP + CFP 1),  it is not working. Could anyone confirm on this please.

 

It is working fine in 6.4.8.0.

6.4.8.0 Screenshot

image.png

6.4.8.1 Screenshot

errr.JPG

 



 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

I think this is a profuct bug, you will not see the placeholder unless you have editConfig(I think with cq:inplaceEditing node but not sure). 

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

9 답변 개

Avatar

Employee

Can you share the detailed steps to replicate the given use case locally? 

 

Avatar

Level 10

thanks vanegi, I have updated the screenshots for reference. Can you put this script in any of the component and try please.

<div data-sly-test="${!wcmmode.disabled}" class="cq-placeholder" data-emptytext="Some Placeholder Text"></div>

Avatar

Employee

I have placed the script in /apps/core/wcm/components/text/v2/text/text.html and can see the same reported behavior in 6.4.8.1 patch.

 

<div data-sly-use.textModel="com.adobe.cq.wcm.core.components.models.Text" data-sly-use.templates="core/wcm/components/commons/v1/templates.html" data-sly-test.text="${textModel.text}" class="cmp-text"> <p class="cmp-text__paragraph" data-sly-unwrap="${textModel.isRichText}">${text @ context =textModel.isRichText ? 'html' : 'text'}</p> </div> <div data-sly-test="${!wcmmode.disabled}" class="cq-placeholder" data-emptytext="Some Placeholder Text"></div> <sly data-sly-call="${templates.placeholder @ isEmpty = !text, classAppend='cmp-text'}"></sly>

 

Capture.JPG

Avatar

Level 10
thanks vanegi i have added the steps how it goes wrong under arun comment

Avatar

Level 10
I had a very similar issue recently, can you post your entire component HTL please?

Avatar

Level 10
thanks theo, can you try putting the script in 6.4.8.1 and check please.

Avatar

Level 10
Sorry I don't have a 6.4.8.1 instance ready-to-go. In order to help, I will need the entire HTL file for your component, not just this one line (unless this one line IS the whole HTL?)

Avatar

정확한 답변 작성자:
Community Advisor

I think this is a profuct bug, you will not see the placeholder unless you have editConfig(I think with cq:inplaceEditing node but not sure). 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 10

you got it.. thanks.. 

 

Till 6.4.8.0 below condition was there

 

It will allow us to have placeholder if we have editconfig but either with dropTarget or inplaceEditConfig or only having a edit config

 

But in 6.4.8.1

 

Condition is like to allow a placeholder if we have a editconfig either with dropTarget or inplaceEditingConfig. Edit Config without dropTarget/inplaceEditing is not allowed to have a placeholder.

 

So this need to be fixed i guess, It should allow to have a placeholder only with edit config node as well.