Core Components [Teaser] - Proxy Dialog features do not work | Community
Skip to main content
Level 3
November 1, 2019
Solved

Core Components [Teaser] - Proxy Dialog features do not work

  • November 1, 2019
  • 1 reply
  • 1107 views

I am trying to proxy/implement the Teaser component into a new component which adds an additional dialog field. The RTE in the Text section of the dialog is not reflecting any changes made to the <paraformat> node. Below is the entire descriptionGroup node. I only have 2 paragraph formats, but it is always showing the h1-h6 titles, and it also does not show the special characters option within the RTE in the dialog.

<descriptionGroup

    granite:hide="${cqDesign.descriptionHidden}"

    jcr:primaryType="nt:unstructured"

    sling:resourceType="granite/ui/components/coral/foundation/well">

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

        <description

            jcr:primaryType="nt:unstructured"

            sling:resourceType="cq/gui/components/authoring/dialog/richtext"

            fieldDescription="A description to display as the subheadline for the teaser."

            fieldLabel="Description"

            name="./jcr:description"

            useFixedInlineToolbar="{Boolean}true">

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

                <format

                    jcr:primaryType="nt:unstructured"

                    features="bold,italic"/>

                <justify

                    jcr:primaryType="nt:unstructured"

                    features="-"/>

                <links

                    jcr:primaryType="nt:unstructured"

                    features="modifylink,unlink"/>

                <lists

                    jcr:primaryType="nt:unstructured"

                    features="*"/>

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

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

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

                            <default_copyright

                                jcr:primaryType="nt:unstructured"

                                entity="&amp;copy;"

                                name="copyright"/>

                            <default_euro

                                jcr:primaryType="nt:unstructured"

                                entity="&amp;euro;"

                                name="euro"/>

                            <default_registered

                                jcr:primaryType="nt:unstructured"

                                entity="&amp;reg;"

                                name="registered"/>

                            <default_trademark

                                jcr:primaryType="nt:unstructured"

                                entity="&amp;trade;"

                                name="trademark"/>

                        </chars>

                    </specialCharsConfig>

                </misctools>

                <paraformat

                    jcr:primaryType="nt:unstructured">

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

                        <default_p

                            jcr:primaryType="nt:unstructured"

                            description="Paragraph"

                            tag="p"/>                                                                                                                        

                        <default_blockquote

                            jcr:primaryType="nt:unstructured"

                            description="Quote"

                            tag="blockquote"/>

                    </formats>

                </paraformat>

                <table

                    jcr:primaryType="nt:unstructured"

                    features="-">

                    <hiddenHeaderConfig

                        jcr:primaryType="nt:unstructured"

                        hiddenHeaderClassName="cq-wcm-foundation-aria-visuallyhidden"

                        hiddenHeaderEditingCSS="cq-RichText-hiddenHeader--editing"/>

                </table>

                <tracklinks

                    jcr:primaryType="nt:unstructured"

                    features="*"/>

            </rtePlugins>

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

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

                    <inline

                        jcr:primaryType="nt:unstructured"

                        toolbar="[format#bold,format#italic,format#underline,#justify,#lists,links#modifylink,links#unlink,#paraformat]">

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

                            <justify

                                jcr:primaryType="nt:unstructured"

                                items="[justify#justifyleft,justify#justifycenter,justify#justifyright]"

                                ref="justify"/>

                            <lists

                                jcr:primaryType="nt:unstructured"

                                items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]"

                                ref="lists"/>

                            <paraformat

                                jcr:primaryType="nt:unstructured"

                                items="paraformat:getFormats:paraformat-pulldown"

                                ref="paraformat"/>

                        </popovers>

                    </inline>

                    <dialogFullScreen

                        jcr:primaryType="nt:unstructured"

                        toolbar="[format#bold,format#italic,format#underline,justify#justifyleft,justify#justifycenter,justify#justifyright,lists#unordered,lists#ordered,lists#outdent,lists#indent,links#modifylink,links#unlink,table#createoredit,#paraformat,image#imageProps]">

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

                            <paraformat

                                jcr:primaryType="nt:unstructured"

                                items="paraformat:getFormats:paraformat-pulldown"

                                ref="paraformat"/>

                        </popovers>

                    </dialogFullScreen>

                    <tableEditOptions

                        jcr:primaryType="nt:unstructured"

                        toolbar="[table#insertcolumn-before,table#insertcolumn-after,table#removecolumn,-,table#insertrow-before,table#insertrow-after,table#removerow,-,table#mergecells-right,table#mergecells-down,table#mergecells,table#splitcell-horizontal,table#splitcell-vertical,-,table#selectrow,table#selectcolumn,-,table#ensureparagraph,-,table#modifytableandcell,table#removetable,-,undo#undo,undo#redo,-,table#exitTableEditing,-]"/>

                </cui>

            </uiSettings>

        </description>

        <descriptionFromLinkedPage

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"

            checked="{Boolean}false"

            fieldDescription="When checked, populate the description with the linked page's description."

            name="./descriptionFromPage"

            text="Get description from linked page"

            uncheckedValue="{Boolean}false"

            value="{Boolean}true"/>

         <eyebrow

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

            fieldDescription="A title to display as the eyebrow for the teaser."

            fieldLabel="Eyebrow"

            name="./eyebrowText"/>

    </items>

</descriptionGroup>

                                              

    

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 arunpatidar

Hi,

When you overlay using sling resource merger, it combines the property.

you can hide properties and nodes and achieve the desired group of plugins

Using the Sling Resource Merger in AEM

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 2, 2019

Hi,

When you overlay using sling resource merger, it combines the property.

you can hide properties and nodes and achieve the desired group of plugins

Using the Sling Resource Merger in AEM

Arun Patidar