aullman / opentok-editor Goto Github PK
View Code? Open in Web Editor NEWA real time collaborative editor for OpenTok using CodeMirror and ot.js
License: MIT License
A real time collaborative editor for OpenTok using CodeMirror and ot.js
License: MIT License
Yeah, I managed to reproduce the problem by deleting from 2 editors at the same time:
Result: You get an error in the console about "base length not equal" and now updates in the editor are no longer shared between the two machines.
hi all ,i have a issue like above but the situation is like below
"out of sync when typing on same cursor position on several clients" it was giving error like below
1."The operation's base length must be equal to the string's length"
and 2."Both operations have to have the same base length"
3."The base length of the second operation has to be the target length of the first operation" then it terminated the sync between the docs ,and i know these are from the library but i want to show an alert about what went wrong but still the code sync was not coming to normal stage and being unresponsive until i refresh the page .
please help me on this, regarding making code editor responding back with previously valid code (means roll back) ,please suggest me any possible ways
thank you very much in advance
When using this code with the latest version of code mirror the clike languages do not work. Once you get past a single line these errors occurs constantly.
The base length of the second operation has to be the target length of the first operation
Cannot compose operations: first operation is too long.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.