add premium hints everywhere, add premium flags to the navigation, add a license page

This commit is contained in:
Hans Pagel
2020-10-28 18:05:20 +01:00
parent 83eac2ddd8
commit 86c528830c
12 changed files with 168 additions and 12 deletions

View File

@@ -1,2 +1,35 @@
# Collaboration Cursor
:::premium Premium Extension
Using this in production requires a **tiptap pro** license. [Read more](/tiptap-pro)
:::
## Installation
```bash
# With npm
npm install @tiptap/extension-collaboration-cursor
# Or: With Yarn
yarn add @tiptap/extension-collaboration-cursor
```
## Settings
| Option | Type | Default | Description |
| -------- | ---- | ------- | ----------- |
| provider | | | |
| type | | | |
## Commands
*None*
## Keyboard shortcuts
*None*
## Source code
[packages/extension-collaboration-cursor/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-collaboration-cursor/)
## Usage
:::warning Public
The content of this editor is shared with other users.
:::
<demo name="Extensions/CollaborationCursor" highlight="" />

View File

@@ -1,8 +1,8 @@
# Collaboration
The Collaboration extension enables you to collaborate with others on one document. The implementation is based on [Y.js by Kevin Jahns](https://github.com/yjs/yjs), which is the coolest thing to [integrate collaborative editing](/guide/collaborative-editing) in your project.
:::pro Premium Extension
Using this in production requires a **tiptap pro** license. [Read more](/license)
:::premium Premium Extension
Using this in production requires a **tiptap pro** license. [Read more](/tiptap-pro)
:::
## Installation

View File

@@ -1,4 +1,9 @@
# Collaborative editing
:::premium Requires Premium Extensions
Using this example in production requires a **tiptap pro** license. [Read more](/tiptap-pro)
:::
This example shows how you can use tiptap to let different users collaboratively work on the same text in real-time.
It connects client with WebRTC and merges changes to the document (no matter where they come from) with the awesome library [Y.js](https://github.com/yjs/yjs) by Kevin Jahns. Be aware that in a real-world scenario you would probably add a server, which is also able to merge changes with Y.js.

View File

@@ -1,9 +1,12 @@
# Collaborative editing
:::premium Requires Premium Extensions
Using the collaborative editing in production requires a **tiptap pro** license. [Read more](/tiptap-pro)
:::
## toc
## Introduction
Collaborative editing allows multiple users to work on the same text document in real-time. Its a complex topic that you should be aware before adding it blindly to you app. No worries though, here is everything you need to know.
## Configure collaboration

View File

@@ -0,0 +1,3 @@
# tiptap pro
[Sponsor us on GitHub](https://github.com/sponsors/ueberdosis)