editor: fix - block removing root node via insert/delete
[fnpeditor.git] / src / editor / modules / rng / rng.js
index fc97f99..665d3a9 100644 (file)
@@ -43,6 +43,7 @@ return function(sandbox) {
             sandbox.getModule('nodeFamilyTree').setElement(nodeElement);
             sandbox.getModule('nodeBreadCrumbs').setNodeElement(nodeElement);
             sandbox.getModule('documentToolbar').setNodeElement(nodeElement);
+            sandbox.getModule('metadataEditor').setNodeElement(nodeElement);
         },
         updateCurrentTextElement: function(textElement) {
             sandbox.getModule('nodeFamilyTree').setElement(textElement);