Giter Club home page Giter Club logo

collab-editor's Introduction

collab-editor's People

Contributors

johnny243 avatar karolsojko avatar moughxyz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

collab-editor's Issues

True collaboration without web editor

While switching between the plain and the collaboration editor back and forth I discovered that the content of the note all of a sudden contains a header:

id: XXXX
key: XXXX
%%Do not modify above this line%%
...

This for sure could be hidden by the plain text editor but storing these information in the note itself mixes meta data and content which should be avoided. My idea for an alternative implementation:

As soon as a note should be shared the editor is actually creating two items in the database:

  • the first representing a note (type note) without association to any user and therefore encrypted with a new key (as for the current shared notes)
  • the second of the new type shared linked to the author, referencing the note above (references) and containing only the encryption key

This allows other users to add this note to their "notebook" by simply creating another, personal shared item pointing to the same note. Of course this also nicely separates the above mentioned mixing of metadata and content and would allow to skip the web editor. Exchanging of key and link could work similarly as already implemented.

Spontaneous Content Duplication

Content in live document duplicates when the document is out of focus (i.e. in another, inactive, containerized tab).

Here is a document example. Note that the contents do not consistently duplicate as if by copy-paste, but somewhat at random. The likelihood of the document's ID being guessed seems low.

Browser: Firefox 77.0.1
OS: macOS 10.15.5

No preview?

Is there no preview in the standalone editor?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.