Documentation Center

Editor.setSymbols

Description

This function sets the array of symbols currently in use in SDL LiveContent Create .

It is s a way to supply new symbols to the "insert symbol" key available in the SDL LiveContent Create UI. Arrays can now be passed as rows of characters. Unicode character can also be passed to the function without any escaping.

Editor.setSymbols([
  ['a', 'b', 'c'],
  ['d', 'e', 'f', '©']
]);

Syntax

Editor .setSymbols (rows : Array) : Array

Arguments

rows
Array. Two-dimensional array of characters.

Return Value

Array. The new symbols array.