Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Drag and drop not working for Richtext in multifield

Avatar

Level 1

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>

 
1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 10

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

Avatar

Level 1

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