integration wip: highlight/dim/select node via breadcrumbs
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / utils.js
index 41a2a0a..327b0b0 100644 (file)
@@ -46,7 +46,7 @@ var findCanvasElementInParent = function(wlxmlChildNode, wlxmlParentNode) {
 return {
     nearestInDocumentOrder: nearestInDocumentOrder,
     findCanvasElement: findCanvasElement,
 return {
     nearestInDocumentOrder: nearestInDocumentOrder,
     findCanvasElement: findCanvasElement,
-    findTextElementInParent: findTextElementInParent,
+    findCanvasElementInParent: findCanvasElementInParent,
     unicode: {
         ZWS: '\u200B'
     }
     unicode: {
         ZWS: '\u200B'
     }