Skip to content

Commit

Permalink
assignDomNodeClasses method also for SimpleEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningTreeC committed Nov 17, 2024
1 parent fe9825c commit bf07047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/modules/editor/engines/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit bf07047

Please sign in to comment.