editor: WrapTextAction plays nice and returns a new document fragment
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / documentElement.js
index b91c3c1..27160e7 100644 (file)
@@ -47,10 +47,6 @@ $.extend(DocumentElement.prototype, {
         return other && (typeof other === typeof this) && other.dom()[0] === this.dom()[0];
     },
 
-    markAsCurrent: function() {
-        this.canvas.markAsCurrent(this);
-    },
-
     getVerticallyFirstTextElement: function() {
         var toret;
         this.children().some(function(child) {