merging read and write quill engine
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user