Overview
With the HTML plugin, you can get your document content as HTML code, modify it, and paste back to the document.
This plugin uses CodeMirror, a versatile text editor implemented in JavaScript for the browser, and can be added to ONLYOFFICE Docs manually.
How to use
- Open the Plugins tab and press ‘Get and past html’.
- Select the necessary content.
- In the plugin field on the left panel, you'll see the HTML code of the selected abstract.
- Specify the number you want the SMS to be sent at.
- Click ‘Paste into document’ to insert the HTML code to the current cursor position in your document.
You can also write your own HTML code (without selecting any document content) and then paste it to your document.
How to install
Put the folder with the plugin code to ONLYOFFICE Document Server folder:
-
For Linux -
/var/www/onlyoffice/documentserver/sdkjs-plugins/
.
-
For Windows -
%ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\
.
For desktop editors
-
Archive the plugin files (it must contain config.json, index.html, and pluginCode.js).
-
Change the file extension to .plugin.
-
Go to the Plugins tab, click Manage Plugins >> Add plugin, browse for the .plugin file.
For the cloud version
Turn your plugin into a browser extension. Currently, it works for Chrome users only.