Set contentEditable for PillParts to false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
829169ec87
commit
98808aabca
|
@ -249,6 +249,7 @@ abstract class PillPart extends BasePart implements IPillPart {
|
||||||
toDOMNode() {
|
toDOMNode() {
|
||||||
const container = document.createElement("span");
|
const container = document.createElement("span");
|
||||||
container.setAttribute("spellcheck", "false");
|
container.setAttribute("spellcheck", "false");
|
||||||
|
container.setAttribute("contentEditable", "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