Fix/Widget css leading space (#9427)

* fix: trim tc-reveal class

* test: " tc-reveal" -> "tc-reveal"

* Create #9427.tid

* fix: more widgets

* Update #9427.tid
This commit is contained in:
lin onetwo
2025-11-12 19:57:02 +08:00
committed by GitHub
parent 7a9235e9d1
commit e339f112a4
13 changed files with 23 additions and 12 deletions

View File

@@ -130,7 +130,7 @@ EventWidget.prototype.execute = function() {
EventWidget.prototype.assignDomNodeClasses = function() {
var classes = this.getAttribute("class","").split(" ");
classes.push("tc-eventcatcher");
this.domNode.className = classes.join(" ");
this.domNode.className = classes.join(" ").trim();
};
/*