diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
index d65a4f9fd..7f823289e 100644
--- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
+++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
@@ -94,19 +94,7 @@
             }
 
             buttons.forEach(function(button) {
-                var text = "";
-                var titleAttribute="";
-                if (button.icon) {
-                    text = ' ';
-                }
-                if (button.label) {
-                    text += button.label;
-                }
-                if (button.title) {
-                    titleAttribute = 'title="'+button.title+'"';
-                }
-                $('')
-                    .text(text)
+                var element = $('')
                     .appendTo(that.topContainer)
                     .on("click", function(evt) {
                         evt.preventDefault();
@@ -114,6 +102,16 @@
                             button.click(evt);
                         }
                     });
+                    
+                if (button.title) {
+                    element.attr("title", button.title);
+                }
+                if (button.icon) {
+                    element.append($("").attr("class", button.icon));
+                }
+                if (button.label) {
+                    element.append($("").text(" " + button.label));
+                }
             });
  
             if (this.element.css("position") === "absolute") {