merging read and write quill engine

This commit is contained in:
2018-11-22 21:22:41 +01:00
parent bcdcf0d2f0
commit 3a53121fe2
12 changed files with 368 additions and 341 deletions

View File

@@ -74,13 +74,7 @@ var Tools = {
.slideDown('fast')
.delay(5000)
.slideUp('fast', function(){$(this).remove();});
},
quill2Html: function(asDelta) {
var tempCont = document.createElement("div");
(new Quill(tempCont)).setContents(asDelta);
return tempCont.getElementsByClassName("ql-editor")[0].innerHTML;
}
}
};
function emptyBox(element, text)