I installed LanguageTool on my cloudron server and I wanted to use it with my OnlyOffice instance. There's a plugin on their app directory you can use for that, but it triggered me two questions I didn't find answers in the docs:
- Is it possible to install plugins for all users and not user-by-user?
- Is there any way to change the url address of the serviceUrl variable in the ./scripts/langTool.js file as described on the plugin page? That's the way for using the self-hosted version and not their cloud.
@chetbaker It was quite a ride to find this information. The information in the docs was quite cryptic.
What I found is (maybe):
You have to build a
.pluginfile yourself from source. Apparently, you do this by " Archive the plugin files (it must contain config.json, index.html, and pluginCode.js). Change the file extension to .plugin. " . I think one has to read up how to create a plugin to test this out (I haven't).
You have to edit the line https://github.com/ONLYOFFICE/onlyoffice.github.io/blob/master/sdkjs-plugins/content/languagetool/scripts/langTool.js#L61 before creating the plugin file.