DocSpace plugin samples
The following examples will show you how to create and use ONLYOFFICE DocSpace plugins to add specific features to the portal.
Basic samples
API plugin
Create a plugin that makes authorized API requests.
Box component
Configure and use the Box layout component.
Button component
Render and configure the Button component.
ComboBox component
Configure and use the ComboBox dropdown component.
Context menu plugin
Add a custom item to the file context menu.
File plugin
Add support for a custom file extension with icons.
Main button plugin
Add a custom button to the main toolbar.
Profile menu plugin
Add a custom item to the user profile menu.
Settings plugin
Add a configuration panel to the plugin settings area.
Text component
Configure and use the Text display component.
ToggleButton component
Configure and use the ToggleButton component.
Advanced samples
File extension filter plugin
Filter and display files by extension in a modal dialog.
Modal dialog plugin
Create files through a modal dialog with API calls.
Settings plugin UI
Build an admin settings interface with form controls.
Ready-to-use samples
Draw.io
Create diagrams and flowcharts with the Draw.io plugin.
Markdown
View, edit, and create Markdown files in DocSpace.
PDF converter
Convert documents, spreadsheets, and presentations to PDF.
Speech to text
Recognize and convert spoken speech into text.