ot.js
ot.js copied to clipboard
Error when editing: Uncaught TypeError: Cannot call method 'transform' of undefined
To reproduce: (can reproduce at http://ot.substance.io/demo/)
- Go to page, clear all text from editor, close window.
- Open page in two windows (with Chrome inspector or other tool open).
- Type one character (I used "a") in editor in one window
- Type one character in editor in other window.
- Error is thrown
Sometimes if you keep typing the following error is thrown many times:
Uncaught Error: Both operations have to have the same base length
From the user perspective, there appears to be no issue. Maybe it's not actually worth fixing?