surmon-china / ngx-quill-editor

🍡@quilljs editor component for @angular
https://github.surmon.me/ngx-quill-editor
MIT License
232 stars 54 forks source link

Include HTML Input Tags and Bind with Angular #57

Open dannychase2004 opened 6 years ago

dannychase2004 commented 6 years ago

Hi,

I would like to include HTML Input tags, and use two-way binding in Angular. Is this possible? I'd be willing to do whatever is needed, here's what I'm trying to do:

public myValue = 5; public htmlModel = "Here is a text box: <input type='text' [(ngModel)]='myValue'>";

then: <quill-editor [(ngModel)]="htmlModel"

What I'm finding, is the INPUT field is stripped out completely. What could I do to accomplish this? Like I said I'm not above modifying and contributing.