I created a component that uses text fields, but adding them gives me <p> tags, for example
Can someone help me to get the text right?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Jeremy98 ,
I am assuming that you are referring to those <p> which are generated when you type something in RTE and view source edit.
The default behaviour of AEM generates those <p> tags and can only be removed if you author only one paragraph by adding property removeSingleParagraphContainer
For more details please refer this article [0].
Hope that helps!
Regards,
Santosh
Views
Replies
Total Likes
Now it stay like this
i need only show the text, in this case "descrption", not "<p>description</p>
Views
Replies
Total Likes
It works!!!
Thank you so much!