fix(quill): Don't render content as editable
This commit is contained in:
parent
1f942b7f71
commit
9e77cce901
@ -120,7 +120,9 @@ jQuery(function($){
|
|||||||
function loadQuill(object, delta){
|
function loadQuill(object, delta){
|
||||||
var tmp=$("<div></div>");
|
var tmp=$("<div></div>");
|
||||||
(new Quill(tmp[0])).setContents(JSON.parse(delta));
|
(new Quill(tmp[0])).setContents(JSON.parse(delta));
|
||||||
|
tmp.children().attr("contenteditable", false);
|
||||||
$(object).html(tmp.html());
|
$(object).html(tmp.html());
|
||||||
|
tmp.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
//add leading zeros
|
//add leading zeros
|
||||||
|
Loading…
Reference in New Issue
Block a user