Setting caret after wrapping text
[fnpeditor.git] / modules / rng / rng.js
index a3e746c..1ecdc4e 100644 (file)
@@ -205,6 +205,10 @@ return function(sandbox) {
             commands.updateCurrentNodeElement(nodeElement);
         },
         
+        currentNodeElementChanged: function(nodeElement) {
+            commands.updateCurrentNodeElement(nodeElement);
+        },
+
         contentChanged: function() {
             dirty.documentCanvas = true;
         },