Skip to content

Commit

Permalink
fix: strip form-control from the quill container div if it is set, th…
Browse files Browse the repository at this point in the history
…is class is incompatible with the quill control
  • Loading branch information
lucasnetau committed Oct 26, 2023
1 parent db27e06 commit 533ae80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/control/textarea.quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export default class controlQuill extends controlTextarea {
//Textareas do not have an attribute 'type'
delete attrs['type']
this.field = this.markup('div', null, attrs)
if (this.field.classList.contains('form-control')) {
this.field.classList.remove('form-control')
}
return this.field
}

Expand Down

0 comments on commit 533ae80

Please # to comment.