From 2683627a827c9e1b8c10f699fa57b2c7be2729ff Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 2 Sep 2019 14:26:15 +0200 Subject: [PATCH] disable spell check for pills in the new composer --- src/editor/parts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor/parts.js b/src/editor/parts.js index 9ca9205bcd..07062a9ed1 100644 --- a/src/editor/parts.js +++ b/src/editor/parts.js @@ -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);