Set contentEditable for PillParts to false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user