1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-04 14:30:28 +00:00

assignDomNodeClasses method also for SimpleEngine

This commit is contained in:
BurningTreeC 2024-11-17 09:39:33 +01:00
parent fe9825c133
commit bf07047f09

View File

@ -68,6 +68,10 @@ function SimpleEngine(options) {
this.widget.domNodes.push(this.domNode);
}
SimpleEngine.prototype.assignDomNodeClasses = function() {
this.domNode.className = this.widget.getAttribute("class","");
};
/*
Set the text of the engine if it doesn't currently have focus
*/