Documentation Center

Editor.getSymbols

Description

This function returns the array of symbols currently in use in Insert Character menu.

It's main purpose is to allow developers to extend the default symbols available in the editor by merging the array returned by this function with your own, and supplying Editor.setSymbols() with the resulting array:

Editor.setSymbols(null);
var base = Editor.getSymbols();
extended = base.concat(["a", "b", "c"]);
Editor.setSymbols(extended);

Syntax

Editor .getSymbols () : Array

Return Value

Array. An array of decimal entity references currently in use by Content Editor . This is a two dimensional array, containing an array of characters for every row in the character inserter.