diff --git a/nodes/core/core/80-function.html b/nodes/core/core/80-function.html
index b64df3dce..e05a55b9c 100644
--- a/nodes/core/core/80-function.html
+++ b/nodes/core/core/80-function.html
@@ -70,6 +70,9 @@
label: function() {
return this.name;
},
+ labelStyle: function() {
+ return this.name?"node_label_italic":"";
+ },
oneditprepare: function() {
var that = this;
$( "#node-input-outputs" ).spinner({
diff --git a/nodes/core/core/80-template.html b/nodes/core/core/80-template.html
index 94fcd453f..f586bb62a 100644
--- a/nodes/core/core/80-template.html
+++ b/nodes/core/core/80-template.html
@@ -97,6 +97,9 @@
label: function() {
return this.name;
},
+ labelStyle: function() {
+ return this.name?"node_label_italic":"";
+ },
oneditprepare: function() {
var that = this;
if (!this.fieldType) {
diff --git a/nodes/core/logic/10-switch.html b/nodes/core/logic/10-switch.html
index cbb0b491e..553bdbbf6 100644
--- a/nodes/core/logic/10-switch.html
+++ b/nodes/core/logic/10-switch.html
@@ -114,6 +114,9 @@
label: function() {
return this.name||"switch";
},
+ labelStyle: function() {
+ return this.name?"node_label_italic":"";
+ },
oneditprepare: function() {
var node = this;
var previousValueType = {value:"prev",label:this._("inject.previous"),hasValue:false};