Drag and drop not working for Richtext in multifield | Community
Skip to main content
New Participant
October 16, 2015
Solved

Drag and drop not working for Richtext in multifield

The image drag and drop for richtext is not working, when richtext is added in multifield widget.

Any pointers will be appreciated. Thanks in advance !!!

 

dialog.xml

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"

    jcr:primaryType="cq:Dialog"

    activeTab="0"

    xtype="tabpanel">

    <items jcr:primaryType="cq:WidgetCollection">

        <tab3

            jcr:primaryType="cq:Panel"

            title="Sections">

            <items jcr:primaryType="cq:WidgetCollection">

                <sections

                    jcr:primaryType="cq:Widget"

                    fieldDescription="Select [+] button to add, [&amp;uarr;] [&amp;darr;] to arrange, [-] to delete"

                    name="./section"

                    xtype="multifield">

                    <fieldConfig

                        jcr:primaryType="cq:Widget"

                        collapsed="false"

                        collapsible="false"

                        xtype="dialogfieldset">

                        <items jcr:primaryType="cq:WidgetCollection">

                            <text

                                jcr:primaryType="cq:Widget"

                                fieldLabel="Text"

                                name="./text"

                                xtype="richtext">

                                <rtePlugins jcr:primaryType="nt:unstructured">

                                    <image

                                        jcr:primaryType="nt:unstructured"

                                        features="*"/>

                                </rtePlugins>

                            </text>

                        </items>

                    </fieldConfig>

                </sections>

            </items>

        </tab3>

        <tab2

            jcr:primaryType="cq:Panel"

            title="Sections">

            <items jcr:primaryType="cq:WidgetCollection">

                <sections

                    jcr:primaryType="cq:Widget"

                    fieldDescription="Select [+] button to add, [&amp;uarr;] [&amp;darr;] to arrange, [-] to delete"

                    name="./section"

                    xtype="multifield">

                    <fieldConfig

                        jcr:primaryType="cq:Widget"

                        collapsed="false"

                        collapsible="false"

                        xtype="richtext"/>

                </sections>

            </items>

        </tab2>

    </items>

</jcr:root>

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Here is a new community article (built in part from this thread) that shows this functionality:

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

This article covers the following:

  • how to work with rich text plugins
  • how to develop and register a custom xtype
  • how to work with multifield component
  • how to style the component
  • how to use drag and drop functionality

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Here is a new community article (built in part from this thread) that shows this functionality:

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

This article covers the following:

  • how to work with rich text plugins
  • how to develop and register a custom xtype
  • how to work with multifield component
  • how to style the component
  • how to use drag and drop functionality
Translate
smacdonald2008
Level 10
October 16, 2015

IN your example -- is everyone else working -- just not drag and drop? 

Translate
New Participant
October 16, 2015

Yes, Only problem is that it is not allowing drag and drop from content finder.

Translate