Hi All,
I have a requirement where we need to add richtext text inside multifield within content fragment. I have checked multiple blogs but no where the solution is mentioned. First of all, is it possible to have richtext under multifield within the content fragment.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
It is possible to add multifield with richtext inside content fragment (with some custom node configuration from crxde) as it uses the same dialog resource type cq/gui/components/authoring/dialog
i just did it and it works with multifield after configuring the content fragment model using (contentreference widget --> and configure it for multifield) default will come with text field. Now go to your model its created for example conf/project/setting/dam.... and then change the configuration of "field" node under multifield node as attached image
note: make sure the mulfield node and field node has same "name" configured as it comes already configured when you create model initially.
hope it helps!!
RTE capabilities are supported only in AEM component dialogs. RTE is not supported on wizards or Foundation-forms like Page Properties and Scaffolding on Touch-enabled UI.
Content Fragment Model is of "wcm/scaffolding/components/scaffolding" resource type.
Hello,
It is possible to add multifield with richtext inside content fragment (with some custom node configuration from crxde) as it uses the same dialog resource type cq/gui/components/authoring/dialog
i just did it and it works with multifield after configuring the content fragment model using (contentreference widget --> and configure it for multifield) default will come with text field. Now go to your model its created for example conf/project/setting/dam.... and then change the configuration of "field" node under multifield node as attached image
note: make sure the mulfield node and field node has same "name" configured as it comes already configured when you create model initially.
hope it helps!!
I tried the configuration which you mentioned in the screenshot and it dint work. Can you please confirm if you add any other configurations to make this work?
Views
Replies
Total Likes
Hi @Pawan-Gupta I tried the RTE inside content fragment multifield. When I try to save CF, the RTE values not getting save. and also additional item get added when I reopen the CF again with blank data. Can you please provide any working example link.
Views
Replies
Total Likes