From 1fdd82a27d4a51e97a9be7f426906f990e0e72a9 Mon Sep 17 00:00:00 2001 From: ConnorLand Date: Mon, 15 Jun 2026 15:16:36 +0200 Subject: [PATCH] Add docs --- .../apidocs/studio-pro-10/pluggable-widgets/_index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/pluggable-widgets/_index.md b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/pluggable-widgets/_index.md index 76685538db4..6c2d041c27c 100755 --- a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/pluggable-widgets/_index.md +++ b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/pluggable-widgets/_index.md @@ -68,7 +68,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. * Optionally, a *locales* folder. 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*.