Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

RTE Style(Emphasis) Plugin.

Avatar

Level 4

Clicked on pencil icon
Clicked on the Style icon > when clicked, the window closes; I'm unable to select a style.

Issue persists  in Chrome, IE and Firefox.

1238055_pastedImage_0.png

2 Replies

Avatar

Level 10

Hi Vijay,

I have tried in my local and it works fine. I am able to select the style plugin without any issues and whenever I select Style plugin, window doesn't closes.

Please find the below screenshot.

TextStyle.PNG

I tested in AEM 6.2. May I know which version of AEM you are using.

Thanks,

Ratna.

Avatar

Level 4

I am using AEM 6.2 . Issue is in QAT and in higher environments. I did check my local and its working as expected.

<text

                                        jcr:primaryType="nt:unstructured"

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

                                        name="./text"

                                        fieldLabel="Headline"

                                        useFixedInlineToolbar="{Boolean}true">

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

                                            <styles

                                                jcr:primaryType="nt:unstructured"

                                                features="*">

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

                                                    <emphasis

                             jcr:primaryType="nt:unstructured"

                             cssName="emphasis"

                             text="Emphasis"/>

                                                </styles>

                                            </styles>

                                        </rtePlugins>

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

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

                                                <inline

                                                    jcr:primaryType="nt:unstructured"

                                                    toolbar="[styles#emphasis]">

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

                                                        <styles

                                                            jcr:primaryType="nt:unstructured"

                                                            items="[styles#emphasis]"

                                                            ref="styles"/>


Please let me know if the style properties are not defined properly.