Skip to main content

Adding characters to the rich-text editor's virtual keyboard

Brightspot’s virtual keyboard includes special characters not included in most keyboard layouts. You can add additional characters to the virtual keyboard.

To add characters to the virtual keyboard:

  1. Click > Admin > Sites & Settings > Sites > Global

  2. Click , located to the left of , and type Extra Java Script.

  3. In the Extra Java Script field, add an array RTE_UNICODE similar to the following example.

    RTE_UNICODE = [
    // En Dash
    '\u2013',
    // Em Dash
    '\u2014'
    ];
    • 2. Optional comment.
    • 3. Code point for en dash.
    • 4. Optional comment.
    • 5. Code point for em dash.

    For a full listing of Unicode values, see Unicode 13.0 Character Code Charts.

  4. Click Save.

  5. To ensure Brightspot displays the new characters, advise editors to clear their browser’s cache.