Git Product home page Git Product logo

Comments (3)

3xxx avatar 3xxx commented on July 23, 2024

抱歉,我只是调用了协作服务onlyoffice document server,并没有去开发一个协作应用,所以,对于里面的机理不清楚。
同时编辑一段话,就会彼此互相插入……你试试我的demo里就应该能体会。
实际上,协作的话不必太过于纠结这个的,一般都有分工。

from engineercms.

pinetreeps avatar pinetreeps commented on July 23, 2024

抱歉,我只是调用了协作服务onlyoffice document server,并没有去开发一个协作应用,所以,对于里面的机理不清楚。
同时编辑一段话,就会彼此互相插入……你试试我的demo里就应该能体会。
实际上,协作的话不必太过于纠结这个的,一般都有分工。

非常感谢您的回复,再请问一下,例如用户A、用户B同时编辑一个文档前,文档id是如何传递的呢?

from engineercms.

3xxx avatar 3xxx commented on July 23, 2024

你看它api,文档id只是作为文档管理来用,而onlyoffice只认key,每个用户都用这个key取到内存中的最新的文档——浏览器打开文档——协作——服务器更新——所有用户更新。大概这个意思,你看它官网有解释的图。

from engineercms.

Related Issues (20)

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.