mirror of https://github.com/vector-im/riot-web
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() {
|
||||
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…
Reference in New Issue