trying to create a plugin oI see no way to do so. #170
Replies: 2 comments 30 replies
-
Do you read this documentation Creating plugin is not the easiest task, but it's documented rather good |
Beta Was this translation helpful? Give feedback.
-
@ungentilgarcon hello! To answer your questions
Based on the above, I can offer to implement a macro that overwrites data from the active cell.
(function()
{
//...code implemented here https://jsbin.com/qesiwelesa/edit?html,js,output
var oWorksheet = Api.GetActiveSheet();
var oActiveCell = oWorksheet.GetActiveCell();
oActiveCell.SetValue(removeDiacritics(oActiveCell.GetValue()));
})(); The next step is to realize the following non-visual plugin config.json parameter https://api.onlyoffice.com/plugin/config#isVisual You can imagine using this plugin step by step in the following way: 1.Activate the cell Result: Plugin using the method https://api.onlyoffice.com/plugin/callcommand |
Beta Was this translation helpful? Give feedback.
-
BUG
What is the current behavior?
when I try to download your examples of code (under sdkjs) and create plugins out of it, it doesn't import them.
also, documentation to do so is really scarce, is there another source of documeentation for doing so?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
DL the code under this section, create a Plugin file ,try to import it with the add plugin button .
Beta Was this translation helpful? Give feedback.
All reactions