Symbol table
Description
Inserts special symbols into the document.
Plugin type: visual, non-system.
Supported editors: documents, spreadsheets, presentations.
Installation
Download this plugin from GitHub and install it following the desktop, on-premises, or cloud installation instructions.
Usage
- Find the plugin on the Plugins tab.
- Choose any character you want to paste (you can enter its unicode Hex value by yourself). You can choose the characters range to quickly navigate through them.
- Choose the characters font.
- Press the Insert button.
Plugin structure
Repository on GitHub: https://github.com/ONLYOFFICE/sdkjs-plugins/tree/master/symboltable.
config.json, index.html, and symboltable.js
Icons
The translations folder contains translations into Russian, German, Spanish, Czech, and French.
character.js contains all the characters that the plugin supports.
Third-party services:
- jQuery - a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. License: MIT License.
- Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options. License: MIT.
Config
{
"name": "Symbol Table",
"nameLocale": {
"fr": "Table des symboles",
"es": "Tabla de símbolos",
"de": "Symboltabelle"
},
"guid": "asc.{03C18A8D-8E01-444A-86EB-EDDFA7773157}",
"baseUrl": "",
"variations": [
{
"description": "Symbol Table",
"descriptionLocale": {
"fr": "Table des symboles",
"es": "Tabla de símbolos",
"de": "Symboltabelle"
},
"url": "index.html",
"icons": ["resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon2.png", "resources/img/icon2@2x.png"],
"isViewer": false,
"EditorsSupport": ["word", "cell", "slide"],
"isVisual": true,
"isModal": false,
"isInsideMode": true,
"initDataType": "html",
"initData": "",
"buttons": [
{
"text": "Insert",
"primary": true,
"textLocale": {
"fr": "Insérer",
"es": "Insertar",
"de": "Einfügen"
}
},
{
"text": "Cancel",
"primary": false,
"textLocale": {
"fr": "Annuler",
"es": "Cancelar",
"de": "Abbrechen"
}
}
],
"size": [600, 700]
}
]
}
Methods and events
- button
- init
- onExternalMouseUp
- onMethodReturn
- onTranslate
- executeMethod ("GetFontList")
- executeMethod ("PasteHtml")
- info.editorType
Support
If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.