Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

Richtext data type not working in Content Fragment Model

Avatar

Level 4

I am using the below richtext inside content fragment model. Its working fine in the content fragment created using the model.

But model itself is not loading properly and we are unable to edit it too.

 

Any issue in the below xml ?

 

<richText
jcr:primaryType="nt:unstructured"
sling:resourceType="dam/cfm/admin/components/authoring/contenteditor/multieditor"
listOrder="11"
metaType="richtext"
name="text"
renderReadOnly="false"
showEmptyInReadOnly="true"
valueType="string"/>
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi @ashish_mishra1 

 

Can you try these ?

metaType="text-multi"

and/or

valueType="string/multiline"

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Hi @ashish_mishra1 

 

Can you try these ?

metaType="text-multi"

and/or

valueType="string/multiline"