Comment ajouter plusieurs éditeurs de texte riche en quill
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',
});
}
UK