nextcloud / nextcloud/text

Collaborative editing for other apps (deck, tables, etc)

Open
#8,870 1 comment 0 reactions 1 assignee View on GitHub

@max-nextcloud is already working on this.

Since Jul 13, 2026.

enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
Would be great to edit deck cards and the like collaboratively

Describe the solution you'd like
Allow creating a collaborative editor without a file id.

Describe alternatives you've considered
Different design decisions in terms of api and authorization - but no fundamentally different approach.

Identifier

Currently collaborative editing sessions are identified by the file id of the document. This won't work if there's no file behind the session.

Authorization

We need to make sure:

  • Only users who were granted access can join the session.
  • Only visitors with access to the right tokens can join the session.
  • Read only access is respected (i.e. does not grant editing abilities).
  • The architecture is flexible and works with different apps.

Saving the content

Currently text writes the content to a file. This may be different for other contexts

Contexts

  • Introduce a context_type and context_id in documents.
  • Sessions can be created for a Context.
  • IContext is implemented by FileContext and in deck by DeckCardContext.
  • IContext takes care of authorization and saving the content.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.