There are two ways to remove the default plugins from the ONLYOFFICE Docs installation:
- Go to the folder with the plugin code in the ONLYOFFICE Document Server folder depending on the operating system:
- For Linux -
/var/www/onlyoffice/documentserver/sdkjs-plugins/
.
- For Windows -
%ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\
.
Remove the folder with the plugin code, for example, plugin-translator
.
The plugins will be removed for all the users of ONLYOFFICE Docs. In some cases, service restart is required.
- Or edit the Document Server config to remove the lines corresponding to the plugin:
var docEditor = new DocsAPI.DocEditor("placeholder", {
"editorConfig": {
"plugins": {
"autostart": [
"asc.{0616AE85-5DBE-4B6B-A0A9-455C4F1503AD}",
"asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}",
...
],
"pluginsData": [
"https://example.com/plugin1/config.json",
"https://example.com/plugin2/config.json",
...
]
},
...
},
...
If you update ONLYOFFICE Docs, removed plugins will be available again and you’ll need to remove them once again.