1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fixed attribute assignment

This commit is contained in:
Jeremy Ruston 2013-03-28 21:47:51 +00:00
parent 8146d57190
commit d99db91dd5

View File

@ -85,6 +85,7 @@ TextEditor.prototype.render = function() {
this.editWidget.attributes["class"] += " " + this.editWidget.renderer.parseTreeNode.attributes["class"].value;
}
if(this.editWidget.renderer.parseTreeNode.attributes.style) {
this.editWidget.attributes.style = this.editWidget.attributes.style || "";
this.editWidget.attributes.style += this.editWidget.renderer.parseTreeNode.attributes.style.value;
}
this.editWidget.children = this.editWidget.renderer.renderTree.createRenderers(this.editWidget.renderer.renderContext,[node]);