diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js index bd428959d..b1f1ea79d 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js @@ -1636,8 +1636,11 @@ RED.palette.editor = (function() { console.warn(`Error while calling 'onremove' for plugin '${id}': `, error); } } else if (typeof plugin.onadd === 'function') { - // if there's no 'onadd', there shouldn't be any left-overs + // We assume that the plugin adds something to the editor but is not able to remove it + // Notify the user to refresh the editor to remove that plugin found_onremove = false; + } else { + // If there's no 'onadd', there shouldn't be any left-overs } } else { // Either the plugin exists only in the runtime or it is a known limitation