diff --git a/web_interface/static/v3/js/widgets/example-color-picker.js b/web_interface/static/v3/js/widgets/example-color-picker.js index ea0a1d8b..4121bca5 100644 --- a/web_interface/static/v3/js/widgets/example-color-picker.js +++ b/web_interface/static/v3/js/widgets/example-color-picker.js @@ -8,6 +8,10 @@ * 1. Copy this file to your plugin's widgets directory * 2. Reference it in your config_schema.json with "x-widget": "color-picker" * 3. The widget will be automatically loaded when the plugin config form is rendered + * + * Do NOT add this file to base.html's widget script list: it registers + * under the name 'color-picker' and would shadow the built-in + * color-picker.js widget. * * @module ColorPickerWidget */ diff --git a/web_interface/templates/v3/base.html b/web_interface/templates/v3/base.html index 2223106c..3f3edcc1 100644 --- a/web_interface/templates/v3/base.html +++ b/web_interface/templates/v3/base.html @@ -989,6 +989,9 @@ + + +