Creating Component with capability of dragging another component | Community
Skip to main content
kradhakrishna
Level 2
October 16, 2015
Solved

Creating Component with capability of dragging another component

  • October 16, 2015
  • 3 replies
  • 1694 views

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.
Best answer by narayanank84409

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
October 16, 2015

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!

narayanank84409
narayanank84409Accepted solution
Level 4
October 16, 2015

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.

Level 4
October 16, 2015

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.