helpcenter/Web/Controls/Help/Server/Document/UninstallPlugins/UninstallPlugins.ascx

122 lines
5.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Uninstall default plugins from the server editors";
MetaKeyWords = "ONLYOFFICE Docs, plugins";
MetaDescription = "Uninstall default plugins from the server editors";
}
</script>
<div id="toggleMenuEditors" class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Uninstall default plugins from the server editors</h1>
<cc:localizecontent runat="Server" controlname="~/Controls/Help/VariousControls/Versions/DocumentServer/DocumentServer_Current.ascx" />
<div class="keyword_block">
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/server-version/server-version.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" /></li>
</ul>
</div>
<div class="video_ground video_trips">
<h2 id="introduction">Uninstall default plugins from the server editors</h2>
<div class="block_of_step">
<div class="screen_text">
<p>There are two ways to remove the default plugins from the <b>ONLYOFFICE Docs</b> installation:</p>
<ol>
<li>Go to the folder with the plugin code in the <b>ONLYOFFICE Document Server</b> folder depending on the operating system:
<p></p>
<ul>
<li>For Linux - <code>/var/www/onlyoffice/documentserver/sdkjs-plugins/</code>.</li>
<li>For Windows - <code>%ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\</code>.</li>
</ul>
<p>Remove the folder with the plugin code, for example, <code>plugin-translator</code>.</p>
<p>The plugins will be removed for all the users of <b>ONLYOFFICE Docs</b>. <a target="_blank" class="links" href="https://nodejs.org/docs/latest/api/fs.html#fs_availability">In some cases</a>, service restart is required.</p>
</li>
<li>Or edit the <a target="_blank" class="links" href="https://api.onlyoffice.com/editors/config/editor/plugins">Document Server config</a> to remove the lines corresponding to the plugin:
<pre><code>var docEditor = new DocsAPI.DocEditor("placeholder", {
"editorConfig": {
"plugins": {
"autostart": [
<s>"asc.{0616AE85-5DBE-4B6B-A0A9-455C4F1503AD}",</s>
"asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}",
...
],
"pluginsData": [
<s>"https://example.com/plugin1/config.json",</s>
"https://example.com/plugin2/config.json",
...
]
},
...
},
...
</code></pre>
</li>
</ol>
<div class="notehelp">
If you update ONLYOFFICE Docs, removed plugins will be available again and youll need to remove them once again.
</div>
</div>
</div>
</div>
<h2 id="Switch2">Default plugins GUIDs</h2>
<div class="block_of_step">
<div class="screen_text">
<p>This table contains GUIDs (Globally Unique Identifiers) of the plugins included into the server editors by default:</p>
<table class="table_portslist plugins_domains">
<tbody>
<tr>
<th>Plugin</th>
<th>GUID</th>
</tr>
<tr>
<td><code>Highlight code</code></td>
<td>{BE5CBF95-C0AD-4842-B157-AC40FEDD9841}</td>
</tr>
<tr>
<td><code>Mendeley</code></td>
<td>{BE5CBF95-C0AD-4842-B157-AC40FEDD9441}</td>
</tr>
<tr>
<td><code>OCR</code></td>
<td>{440EBF13-9B19-4BD8-8621-05200E58140B}</td>
</tr>
<tr>
<td><code>Photo editor</code></td>
<td>{07FD8DFA-DFE0-4089-AL24-0730933CC80A}</td>
</tr>
<tr>
<td><code>Speech</code></td>
<td>{D71C2EF0-F15B-47C7-80E9-86D671F9C595}</td>
</tr>
<tr>
<td><code>Thesaurus</code></td>
<td>{BE5CBF95-C0AD-4842-B157-AC40FEDD9840}</td>
</tr>
<tr>
<td><code>Translator</code></td>
<td>{7327FC95-16DA-41D9-9AF2-0E7F449F6800}</td>
</tr>
<tr>
<td><code>YouTube</code></td>
<td>{38E022EA-AD92-45FC-B22B-49DF39746DB4}</td>
</tr>
<tr>
<td><code>Zotero</code></td>
<td>{BFC5D5C6-89DE-4168-9565-ABD8D1E48711}</td>
</tr>
<%--<tr>
<td><code>Send</code></td>
<td>{B509123E-6335-40BD-B965-91EB799346E3}</td>
</tr>--%>
</tbody>
</table>
<p>You can also add new plugins to <b>ONLYOFFICE Docs</b>. To find out information on how to do this, please, refer to <a target="_blank" href="<%=VirtualPathUtility.ToAbsolute("~/installation/docs-uninstall-plugin.aspx")%>">Adding new plugins to server editors</a> guide.</p>
</div>
</div>
</div>