mirror of https://github.com/vector-im/riot-web
Merge pull request #3376 from matrix-org/bwindels/cider-pills-spellcheck
New composer: disable spell check for pillspull/21833/head
commit
5565eca0cb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue