Answers for "how to add multiple quill rich text editor"

0

how to add multiple quill rich text editor

var editorId = ["#addCorpEditor", "#editCorpEditor", "#addOtherEditor", "#editOtherEditor", "#addAnnexureEditor", "#editAnnexureEditor"];

for(editor of editorId){
	createEditor(editor);
}

function createEditor(selector) {
  let quill = new Quill(selector, {
    theme: 'snow',
    placeholder: 'Add your content here',
  });
}
Posted by: Guest on March-13-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language