Make mention blot non-contenteditable
This commit is contained in:
parent
99bcad0bd9
commit
c4dc3f3bcb
1 changed files with 1 additions and 1 deletions
|
@ -67,6 +67,6 @@ export class MentionBlot extends Embed {
|
|||
constructor(node: Node) {
|
||||
super(node);
|
||||
|
||||
this.contentNode.removeAttribute('contenteditable');
|
||||
this.contentNode.setAttribute('contenteditable', 'false');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue