From 1f8d215b252a6a7e22319a78b1c4849806e40596 Mon Sep 17 00:00:00 2001 From: ConnorLand Date: Mon, 15 Jun 2026 15:21:02 +0200 Subject: [PATCH] add docs --- .../apidocs/studio-pro-11/pluggable-widgets/_index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/_index.md b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/_index.md index 83216d99e62..22b808cf57f 100644 --- a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/_index.md +++ b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/_index.md @@ -69,7 +69,8 @@ A widget package file is just a ZIP archive containing the following things: * *{widgetName}.tile.png* sets the tile image inside the Studio Pro toolbox in tile view (the ideal image size is 256x192 pixels, but other sizes will be resized to fit) * *{widgetName}.tile.dark.png* sets the dark-mode equivalent to *{widgetName}.tile.png* * Optionally, some widget-related resources, preferably located next to the file which contains the client component - * Note that all CSS files you add (except the one located in the **lib** sub-directory) will automatically be loaded in an app via the widget + * All CSS files you add (except the ones located in the **lib** sub-directory) will automatically be loaded in an app via the widget. + * When the React client is enabled for an app, any `assets` directories in a widget package are automatically copied to the widget's directory under `dist` during bundling. This ensures that all asset files from a pluggable widget are included in the final build and available at runtime. Naming your widget package file after the `widgetName` is best practice. Also, a widget package can include multiple widgets by putting several of the above items in the same widget package. However, creating such packages is *not recommended*.