add mooore content
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# Basic
|
||||
BUG: Headings can’t be transformed to a bullet or ordered list.
|
||||
|
||||
<live-demo name="Examples/Basic" />
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
# Collaborative editing
|
||||
:::warning Public
|
||||
The content of this editor is shared with other users.
|
||||
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.
|
||||
|
||||
If you want to learn more about collaborative text editing, [check out our guide on that topic](/guide/collaborative-editing). Anyway, it’s showtime now:
|
||||
|
||||
:::warning The content of this editor is shared with other users from the Internet.
|
||||
Don’t share your password, credit card numbers or other things you wouldn’t make public.
|
||||
:::
|
||||
|
||||
<!-- <demo name="Examples/Collaboration" :show-source="false"/> -->
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Focus
|
||||
|
||||
<demo name="Examples/Focus" highlight="13,33-36,38" />
|
||||
<demo name="Examples/Focus" highlight="15,37-40,42" />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Minimalist
|
||||
|
||||
<demo name="Examples/Minimalist" highlight="7-9,26-28" />
|
||||
<demo name="Examples/Minimalist" highlight="7-9,25-27" />
|
||||
|
||||
24
docs/src/docPages/guide/collaborative-editing.md
Normal file
24
docs/src/docPages/guide/collaborative-editing.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Collaborative editing
|
||||
|
||||
## Table of Contents
|
||||
|
||||
## Introduction
|
||||
|
||||
Collaborative editing allows multiple users to work on the same text document in real-time. It’s 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
|
||||
|
||||
### WebRTC provider
|
||||
|
||||
### Websocket provider
|
||||
|
||||
### Add cursors
|
||||
|
||||
### Offline support
|
||||
|
||||
## Store the content
|
||||
|
||||
### Client-only implementation
|
||||
|
||||
### Server implementation
|
||||
|
||||
Reference in New Issue
Block a user