add mooore content

This commit is contained in:
Hans Pagel
2020-10-05 14:56:45 +02:00
parent a52f95a770
commit 2d82e4e1a7
13 changed files with 80 additions and 40 deletions

View File

@@ -1,3 +1,4 @@
# Basic
BUG: Headings cant be transformed to a bullet or ordered list.
<live-demo name="Examples/Basic" />

View File

@@ -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, its showtime now:
:::warning The content of this editor is shared with other users from the Internet.
Dont share your password, credit card numbers or other things you wouldnt make public.
:::
<!-- <demo name="Examples/Collaboration" :show-source="false"/> -->

View File

@@ -1,3 +1,3 @@
# Focus
<demo name="Examples/Focus" highlight="13,33-36,38" />
<demo name="Examples/Focus" highlight="15,37-40,42" />

View File

@@ -1,3 +1,3 @@
# Minimalist
<demo name="Examples/Minimalist" highlight="7-9,26-28" />
<demo name="Examples/Minimalist" highlight="7-9,25-27" />

View 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. 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
### WebRTC provider
### Websocket provider
### Add cursors
### Offline support
## Store the content
### Client-only implementation
### Server implementation