Skip to content

Latest commit

 

History

History
 
 

example_work_with_content_controls

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Overview

This plugin shows how to add, edit, and delete content controls using plugins.

It is called "Example work with content controls" in the interface and isn't installed by default in cloud, self-hosted and desktop version of ONLYOFFICE editors.

How to use

  1. Open the Plugins tab and press "Example work with content controls".
  2. In the first field you can remove, edit (setting) or add new content controls. After that press the "Insert/Replace".
  3. In the second field you can past InternalId for remove content control and press the "Remove" button.
  4. Press the "Get All Content Controls" button for get all content controls (info will apear in the third field).
  5. Press the "Change Field State" button for change field state (is content control or not).
  6. Press the "Get Current Field ID" and check console in your browser.

If you need more information about how to use or write your own plugin, please see this https://api.onlyoffice.com/plugin/basic