Skip to content

Commit d1c9c30

Browse files
Added demos and links for import, export and conversion api
1 parent 388c991 commit d1c9c30

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

Diff for: src/content/collaboration/documents/conversion.mdx

+9-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@ meta:
55
description: Use Tiptap to convert documents from docx, odt or markdown to Tiptap
66
category: Collaboration
77
---
8-
8+
import { CodeDemo } from '@/components/CodeDemo'
99
import { Callout } from '@/components/ui/Callout'
1010

11-
The document conversion API is capable of DOCX, ODT and Markdown conversion from and to Tiptap’s JSON format.
12-
1311
<Callout title="Beta" variant="hint">
14-
This feature is currently in beta and available to all users with a Tiptap account.
12+
This feature is currently in beta and available to all users with a Tiptap account.
1513
</Callout>
1614

15+
The document conversion API is capable of DOCX, ODT and Markdown conversion from and to Tiptap’s JSON format.
16+
17+
The following demo is using the Document conversion API by integrating both, the [import](/editor/extensions/functionality/import) and [export](/editor/extensions/functionality/export) extensions into the editor.
18+
19+
<CodeDemo isPro path="/Extensions/ImportExport" />
20+
21+
1722
<Callout title="Review the postman collection" variant="hint">
1823
You can also experiment with the Document Conversion API by heading over to our [Postman
1924
Collection](https://www.postman.com/docking-module-explorer-14290287/workspace/tiptap-collaboration-public/collection/33042171-cc186a66-df41-4df8-9c6e-e91b20deffe5?action=share&creator=32651125).

Diff for: src/content/editor/extensions/functionality/export.mdx

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ import { CodeDemo } from '@/components/CodeDemo'
2121

2222
Export Tiptap's editor content to various formats like docx, odt, and markdown.
2323

24+
We also have an [Import extension](/editor/extensions/functionality/import), or you can review an example that does both import and export [over here](/collaboration/documents/conversion).
25+
26+
2427
<Callout title="Beta release" variant="hint">
2528
This extension is accessible to anyone with a Tiptap account. To install the extension you need
2629
access to our [private registry](/guides/pro-extensions), set this up first.
2730
</Callout>
2831

29-
## Example
30-
31-
<CodeDemo isPro path="/Extensions/ImportExport" />
32+
<CodeDemo isPro path="/Extensions/Export" />
3233

3334
## Setup JWT authentication on your server
3435

Diff for: src/content/editor/extensions/functionality/import.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ import { CodeDemo } from '@/components/CodeDemo'
2121

2222
Import documents from various formats like docx, odt, and markdown and convert them to Tiptap's JSON format.
2323

24+
We also have an [Export extension](/editor/extensions/functionality/export), or you can review an example that does both import and export [over here](/collaboration/documents/conversion).
25+
2426
<Callout title="Beta release" variant="hint">
2527
This extension is accessible to anyone with a Tiptap account. To install the extension you need
2628
access to our [private registry](/guides/pro-extensions), set this up first.
2729
</Callout>
2830

29-
## Example
30-
31-
<CodeDemo isPro path="/Extensions/ImportExport" />
31+
<CodeDemo isPro path="/Extensions/Import" />
3232

3333
## Authenticate on your server
3434

0 commit comments

Comments
 (0)