Skip to content

Latest commit

 

History

History

example_work_with_content_controls_navigation

Overview

This plugin shows how to get content controls (automatically or manually), navigation content controls, select and paste text.

It is called "Example work with content controls navigation" 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 navigation". You need to add some content controls into document (you can do it before or after the plugin was started).
  2. In the first field you can see all content controls (it is updated automatically). To move to a specific content control, click on it in the list. (It was selected automatically).
  3. Press the "Past "Test paste for document"" for paste text into document (where the cursor localed).
  4. In the second field you can see selected content.
  5. The third field is the same as the first, but it is updated manually (press the "Get All Content Controls" button).
  6. You can click on some content control in document and fhe first and third fields show you the selected content controls.
  7. If you nee select text in content constol - select some content control and press the "Select Current Content Control" button.

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