Get Started
More information

Get and paste html


Gets the document content as HTML code, modifies it, and pastes back to the document.

Plugin type: visual, non-system.

Supported editors: documents, spreadsheets, presentations.


Available by default in ONLYOFFICE Enterprise Edition and Community Edition (Document Server + Community Server).

You can also download this plugin from the ONLYOFFICE App Directory and install it following the desktop or cloud installation instructions.

  1. Select the necessary content.
  2. Open the Plugins tab and press Get and past html.
  3. The HTML code of the selected content will be automatically displayed in the plugin window. You can modify this code or write your own one.
  4. To paste the modified or your own HTML code into the document, press the Paste into document button.
Plugin structure

Repository on GitHub:

  1. config.json, index.html and code.js
  2. Icons
  3. The translations folder which contains translations into Russian, German, Spanish, Czech and French.
  4. Third-party service:
    "name": "Get and past html",
    "guid": "asc.{E581C417-3C80-4BC2-B42D-502850FDC1E7}",

    "variations": [
            "description": "Get and past html",
            "url": "index.html",

            "icons": [ "resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon2.png", "resources/img/icon2@2x.png" ],
            "isViewer": true,
            "EditorsSupport": [ "word", "cell", "slide" ],

            "isVisual": true,
            "isModal": false,
            "isInsideMode": true,

            "initDataType": "html",
            "initData": "",

            "buttons": [],

            "initOnSelectionChanged": true
Methods and events

If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.