I've managed to run the plugins by replacing the folder /var/www/onlyoffice/documentserver/ inside the docker with the the original sources. Without it my plugin code cannot use some Document methods.
I keep getting:
oDocument.Document.Get_CurrentParagraph is not a function(…)
It happens with this code:
var oDocument = Api.GetDocument();
var oCurrentParagraph = oDocument.Document.Get_CurrentParagraph();
Is this plugin mechanism production ready? I didn't see any documentation anywhere. Thanks.
I've managed to run the plugins by replacing the folder /var/www/onlyoffice/documentserver/ inside the docker with the the original sources. Without it my plugin code cannot use some Document methods. I keep getting: oDocument.Document.Get_CurrentParagraph is not a function(…) It happens with this code:
var oDocument = Api.GetDocument(); var oCurrentParagraph = oDocument.Document.Get_CurrentParagraph();
Is this plugin mechanism production ready? I didn't see any documentation anywhere. Thanks.