disable spell check for pills in the new composer

This commit is contained in:
Bruno Windels 2019-09-02 14:26:15 +02:00
parent c219f925c6
commit 2683627a82

View file

@ -164,6 +164,7 @@ class PillPart extends BasePart {
toDOMNode() {
const container = document.createElement("span");
container.setAttribute("spellcheck", "false");
container.className = this.className;
container.appendChild(document.createTextNode(this.text));
this.setAvatar(container);