mirror of https://github.com/vector-im/riot-web
disable spell check for pills in the new composer
parent
c219f925c6
commit
2683627a82
|
@ -164,6 +164,7 @@ class PillPart extends BasePart {
|
||||||
|
|
||||||
toDOMNode() {
|
toDOMNode() {
|
||||||
const container = document.createElement("span");
|
const container = document.createElement("span");
|
||||||
|
container.setAttribute("spellcheck", "false");
|
||||||
container.className = this.className;
|
container.className = this.className;
|
||||||
container.appendChild(document.createTextNode(this.text));
|
container.appendChild(document.createTextNode(this.text));
|
||||||
this.setAvatar(container);
|
this.setAvatar(container);
|
||||||
|
|
Loading…
Reference in New Issue