Special Characters Manager
Type: Class
How to get specialCharactersManager?
JavaScript
import specialCharactersManager from 'fontoxml-special-characters/src/specialCharactersManager.js'
Enables registration of custom character sets to be displayed in the “Insert special character” modal. Registration can be done using the addCharacterSetPath method. While we also provide a method for adding a character set directly into the build, addCharacterSet, adding it via a path instead excludes it from building into the main.js resulting in a faster initial load.
Methods
add Character Set
Type: Function
Register the specified characterSet for use by the special-character-insert operation under the specified name.
Arguments
add Character Set Path
Type: Function
Register the specified file path used to fetch the characterSet under the specified name. Character sets should be placed in (a subfolder of) the assets folder. An example of this would be 'assets/character-sets/characterSet.json'. The character set should contain an Array of CharacterSetEntry objects.
Arguments