mirror of https://github.com/xwiki-labs/cryptpad
use the slower version of applyHTMLOp
This commit is contained in:
parent
b6523adb1f
commit
a6b88e276c
|
@ -460,7 +460,7 @@ define([
|
|||
throw new Error();
|
||||
}
|
||||
try {
|
||||
applyHTMLOp(docText, op, dom, rangy, ifrWindow);
|
||||
applyHTMLOpHammer(docText, op, dom, rangy, ifrWindow);
|
||||
var result = patchString(docText, op.offset, op.toRemove, op.toInsert);
|
||||
var innerHTML = getInnerHTML(dom);
|
||||
if (result !== innerHTML) {
|
||||
|
|
Loading…
Reference in New Issue