Fixing borders around inline document node elements which text starts at a new line
[fnpeditor.git] / modules / documentCanvas / canvas / documentElement.js
index 3601732..384186f 100644 (file)
@@ -364,7 +364,7 @@ $.extend(DocumentNodeElement.prototype, {
     },
 
     toggleHighlight: function(toogle) {
-        this.dom().toggleClass('highlighted-element');
+        this._container().toggleClass('highlighted-element');
     }
 });