Added radio buttons to Addplugins docs article

This commit is contained in:
Ilya Sobolev 2021-05-27 19:08:29 +03:00
parent 797adf6fe3
commit df8abc9170

View File

@ -44,12 +44,19 @@
<pre><code>git clone https://github.com/ONLYOFFICE/plugin-name </code></pre>
<p>Where <code>plugin-name</code> is the URL-address of the plugin (e.g. <em>https://github.com/ONLYOFFICE/plugin-wordscounter</em> to download Words counter plugin).</p>
</li>
<li>Put the folder with the plugin code to the <code>sdkjs-plugins</code> folder, which is located in the ONLYOFFICE Docs directory.
<p>For Linux:</p>
<pre><code>mv plugin-folder /var/www/onlyoffice/documentserver/sdkjs-plugins/</code></pre>
<p>For Windows:</p>
<pre><code>move plugin-folder %ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\</code></pre>
<p>Where <code>plugin-folder</code> is an absolute path plugin directory.</p>
<li><p>Put the folder with the plugin code to the <code>sdkjs-plugins</code> folder, which is located in the ONLYOFFICE Docs directory.</p>
<input type="radio" name="tabs" id="tab1" checked />
<label for="tab1">Linux</label>
<input type="radio" name="tabs" id="tab2" />
<label for="tab2">Windows</label>
<div class="tab content1">
<pre><code>mv plugin-folder /var/www/onlyoffice/documentserver/sdkjs-plugins/</code></pre>
<p>Where <code>plugin-folder</code> is an absolute path plugin directory.</p>
</div>
<div class="tab content2">
<pre><code>move plugin-folder %ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\</code></pre>
<p>Where <code>plugin-folder</code> is an absolute path plugin directory.</p>
</div>
</li>
<li>The plugins will be available to all the users of <b>ONLYOFFICE Docs</b>. <a target="_blank" href="https://nodejs.org/docs/latest/api/fs.html#fs_availability">In some cases</a> service restart is required:
<pre><code>supervisorctl restart all</code></pre>