Skip to content

Commit

Permalink
fixed links to Git
Browse files Browse the repository at this point in the history
  • Loading branch information
ovchinnikova-natalya committed Dec 13, 2024
1 parent e99277f commit ba354fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This documentation describes:

Here are some examples of what you can do with ONLYOFFICE DocSpace plugins:

- connect third-party services, like [Draw.io](https://github.com/ONLYOFFICE/docspace-plugins/tree/master/draw-io), [Speech to Text Conversion](https://github.com/ONLYOFFICE/docspace-plugins/tree/master/speech-to-text), etc.;
- connect third-party services, like [Draw.io](https://github.com/ONLYOFFICE/docspace-plugins/tree/master/draw.io), [Speech to Text Conversion](https://github.com/ONLYOFFICE/docspace-plugins/tree/master/speech-to-text), etc.;
- enhance the existing user experience and the editors functionality: [PDF-converter](https://github.com/ONLYOFFICE/docspace-plugins/tree/master/pdf-converter).

Code samples are available at <https://github.com/ONLYOFFICE/docspace-plugins>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ If necessary, define the plugin's UI elements. Consult our [Storybook](https://a
For example, the **draw\.io** plugin contains two main UI elements - the modal window and the diagram editor. Create the files for configuring each element. For your convenience, you can put these files into a separate *DrawIO* folder.
- In the [Dialog.ts](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw-io/src/DrawIO/Dialog.ts) file, configure the modal window settings. Specify the [IFrame](../../Coding%20Plugin/Plugin%20Components/IFrame/index.md) UI component that is used to embed the draw\.io website into a modal window:
- In the [Dialog.ts](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw.io/src/DrawIO/Dialog.ts) file, configure the modal window settings. Specify the [IFrame](../../Coding%20Plugin/Plugin%20Components/IFrame/index.md) UI component that is used to embed the draw\.io website into a modal window:
``` ts
export const frameProps: IFrame = {
Expand Down Expand Up @@ -135,7 +135,7 @@ For example, the **draw\.io** plugin contains two main UI elements - the modal w
}
```
- In the [Editor.ts](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw-io/src/DrawIO/Editor.ts) file, configure the diagram editor. Create the *DiagramEditor* function with the following parameters:
- In the [Editor.ts](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw.io/src/DrawIO/Editor.ts) file, configure the diagram editor. Create the *DiagramEditor* function with the following parameters:
| Parameter | Type | Example | Description |
| -------------- | ------- | ---------------------------- | ----------------------------------------------------------------- |
Expand All @@ -161,7 +161,7 @@ For example, the **draw\.io** plugin contains two main UI elements - the modal w
| initializeEditor | Posts the *load* message to the editor. |
| save | Saves the given data. |
The full code for the *DiagramEditor* can be found [here](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw-io/src/DrawIO/Editor.ts).
The full code for the *DiagramEditor* can be found [here](https://github.com/ONLYOFFICE/docspace-plugins/blob/master/draw.io/src/DrawIO/Editor.ts).
## Step 5. Create plugin types
Expand Down

0 comments on commit ba354fb

Please sign in to comment.