X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2f3c62f37144eb3878382f9cc655848965faea02..3b0a39df2e007f33b027b665f0f42604aecfc8b9:/src/smartxml/smartxml.js diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js index b81b0f0..53eefed 100644 --- a/src/smartxml/smartxml.js +++ b/src/smartxml/smartxml.js @@ -209,6 +209,10 @@ $.extend(TextNode.prototype, DocumentNode.prototype, { return this.nativeNode.data; }, + setText: function(text) { + this.nativeNode.data = text; + }, + appendText: function(text) { this.nativeNode.data = this.nativeNode.data + text; },