y-prosemirror
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -861,3 +861,3 @@ 'use strict'; | ||
*/ | ||
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name; | ||
const matchNodeName = (yElement, pNode) => !(pNode instanceof Array) && yElement.nodeName === pNode.type.name; | ||
@@ -864,0 +864,0 @@ /** |
{ | ||
"name": "y-prosemirror", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Prosemirror bindings for Yjs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/y-prosemirror.js", |
@@ -695,2 +695,2 @@ /** | ||
*/ | ||
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name | ||
const matchNodeName = (yElement, pNode) => !(pNode instanceof Array) && yElement.nodeName === pNode.type.name |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2397306