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

Mark Solution

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

해결됨

What is the possible way to have create multi-field RTE in content fragment models (AEM 6.4)

Avatar

Level 2

We are trying to create composite multifield's as data types within content fragments to address some of our business requirements. The challenge here is we need to enable RTE plugin-in's for some of the text within multifield and not able to do with OOTB or custom implementation. Here is what we tried,

 

1. Tried using resource type granite/ui/components/coral/foundation/form/textarea from the dialog which is referred from custom implementation but RTE plugin's to style the content is not available here.

2. If we try using resource type dam/cfm/admin/components/authoring/contenteditor/multieditor within our custom multifield it doesn't work since it's out of cfm

3. Tried using resource type cq/gui/components/authoring/dialog/richtext from the dialog which is referred from custom implementation, RTE plugin's works here  to style the content but the content is not getting stored or retrieved and throwing below console error.

 

impl.js:1148 Uncaught TypeError: Cannot read property 'setDisabled' of null
at instanceGenerator.updateState (impl.js:1148)
at instanceGenerator.updateToolbar (richtext.js:5021)
at instanceGenerator.updateState (richtext.js:48108)
at Object.fn (richtext.js:2646)
at instanceGenerator.fireUIEvent (richtext.js:4876)
at instanceGenerator.onEditorEvent (richtext.js:4132)
at instanceGenerator.keyup (richtext.js:3673)
at task (richtext.js:1433)

 

Kindly suggest us some solution as we are stuck on this solution.

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

Please check this http://experience-aem.blogspot.com/2018/10/aem-6420-assets-content-fragments-coral-3-composite-multi..., it has a demo package demonstrating the implementation of coral 3 composite Multifield for Content Fragments.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Employee

Please check this http://experience-aem.blogspot.com/2018/10/aem-6420-assets-content-fragments-coral-3-composite-multi..., it has a demo package demonstrating the implementation of coral 3 composite Multifield for Content Fragments.

Avatar

Level 2

Hi @Magesh06 any solution for this.?

 

Avatar

Level 2

Hi @Magesh06 , I also have a similar requirement , did you find any solution around the same