1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 16:24:51 +00:00

Fixed problem with obtaining stringified version of field content

This commit is contained in:
Jeremy Ruston 2012-04-10 14:38:09 +01:00
parent 6479fff012
commit f89ca3c338

View File

@ -170,7 +170,7 @@ TextEditor.prototype.getContent = function() {
field = this.macroNode.hasParameter("field") ? this.macroNode.params.field : "title", field = this.macroNode.hasParameter("field") ? this.macroNode.params.field : "title",
value; value;
if(tiddler) { if(tiddler) {
value = tiddler[field]; value = tiddler.getFieldString(field);
} else { } else {
switch(field) { switch(field) {
case "text": case "text":