Expand my Community achievements bar.

How to configure additional special characters in webeditor toolbar?

Avatar

Employee

There is a shortcut option in the web-editor toolbar to let author insert the special characters already. The same can be seen in screenshot below:

 

Kiran_Mohan_0-1622721338408.png

Kiran_Mohan_1-1622721399117.png

 

These list of characters is configurable here. If you need to add more characters to this then follow the below steps:

 

  1. Log into AEM and open the CRXDE Lite mode.
  2. create symbols.json file at the following location:
    /apps/fmdita/xmleditor/ (You can copy the default from - /libs/fmdita/clientlibs/clientlibs/xmleditor/symbols.json location)
  3. Add the special character definition in the symbols.json file as:
    {
          "label": "Logical Symbols",
          "items": [
            {
              "name": "≥",
              "title": "Greater-Than or Equal To"
            },
            {
              "name": "≤",
              "title": "Smaller-Than or Equal To"
            }
          ]
    }​

    The structure of the symbols.json file is explained below:
    • "label": "Logical Symbols": This specifies the category for the special characters. In the snippet, a
    category with the name "Logical Symbol" is defined.
    • "items": This defines the collection of special characters in the category.
    • "name": "≥", "title": "Greater-Than or Equal To": This is the definition of the special character. It
    starts off with the "name" label, which must not be changed. The name is followed by the special
    character. The "title" is the name or title of the special character that appears as the tooltip for
    that special character.
    You can define multiple definitions of special characters within a category.

 

This will add another category in special characters dialog:

Kiran_Mohan_2-1622721965065.png

Kiran_Mohan_3-1622721984534.png

 

References:

1) Installation and Configuration Guide

Refer - Chapter "CUSTOMIZE WEB EDITOR"

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies