Roo/bootstrap/form/HtmlEditorToolbar/Context.js
authorAlan <alan@roojs.com>
Fri, 10 Feb 2023 07:02:47 +0000 (15:02 +0800)
committerAlan <alan@roojs.com>
Fri, 10 Feb 2023 07:02:47 +0000 (15:02 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Context.js

index fa1ce58..54c027b 100644 (file)
@@ -467,7 +467,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Context, Roo.bootstrap.nav.Simpl
         }
         // based on attributes...
         this.active_group.forEach(function(e) {
-             e.setValue(this.selectedNode.getAttribute(e.name));
+             e.setValue(this.selectedNode.getAttribute(e.attrname));
         }, this);
         this.show();