Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Commented Code get disappears in Text Component

Avatar

Level 2

Hi,

Some of the commented code getting disappears in Text component, kindly anyone let me know the solution for this?

Thanks,

Srinivasan.

1 Accepted Solution

Avatar

Correct answer by
Level 10

See the community article - it talks about how to build a component with this functionality:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

View solution in original post

3 Replies

Avatar

Level 10

Can you please expand on what you are seeing. Are you placing comments in code in CRXDE Lite? THen you see the comments disappear? 

Avatar

Level 2

Hi,

Added Text component in the page and using source edit updated the code like below and again next time if I try to edit the same text component the commented lines are disappeared.

<html>

This is sample

<!-- Commented -->

Text

</html>

the commented code "<!-- Commented -->" gets disappear in the text component.

Thanks,

Srinivasan.

Avatar

Correct answer by
Level 10

See the community article - it talks about how to build a component with this functionality:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html