Set contentEditable for PillParts to false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
829169ec87
commit
98808aabca
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ abstract class PillPart extends BasePart implements IPillPart {
|
|||
toDOMNode() {
|
||||
const container = document.createElement("span");
|
||||
container.setAttribute("spellcheck", "false");
|
||||
container.setAttribute("contentEditable", "false");
|
||||
container.className = this.className;
|
||||
container.appendChild(document.createTextNode(this.text));
|
||||
this.setAvatar(container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue