editor: return fragments from actions, set this fragment on canvas if possible
[fnpeditor.git] / src / smartxml / smartxml.js
index 8924e7f..e2cdc9b 100644 (file)
@@ -247,6 +247,11 @@ $.extend(TextNode.prototype, {
         return this.nativeNode.data;
     },
 
+
+    containsNode: function() {
+        return false;
+    },
+
     triggerTextChangeEvent: function() {
         var event = new events.ChangeEvent('nodeTextChange', {node: this});
         this.document.trigger('change', event);