cryptpad/chainpad

Reverted backspaces

cjdelisle opened this issue · 2 comments

Calls to pluggable OT function are not providing the correct text input leading to reverted backspaces

Problem we believe is on line 222 of Patch.js where the text is being changes when it should not be.
https://github.com/xwiki-contrib/chainpad/blob/22e834b2423d9b69b79d6f1eb8f2bff50274cb8e/client/Patch.js#L222
If we are correct, this line is causing the OT function to be fed with an incorrect input and it should simply be removed.

fixed in 71e30f890dc8847f95de46e48f07fbedad193829 and d527c8d