Skip to main content
kradhakrishna
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

Creating Component with capability of dragging another component

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

[img]Component.JPG[/img]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
narayanank84409
narayanank84409Accepted solution
Level 4
Oct 16, 2015 2:29 AM UTC

kradhakrishna wrote...

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

 

There are 2 ways to achieve that

1. Convert your rich text component as Container component.

2. Or give allowed children in rich text box.

3 replies

WhoaShekhar
Level 10
Oct 16, 2015 2:29 AM UTC

Hi There,

Thanks for reaching out to Adobe Community.

Please go through the below community articles and see if you find anything relevant:

https://helpx.adobe.com/experience-manager/kb/creating-cq-widget-supports-image.html

https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

Thanks!

Translate
narayanank84409
narayanank84409Accepted solution
Level 4
Oct 16, 2015 2:29 AM UTC

kradhakrishna wrote...

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

 

There are 2 ways to achieve that

1. Convert your rich text component as Container component.

2. Or give allowed children in rich text box.

Translate
Level 4
Oct 16, 2015 2:29 AM UTC

Include a parsys inside the main component. Don't use RTE directly , may be you can use RTE in the main component dialog and write your own jsp to render the same as per the wireframe. Inside jsp include a parsys and configure the sub component.

Translate