Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
Magesh06
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
Magesh06
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 1
View profile
Magesh06
Level 1

02-04-2020

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

389 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

389 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

16-07-2020

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.

Answers (0)