JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / core / dom / text.js
index 5df6929..4abf8fc 100644 (file)
@@ -67,6 +67,11 @@ CKEDITOR.tools.extend( CKEDITOR.dom.text.prototype,
                        return this.$.nodeValue;\r
                },\r
 \r
+               setText : function( text )\r
+               {\r
+                       this.$.nodeValue = text;\r
+               },\r
+\r
                /**\r
                 * Breaks this text node into two nodes at the specified offset,\r
                 * keeping both in the tree as siblings. This node then only contains\r