Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to configure additional special characters in webeditor toolbar?

Avatar

Avatar
Ignite 3
Employee
Kiran_Mohan
Employee

Likes

8 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 5
Give Back 3
Boost 3
Boost 1
View profile

Avatar
Ignite 3
Employee
Kiran_Mohan
Employee

Likes

8 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 5
Give Back 3
Boost 3
Boost 1
View profile
Kiran_Mohan
Employee

03-06-2021

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"

authoring customize toolbar Web Editor XML Documentation XML Documentation Solution

Accepted Solutions (0)

Answers (0)