arabsight/aurelia-quill-plugin

bind with value doesn't works

titou-from-mars opened this issue · 2 comments

Hi
If you affect a new value to the property bind with quillEditor.value, there is no change in Quill editor. The solution is pretty simple . In quill-editor.js add

valueChanged(newValue) {       
      this.editor.root.innerHTML = newValue;
        
} 

My bad :

valueChanged(newValue) { 
         if(this.editor.root.innerHTML !== newValue) this.editor.root.innerHTML = newValue; 
}

Hi, thanks and sorry for the late response, its fixed.