-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
"track changes" feature
- show a character-based "diff view" of the document. deletions are red, inserts are green
- allow to accept or reject changes, so the deletions are finally removed, and the inserts lose the green color
useful to
- moderate changes from untrusted sources
- improve end-user involvement by in-place editing of documents
example
context-before this-text-was-deletedthis-text-was-inserted context-after
accept this change:
context-before this-text-was-inserted context-after
note that this-text-was- is redundant, its both in deleted and inserted text.
this is desired, to visualize the human-intended change,
not the machine-interpreted change, which would produce a smaller diff
demos
- ckeditor with "track changes" feature
- also has "accept/reject changes" feature
- "premium plugin" = commercial
- prosemirror with "track changes" feature
- using the "track changes" module of fiduswriter
- my from-scratch implementation of a "track changes" editor
- buggy, incomplete
challenges
visualize deletion of style. example: mix html tags with rich text
context-before <b>content-is-same</b> context-after
plugin
Might this feature be better suited to being a plugin?
"show deleted text" should be possible with the current etherpad-lite
"accept/reject changes" ...
send accept/reject events to other users.
permissions: who can accept/reject changes? who "owns" the document?
how to resolve conflicts? -> allow users to start "hostile" forks
imitate git branches and github PRs/forks? -> nonlinear history