Expand my Community achievements bar.

SOLVED

How add new Feature RTE

Avatar

Level 2

Hi Team,

 

I have requirement as need to add extra feature under List or Paragraph Formats in RTE.

Enter the text and  i can select the my newly added feature then out put has to display as below "Icon with Text" refer screen shot.

Can you please review and guide us how to achieve. 

 

madhu61_0-1682603022480.png

 

Regards

Mangala

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @madhu61 ,

You can do it by adding a custom special character. This will look like below

Sady_Rifat_0-1682660596238.png

Use:

<misctools
    jcr:primaryType="nt:unstructured"
    features="*">
    <specialCharsConfig jcr:primaryType="nt:unstructured">
        <chars jcr:primaryType="nt:unstructured">
            <copyright
                jcr:primaryType="nt:unstructured"
                entity="&amp;#169;"/>
            <trademark
                jcr:primaryType="nt:unstructured"
                entity="&amp;#8482;"/>
            <registered
                jcr:primaryType="nt:unstructured"
                entity="&amp;#174;"/>
            <emDash
                jcr:primaryType="nt:unstructured"
                entity="&amp;#8212;"/>
            <pound
                jcr:primaryType="nt:unstructured"
                entity="&amp;#163;"/>
            <nbsp
                jcr:primaryType="nt:unstructured"
                entity="&amp;#160;"/>
        </chars>
    </specialCharsConfig>
</misctools>

And use it by 

misctools#specialchars

Adding Custom Special Character: https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/configure-ric... 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hello @madhu61 ,

You can do it by adding a custom special character. This will look like below

Sady_Rifat_0-1682660596238.png

Use:

<misctools
    jcr:primaryType="nt:unstructured"
    features="*">
    <specialCharsConfig jcr:primaryType="nt:unstructured">
        <chars jcr:primaryType="nt:unstructured">
            <copyright
                jcr:primaryType="nt:unstructured"
                entity="&amp;#169;"/>
            <trademark
                jcr:primaryType="nt:unstructured"
                entity="&amp;#8482;"/>
            <registered
                jcr:primaryType="nt:unstructured"
                entity="&amp;#174;"/>
            <emDash
                jcr:primaryType="nt:unstructured"
                entity="&amp;#8212;"/>
            <pound
                jcr:primaryType="nt:unstructured"
                entity="&amp;#163;"/>
            <nbsp
                jcr:primaryType="nt:unstructured"
                entity="&amp;#160;"/>
        </chars>
    </specialCharsConfig>
</misctools>

And use it by 

misctools#specialchars

Adding Custom Special Character: https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/configure-ric... 

Avatar

Level 2

HI Team,

 

Thanks for you responses. Let me implement the solution .