mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Merge pull request #3376 from matrix-org/bwindels/cider-pills-spellcheck
New composer: disable spell check for pills
This commit is contained in:
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
Block a user