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();
|
throw new Error();
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
applyHTMLOp(docText, op, dom, rangy, ifrWindow);
|
applyHTMLOpHammer(docText, op, dom, rangy, ifrWindow);
|
||||||
var result = patchString(docText, op.offset, op.toRemove, op.toInsert);
|
var result = patchString(docText, op.offset, op.toRemove, op.toInsert);
|
||||||
var innerHTML = getInnerHTML(dom);
|
var innerHTML = getInnerHTML(dom);
|
||||||
if (result !== innerHTML) {
|
if (result !== innerHTML) {
|
||||||
|
|
Loading…
Reference in New Issue