Skip to content

Commit 55af55a

Browse files
committed
fix this reference
1 parent 4c472fa commit 55af55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blots/embed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Embed extends Parchment.Embed {
99
super(node);
1010
this.contentNode = document.createElement('span');
1111
this.contentNode.setAttribute('contenteditable', false);
12-
[].slice.call(this.domNode.childNodes).forEach(function(childNode) {
12+
[].slice.call(this.domNode.childNodes).forEach((childNode) => {
1313
this.contentNode.appendChild(childNode);
1414
});
1515
this.leftGuard = document.createTextNode(GUARD_TEXT);

0 commit comments

Comments
 (0)