Add comment in cell
Description
Adds comments to a cell of the spreadsheet.
Plugin type: visual, non-system.
Supported editors: spreadsheets.
Installation
Download this plugin from GitHub and install it following the desktop, on-premises, or cloud installation instructions.
Usage
- Select the cell you want to comment on.
- Open the Plugins tab and press Example add comment in cell.
- Enter the comment text in the field and press the Add comment button.
Plugin structure
Repository on GitHub: https://github.com/ONLYOFFICE/sdkjs-plugins/tree/master/example_add_comment_in_cell.
- config.json, index.html, and code.js
- Icons
Config
{
"name": "Example add comment",
"guid": "asc.{89643394-0F74-4297-9E0B-541A67F1E98C}",
"variations": [
{
"description": "Example add comment",
"url": "index.html",
"icons": ["resources/light/icon.png", "resources/light/icon@2x.png"],
"icons2": [
{
"style": "light",
"100%": {
"normal": "resources/light/icon.png"
},
"125%": {
"normal": "resources/light/icon@1.25x.png"
},
"150%": {
"normal": "resources/light/icon@1.5x.png"
},
"175%": {
"normal": "resources/light/icon@1.75x.png"
},
"200%": {
"normal": "resources/light/icon@2x.png"
}
},
{
"style": "dark",
"100%": {
"normal": "resources/dark/icon.png"
},
"125%": {
"normal": "resources/dark/icon@1.25x.png"
},
"150%": {
"normal": "resources/dark/icon@1.5x.png"
},
"175%": {
"normal": "resources/dark/icon@1.75x.png"
},
"200%": {
"normal": "resources/dark/icon@2x.png"
}
}
],
"isViewer": false,
"EditorsSupport": ["cell"],
"isVisual": true,
"isModal": false,
"isInsideMode": true,
"initDataType": "none",
"initData": "",
"buttons": []
}
]
}
Methods and events
- button
- init
- callCommand
- Asc.scope object
Support
If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.