We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c472fa commit 55af55aCopy full SHA for 55af55a
blots/embed.js
@@ -9,7 +9,7 @@ class Embed extends Parchment.Embed {
9
super(node);
10
this.contentNode = document.createElement('span');
11
this.contentNode.setAttribute('contenteditable', false);
12
- [].slice.call(this.domNode.childNodes).forEach(function(childNode) {
+ [].slice.call(this.domNode.childNodes).forEach((childNode) => {
13
this.contentNode.appendChild(childNode);
14
});
15
this.leftGuard = document.createTextNode(GUARD_TEXT);
0 commit comments