Skip to content

Conversation

thet
Copy link
Member

@thet thet commented Feb 3, 2022

No description provided.

@thet thet force-pushed the scr-1709--collaboration branch from 0f701f4 to 72d0d14 Compare September 26, 2023 23:46
…o is working on what section in the same document.
In our current implementation of the collaboration mode, there is a main connection.
The main connection is the one first connecting to the collaboration server.
This one reads the text from the textarea input field (or another strucutre) and passes it to the tiptap instance.
If only the main connection updates the textdocument other clients connecting later will not overwrite the text.

All clients are syncing changes back to the textarea input.
This also means any client should be able to sumit the content back to the server.

A future addition would be to get/set the text only through the collaboration server which always has the latest state.
If this more sophisticated mehtod is really needed we will implement it later.
… DRAFT /1

NOTE: this would contradict the current mode where only what is defined
in the toolbar is actually allowed as HTML. this is limiting! better, we
define a default set of extension per mime type. this can then also be
imported in the tiptap collaboration server to construct a valid
representation of the content and be able to store that from there back
to the backend.
@thet thet force-pushed the scr-1709--collaboration branch from 72d0d14 to 336ebd2 Compare September 30, 2023 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant