Convert Quill Delta to HTML

Not very elegant, but this is how I had to do it. function quillGetHTML(inputDelta) { var tempCont = document.createElement(“div”); (new Quill(tempCont)).setContents(inputDelta); return tempCont.getElementsByClassName(“ql-editor”)[0].innerHTML; } Obviously this needs quill.js.

How can I add a new format ( tag) to Quill.js?

I have still no idea why the question has downvotes, but however here is the solution: Import the embed blot – important: not “block”, not “embed”, “block/embed”! var Embed = Quill.import(‘blots/block/embed’); Define a new class that extends that Embed class Hr extends Embed { static create(value) { let node = super.create(value); // give it some … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)