X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Ftext.js;h=4abf8fc31ee3c3651cf4d62db7d35b69a6c94cd5;hp=5df6929643b09ead0bbf8489d84f037de20729df;hb=4e90e78dc97789709ee7404359a5517540c27553;hpb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5 diff --git a/_source/core/dom/text.js b/_source/core/dom/text.js index 5df6929..4abf8fc 100644 --- a/_source/core/dom/text.js +++ b/_source/core/dom/text.js @@ -67,6 +67,11 @@ CKEDITOR.tools.extend( CKEDITOR.dom.text.prototype, return this.$.nodeValue; }, + setText : function( text ) + { + this.$.nodeValue = text; + }, + /** * Breaks this text node into two nodes at the specified offset, * keeping both in the tree as siblings. This node then only contains