/build/pdf.worker.min.mjs` (for example, version 5.4.296 for Document Viewer version 1.3.0).
* Alternatively, users can grab `pdf.worker.mjs` from `{LOCAL DEV PROJECT FOLDER HERE}/deployment/web/widgets/com/mendix/shared/pdfjs/pdf.worker.mjs`, put it into their own `App Module -> Styling/web/js/pdf.worker.mjs` file, and then set `./js/pdf.worker.mjs` as the worker URL configuration. This is the recommended practice to support [CSP](/howto/security/csp/).
### Common Tab
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/events.md b/content/en/docs/marketplace/platform-supported-content/widgets/events.md
index 4ff2e898c36..2be5e2f46bf 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/events.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/events.md
@@ -38,9 +38,13 @@ Some common usage examples:
Property configurations:
* **Action** – Specifies the selected action that will be executed.
-* **Delay** – Puts a timer delay on the first executed action. The value is in milliseconds. Setting it to **0** will execute the action immediately.
-* **Repeat** – Selecting **Yes** will repeat the event execution based on the repeat delay timer.
- * **Delay** – Time interval between repeated action executions. The value is in milliseconds.
+* **Parameter type** – Determines whether **Delay** is set as a fixed **Value** (default) or as an **Expression** that returns an Integer.
+* **Delay** – Puts a timer delay on the first executed action. The value is in milliseconds. Setting it to **0** (default) will execute the action immediately.
+* **Repeat** – Selecting **Yes** will repeat the event execution based on the repeat interval timer. The default is **No**.
+ * **Parameter type** – Determines whether **Interval** is set as a fixed **Value** (default) or as an **Expression** that returns an Integer.
+ * **Interval** – Time interval between repeated action executions. The value is in milliseconds. The default is **30000**.
+
+When **Repeat** is enabled, the next execution does not start if the previous execution has not finished yet.
#### On Change
@@ -50,4 +54,5 @@ Property configurations:
* **Attribute** - Specifies the attribute that will be listened into. The **action** will be executed when this attribute value changed.
* **Action** - Specifies the **action** that will be executed.
-* **Delay** - Adds a timer delay to the first executed event. The value is in milliseconds. Setting it to **0** will execute the action immediately.
+* **Parameter type** - Determines whether **Delay** is set as a fixed **Value** (default) or as an **Expression** that returns an Integer.
+* **Delay** - Adds a timer delay to the first executed event. The value is in milliseconds. Setting it to **0** (default) will execute the action immediately.
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/htmlelement.md b/content/en/docs/marketplace/platform-supported-content/widgets/htmlelement.md
index 94fd03a9423..d55181a416f 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/htmlelement.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/htmlelement.md
@@ -17,19 +17,19 @@ Almost any arbitrary custom HTML configuration can be used with HTML Element. He
* Embedded video:
- {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-embedded-html.png" class="no-border" >}}
+ {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-embedded-html.png" alt="HTML Element widget showing an embedded video" class="no-border" >}}
* Text formatting:
- {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-formatting-text.png" class="no-border" >}}
+ {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-formatting-text.png" alt="HTML Element widget showing formatted text" class="no-border" >}}
* Building a custom UI component:
- {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-custom-ui.png" class="no-border" >}}
+ {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-custom-ui.png" alt="HTML Element widget showing a custom UI component" class="no-border" >}}
* Custom-tailored HTML:
- {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-tailored-html.png" class="no-border" >}}
+ {{< figure src="/attachments/appstore/platform-supported-content/widgets/htmlelement/sample-tailored-html.png" alt="HTML Element widget showing custom-tailored HTML" class="no-border" >}}
## Configuration
@@ -44,19 +44,26 @@ To configure this widget, follow these steps:
#### HTML Element Section
* **Tag name** – Sets the type of the element (such as div, span, or img). If you would like to add a custom name for the element, select **Use custom name** in the drop-down menu.
+* **Custom tag** (Visible if **Tag name** is set to **Use custom name**) – The name of the custom element. The `script` tag is not supported.
+ * Default: **div**
* **Repeat element**
* **Yes** – If selected, repeats the element for each item in the data source assigned.
* **No** (default) – If selected, the element is rendered once.
-* **Content**
+* **Data source** (Visible if **Repeat element** is set to **Yes**) – The data source that provides the items for which the element is repeated.
+* **Content** – Not available for void elements that cannot have children, such as `img`.
* **Container for widgets** (default) – If selected, the widget acts as a container for other widgets.
* **HTML** – If selected, uses custom HTML markup as defined in the HTML settings.
-* **HTML** (Visible if **Content** option is set to **HTML**) – Can be either an expression or a text template. This defines custom HTML markup for the widget, therefore the value should be valid HTML as it will be inserted as HTML element content.
+* **HTML** (Visible if **Content** option is set to **HTML**) – A text template that defines custom HTML markup for the widget, therefore the value should be valid HTML as it will be inserted as HTML element content.
+* **Content** (Visible if **Content** option is set to **Container for widgets**) – The widgets placed inside the element.
#### HTML Attributes Section
-* **Attributes** – sets the attributes to be assigned into the HTML element.
+* **Attributes** – sets the attributes to be assigned into the HTML element, for example `title` or `href`. If `class` or `style` is added as an attribute, it is merged with the widget's **Class** or **Style** property. For events such as `onClick`, use the [Events](#events-tab) tab. Each attribute has the following properties:
+ * **Name** – The name of the attribute. Each attribute name must be unique.
+ * **Value based on** – Determines whether the value is an **Expression** (default) or a **Text template**.
+ * **Value** – The value of the attribute.
-### Events Tab
+### Events Tab {#events-tab}
Sets the events for the created HTML element.
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/image-cropper.md b/content/en/docs/marketplace/platform-supported-content/widgets/image-cropper.md
index fc06cb8b61b..0443e82d582 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/image-cropper.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/image-cropper.md
@@ -65,6 +65,9 @@ The **Crop area** section is used to configure the shape and proportions of the
* **Custom aspect height** (default **1**) – The height side of the ratio (for example, *2* in 3:2).
* Configurable when **Aspect ratio** is set to **Custom**.
* When either the custom width or custom height is not greater than *0*, the selection falls back to a free-form shape.
+* **Initial crop size (%)** (default **80**) – Sets the size of the crop box when it first appears and after a reset.
+ * The value is a percentage (1–100) of the largest box that fits the image at the selected aspect ratio.
+ * The crop box is centered. A value of *100* makes the crop box as large as possible.
{{< figure src="/attachments/appstore/platform-supported-content/widgets/image-cropper/image-cropper-circle-demo.gif" alt="Cropping an image with a circular crop shape" class="no-border" >}}
@@ -130,6 +133,27 @@ The **Zoom** section is used to configure how the end-user zooms the image. It i
* A value of *4* means the image can be zoomed up to four times the canvas size.
* This value must be greater than **Minimum zoom**.
+### Accessibility Tab {#accessibility}
+
+#### Toolbar Captions Section
+
+The **Toolbar captions** section is used to configure the visible texts of the widget. It includes the following properties:
+
+* **Grayscale caption** (default **Grayscale**) – The visible text and tooltip for the grayscale toggle.
+* **Reset caption** (default **Reset**) – The visible text and tooltip for the reset button.
+* **Zoom caption** (default **Zoom**) – The visible label for the zoom slider.
+* **No image message** (default **No uploaded image to crop**) – The message shown when no image is bound to the image attribute.
+
+#### Aria Labels Section
+
+The **Aria labels** section is used to configure the accessible names that screen readers announce. It includes the following properties:
+
+* **Rotate left** (default **Rotate left**) – The accessible name and tooltip for the rotate-left button.
+* **Rotate right** (default **Rotate right**) – The accessible name and tooltip for the rotate-right button.
+* **Grayscale** (default **Grayscale**) – The accessible name for the grayscale toggle.
+* **Reset** (default **Reset crop**) – The accessible name for the reset button.
+* **Zoom** (default **Zoom**) – The accessible name for the zoom slider.
+
### Output Tab {#output}
#### Output Section
@@ -148,7 +172,7 @@ The **Output** section is used to configure the format and resolution of the sav
## Usage
-When the widget loads, it shows the image bound to the **Image attribute** with a default crop box centered on the image and covering 80% of it at the configured aspect ratio. If no image is available, the widget shows a **No image** message.
+When the widget loads, it shows the image bound to the **Image attribute** with a crop box centered on the image. The crop box covers the percentage set in **Initial crop size (%)** of the largest box that fits the image at the configured aspect ratio. If no image is available, the widget shows the **No image message**.
The end-user edits the image as follows:
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/image.md b/content/en/docs/marketplace/platform-supported-content/widgets/image.md
index ed59dc640d2..ca668076f2d 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/image.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/image.md
@@ -45,6 +45,10 @@ The **Data source** section (required) is used to configure the data for the wid
* **Icon** – used to retrieve a static icon or image for the widget
* Configurable when **Image type** is set to **Icon**
* **Background image** – used to render an image as a background
+ * When set to **Yes**, more content can be placed inside the image with the **Place content here** property, and design properties have no effect
+ * Not available when **Image type** is set to **Icon**
+* **Place content here** – the widgets displayed on top of the background image
+ * Configurable when **Background image** is set to **Yes**
#### Events Section
@@ -62,6 +66,7 @@ The **Events** sections allows you to configure what happens when the user inter
The **Accessibility** sections allows you to configure accessibility features for the widget. It includes the following properties:
* **Alternative text** – alternative text of the image for accessibility purposes
+ * Not available when **Background image** is set to **Yes**
### Dimensions Tab {#dimensions}
@@ -72,11 +77,24 @@ The **Dimensions** tab allows you to configure settings that are related to the
* The **Width** can be set as an appropriate CSS value when **Width unit** is not set to **Auto**
* These two properties need to be used together to work
* **Height unit** and **Height** – the height of the widget in relation to the rest of the elements on the page
- * The available **Height unit** options **Auto** and **Pixels** (**Auto** will keep the aspect ratio of the image)
+ * The available **Height unit** options are **Auto**, **Pixels**, **Percentage**, and **Viewport** (**Auto** will keep the aspect ratio of the image)
* The **Height** can be set as an appropriate CSS value when **Height unit** is not set to **Auto**
* These two properties need to be used together to work
+* **Minimum Height unit** and **Minimum height** – the minimum height of the image
+ * Configurable when **Height unit** is set to **Auto**
+ * The available **Minimum Height unit** options are **None** (default), **Pixels**, **Percentage**, and **Viewport**
+ * The **Minimum height** can be set when **Minimum Height unit** is not set to **None**
+* **Maximum Height unit** and **Maximum height** – the maximum height of the image
+ * Configurable when **Height unit** is set to **Auto**
+ * The available **Maximum Height unit** options are **None**, **Pixels** (default), **Percentage**, and **Viewport**
+ * The **Maximum height** can be set when **Maximum Height unit** is not set to **None**
+ * Default **Maximum height**: **250** (for new Image widgets)
+* **Icon size** – the size of the icon in pixels
+ * Default: **14**
+ * Configurable when **Image type** is set to **Icon** and a glyph or icon from an icon collection is selected; the width and height properties are hidden in that case
* **Show** – determines how the image will be shown
* Default: **Full image**
+ * Configurable when **Image type** is set to **Image**
* When set to **Thumbnail**, the widget will try to retrieve the thumbnail version of the image if present
* **Responsive** – when set to **Yes**, the image will scale with its parent container
* Default: **Yes**
@@ -94,6 +112,8 @@ These are the design properties shipped with Atlas UI for this widget:
* **Center image** – determines whether the image is centered horizontally in its container or not
* **Yes**, **No** (default)
* **Image fit** – changes the fit of the image according to the object-fit CSS property
- * **Fill**, **Contain**, **Cover**, **Scale-down**, **None** (default)
+ * **Fill**, **Contain**, **Cover**, **Scale-down**, **Auto**, **None** (default)
+* **Opacity** – changes the opacity of the image
+ * **Low**, **Medium**, **High**, **None** (default)
* **Align content** – aligns elements inside the container as a row or as a column
* **Left align as a row**, **Center align as a row**, **Right align as a row**, **Right align as a column**, **Center align as a column**, **Left align as a column**
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/maps.md b/content/en/docs/marketplace/platform-supported-content/widgets/maps.md
index 5fbe7344ddb..99af6323c35 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/maps.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/maps.md
@@ -14,45 +14,49 @@ The [Maps](https://marketplace.mendix.com/link/component/108261/) widget enables
* [Mapbox](https://www.mapbox.com)
* [HERE maps](https://www.here.com/)
+{{% alert color="info" %}}
+Version 5.0.0 and above of the Maps widget requires Studio Pro 10.24.0 or above.
+{{% /alert %}}
+
## Basic Usage
For the easiest way to get started with a basic map in your application, follow these steps:
1. Drag the **Maps** widget onto your page.
-2. Open the widget properties and add a Google Maps access token in **General** > **Configurations** > **Google Maps API Key**.
-3. In the **General** > **Markers** properties section, select **New** for **Markers**.
-4. Create a new location marker based on either **Latitude and longitude** or an **Address**.
+2. Open the widget properties and add a Google Maps access token in **General** > **Configurations** > **API Key**.
+3. On the **Advanced** tab, add your Google Maps map ID in **Google MapId key**. This property is required when using Google Maps. For more information, see [Use Map IDs](https://developers.google.com/maps/documentation/get-map-id).
+4. In the **General** > **Markers** properties section, select **New** for **Marker**.
+5. Create a new location marker based on either **Latitude and longitude** or an **Address**.
If you want to configure more of your map (for example, end-user interactions and styling) or use a different map provider, see the [Settings](#settings) section below.
-{{% alert color="info" %}}
-If you are using Google Maps, be sure to include an empty JSON array (specifically `{}`) in **Advanced** > **Map Styles** so your widget is successfully displayed in your app:
-
-{{< figure src="/attachments/appstore/platform-supported-content/widgets/maps/gmaps.png" class="no-border" >}}
-
-{{% /alert %}}
-
## Settings {#settings}
### Map Provider
By default, the Maps widget will use Google Maps.
-To change the map provider, go to the **General** properties of the map and enable the **Advanced** > **Show advanced** setting. This will introduce a new **Advanced** tab in the setting window. You can now select one of the map providers listed in the [Introduction](#introduction).
+To change the map provider, go to the **Advanced** tab of the widget properties and select one of the map providers listed in the [Introduction](#introduction) in **Map provider**.
+
+When using Google Maps, the **Google MapId key** property on the **Advanced** tab is required. It is used to render and style the map. For more information on how to get a map ID, see [Use Map IDs](https://developers.google.com/maps/documentation/get-map-id).
### Access Token
For all the map providers except OpenStreetMap, you need to have a token in order to view the map. The appropriate tokens can be retrieved via the links to the map types listed in the [Introduction](#introduction).
-After obtaining the access token, provide it to the widget in the **General** > **Configurations** widget settings. For Google Maps, the **Google Maps API Key** property should be used, while for the other map providers the **API key** property should be used.
+After obtaining the access token, provide it to the widget in the **General** > **Configurations** > **API Key** widget setting. This property is an expression. The **API Key** property is not shown when the map provider is OpenStreetMap.
+
+{{% alert color="info" %}}
+Older versions of the widget used a static string for **API Key** and **Geo location API key**. These static values are deprecated, and Studio Pro shows a warning for them. Use the expression properties instead.
+{{% /alert %}}
{{% alert color="warning" %}}
Make sure that you keep the API key secure. For more information, see [API security best practices](https://developers.google.com/maps/api-security-best-practices).
{{% /alert %}}
{{% alert color="info" %}}
-Placing markers based on addresses does not work without an access token set for **General** > **Configurations** > **Google Maps API key**. This is especially relevant if you are opting into one of the non-Google Maps providers, since you should still provide a Google Maps API access token if you want to specify markers through their address.
-The token is necessary for converting addresses to their corresponding latitude and longitude values, which in turn are used to place the markers. If no Google Maps API token is provided, the map is still usable, but markers based on addresses will not be shown.
+Placing markers based on addresses does not work without an access token set for **General** > **Configurations** > **Geo location API key**. This key should be a [Google Geocoding API](https://developers.google.com/maps/documentation/geocoding/overview) key, and the property is only shown when at least one marker is based on an address. This is especially relevant if you are opting into one of the non-Google Maps providers, since you should still provide a Google Geocoding API key if you want to specify markers through their address.
+The token is necessary for converting addresses to their corresponding latitude and longitude values, which in turn are used to place the markers. If no Geocoding API key is provided, the map is still usable, but markers based on addresses will not be shown.
{{% /alert %}}
### Current Location
@@ -61,7 +65,7 @@ To show the user's location on the map, enable this in **General** > **Configura
### Markers
-To enhance the map widget, you can mark locations on the map by providing them in the widget through **General** > **Markers**. The following conditions apply:
+To enhance the map widget, you can mark locations on the map by providing them in the widget through **General** > **Markers** > **Marker**. The following conditions apply:
* If exactly one location is provided, the map will center to that location
* If multiple locations are provided, the map will center to a position in which all markers are visible
@@ -72,7 +76,7 @@ There are two ways to specify locations to be marked, either **Based on latitude
You can customize each individual marker in the following ways:
* You can provide each marker with a title that will be displayed in a pop-up window when the marker is clicked via the **Location** > **Title** setting
-* You can customize the icon of the location marker via the individual marker's setting in **Visualization** > **Marker style** (setting it to *Image* allows you to customize it with either a static resource or dynamic entity)
+* You can customize the icon of the location marker via the individual marker's setting in **Visualization** > **Marker style** (setting it to **Image** allows you to replace the default icon with an image in the **Image** property)
* You can attach an event handler to the marker to trigger when an end-user clicks it via the **Events** > **On click** setting
To make the process of marking batches of locations easier, it is also possible to specify entire lists of markers at once. You can do this through the **General** > **Markers** > **Marker list** setting, which requires a data source. All the usual Mendix data-source settings apply here, as well as the same marker requirements and customizability as the individual markers.
@@ -85,7 +89,8 @@ Under the **Controls** properties tab, you can adjust the following settings rel
* **Scroll to zoom** – when enabled, the end-user can change the zoom level of the map by mouse-scrolling on a desktop machine or using pinch gestures on mobile
* Note that when using the Google Maps provider, this setting requires the **Drag** setting to be enabled in order to work
* **Zoom** – when enabled, additional control buttons are shown on the map
-* **Attribution** – when enabled, attributions (credits) are shown at the bottom of the map
+* **Attribution control** – when enabled, attributions (credits) are shown at the bottom of the map
+ * This setting is not available when using the Google Maps provider
If you are using the Google Maps provider, these additional controls are available:
@@ -94,6 +99,7 @@ If you are using the Google Maps provider, these additional controls are availab
* The available options are **Map**, with or without a **Terrain** layer, and **Satellite**, with or without a **Labels** layer
* By default, this is set to **Map** without the **Terrain** layer
* **Full screen** – when enabled, there is a button available in the upper-right corner of the map to view the map in full screen
+* **Rotate** – when enabled, the rotate control of Google Maps is shown on the map
### Dimensions
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/markdown-viewer.md b/content/en/docs/marketplace/platform-supported-content/widgets/markdown-viewer.md
index 306e195a14b..eb92cdbf324 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/markdown-viewer.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/markdown-viewer.md
@@ -14,6 +14,8 @@ The widget does the following:
* Displays markdown-formatted text as rendered HTML, supporting headings, bold, italic, lists, links, images, tables, code blocks, blockquotes, and horizontal rules
* Applies typographic enhancements such as smart quotes, em dashes, en dashes, and ellipses
* Automatically converts URLs in the text to clickable links
+* Renders subscript and superscript text
+* Renders math expressions with KaTeX
* Shows a loading indicator while the data source is being retrieved
### Typical Use Cases
@@ -31,6 +33,8 @@ This widget leverages the following features:
* Standard markdown syntax rendering, including headings, emphasis, lists, links, images, tables, code blocks, blockquotes, and horizontal rules
* Typographic replacements (smart quotes, em dashes, en dashes, ellipses)
* Automatic URL-to-link conversion (linkification)
+* Subscript (`H~2~O`) and superscript (`29^th^`) syntax
+* Math expressions rendered with [KaTeX](https://katex.org/) (see [Math Expressions](#math-expressions))
* Offline capable
* Conditional visibility support
@@ -50,6 +54,13 @@ Optionally, you can configure the widget further:
* Navigate to the **Label** section to add a label for the widget
* Navigate to the **Conditional visibility** section to control when the widget is displayed
+## Math Expressions {#math-expressions}
+
+The widget renders math expressions written in LaTeX syntax with KaTeX. Use one of the following notations:
+
+* **Inline math** – Wrap the expression in single dollar signs, for example `$E = mc^2$`.
+* **Block math** – Wrap the expression in double dollar signs (`$$...$$`), write it as a LaTeX environment (`\begin{...}...\end{...}`), or place it in a fenced code block with the `math` language.
+
## Styling
The widget renders its content inside a container with the `widget-markdown` CSS class. The following default styles are applied:
@@ -57,6 +68,7 @@ The widget renders its content inside a container with the `widget-markdown` CSS
* **Tables** – Renders with borders, padding, and left-aligned text. Header cells have a light gray background.
* **Images** – Renders at a maximum of 35% of the container width by default.
* **Horizontal rules** – Spans the full width of the container.
+* **Math expressions** – Uses the KaTeX stylesheet and fonts, which are included in the widget.
You can override these styles by targeting the `.widget-markdown` class in your custom SCSS or theme.
@@ -71,3 +83,4 @@ This widget has the following limitations:
## Read More
* [markdown-it](https://github.com/markdown-it/markdown-it): the markdown parsing library used by this widget
+* [KaTeX](https://katex.org/): the math typesetting library used by this widget
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/option-selector.md b/content/en/docs/marketplace/platform-supported-content/widgets/option-selector.md
index 28bd8ef7fc1..96232a9f25b 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/option-selector.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/option-selector.md
@@ -82,8 +82,10 @@ Use the database source type to set the value of a string, integer, long, or enu
* **Selection type** – This determines how other [listen to widget](/refguide/listen-to-grid-source/) data sources perceive the data.
* **Single** – This allows only one item to be selected from the options list (radio button list).
* **Multi** – This allows multiple items to be selected from the options list (checkbox list).
-* **Value** (under **Store value**) – The attribute of the selectable objects that holds the value to store.
-* **Target attribute** (under **Store value**) – The attribute where the selected value is stored.
+* **Value** (under **Store value**) – The attribute of the selectable objects that holds the value to store. This property is available when **Target attribute** is set.
+* **Target attribute** (under **Store value**) – The string, integer, long, or enumeration attribute where the selected value is stored.
+
+The **Store value** properties are only available when **Selection type** is set to **Single**.
##### Static Values {#static}
@@ -92,7 +94,7 @@ Use the static source type to set the value of an attribute with manually config
* **Attribute** (required) – The attribute to set. It can be a string, enumeration, integer, long, Boolean, date and time, or decimal attribute.
* **Values** (required)– The list of options. Each option has the following properties:
* **Value** – An expression that returns the value to set.
- * **Custom content** – Sets widgets to display instead of the caption.
+ * **Custom content** – Sets widgets to display instead of the caption. This property is available when **Custom content** in the [General](#general-section) section is set to **Yes**.
* **Caption** – The text to display for the option.
#### Caption
@@ -104,15 +106,15 @@ For the **Association** and **Database** sources, the **Caption** section config
* **Expression** – Uses an expression that returns a string.
* **Caption** (required) – The attribute or expression that provides the caption.
-#### General
+#### General {#general-section}
The **General** section configures general behavior and captions for the widget:
* **No option text** – The text displayed when no options are available. The default is **No options available**.
-* **Custom content** – This determines whether the widget displays custom widgets instead of text for each option (not available for **Static** sources, which configure custom content per value):
+* **Custom content** – This determines whether the widget displays custom widgets instead of text for each option (not available for the **Enumeration** and **Boolean** types; for **Static** sources, you place the custom content in each value):
* **Yes** – This displays the widgets that you place in the **Custom content** dropzone for each option.
- * **No** – This displays the caption of each option.
-* **Render type** – This determines the type of control that the widget displays. The options are **Checkbox** and **Radio button**.
+ * **No** (default) – This displays the caption of each option.
+* **Render type** – This determines the type of control that the widget displays. The options are **Checkbox** (default) and **Radio button**. This property is only available when **Type** is set to **Boolean**.
* **Group name** (optional) – This is an expression that returns the name for the group of associated inputs.
#### Label
@@ -127,28 +129,28 @@ For more information, see [Visibility Section](/refguide/common-widget-propertie
The **Editability** section configures when users can change the selection. For more information, see [Editability Section](/refguide/common-widget-properties/#editability) in *Properties Common in the Page Editor*.
-The following additional properties are available:
+The following additional properties are available. **Editable** and **Condition** are only available for the **Database** source when no **Target attribute** is set; in that case, they replace the standard **Editable** property:
* **Editable** – This determines when the widget is editable:
- * **Default** – The widget is editable unless the context is read-only.
+ * **Default** (default) – The widget is editable unless the context is read-only.
* **Never** – The widget is never editable.
* **Conditionally** – The widget is editable when the **Condition** expression returns `true`.
* **Condition** – The Boolean expression that determines editability when **Editable** is set to **Conditionally**.
* **Read-only style** – This determines how the widget appears in read-only mode:
- * **Control** – This displays the checkboxes or radio buttons as disabled controls,
- * **Content only** – This displays only the selected items as text.
+ * **Control** – This displays the checkboxes or radio buttons as disabled controls.
+ * **Content only** (default) – This displays only the selected items as text.
### Events Tab {#events}
The **Events** tab contains the following property:
-* **On change action** – the action that runs when the selection changes.
+* **On change action** – the action that runs when the selection changes. For the **Database** source, this action is linked to the **Selection type** property.
### Accessibility Tab {#accessibility}
The **Accessibility** tab configures settings for the accessibility features of the widget:
-* **Aria required** – An expression that returns whether the widget is required for assistive technologies or not.
+* **Aria required** (default: `false`) – An expression that returns whether the widget is required for assistive technologies or not.
* **Aria label** – A text template that provides an accessible label for the widget.
### Common Tab {#common}
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/popup-menu.md b/content/en/docs/marketplace/platform-supported-content/widgets/popup-menu.md
index e703075af2a..13cbdd47379 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/popup-menu.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/popup-menu.md
@@ -27,28 +27,48 @@ The **General** tab in the **Edit Menu Items Item** dialog box has the following
* **Item type** – determines if the menu item is an action button or a divider for buttons
* Default: **Button**
- * Configurable when **Custom visualization** is set to **Yes**
-* **Text** – the text value to be displayed in the button
+* **Caption** – the text value to be displayed in the button
* Configurable when the **Item type** is **Button**
* **Visible** – a Boolean expression indicating whether the item is visible or not
* Default: **true**
+ * Configurable when the **Item type** is **Button**
* **On click action** – executes an action when the button is activated through mouse or keyboard.
* Configurable when the **Item type** is **Button**
-* **Style** – sets the button's brand style
+* **Style** – sets the button's brand style: **Default**, **Inverse**, **Primary**, **Info**, **Success**, **Warning**, or **Danger**
* Default: **Default**
* Configurable when the **Item type** is **Button**
+ * Any style other than **Default** adds the `popupmenu-basic-item-[style]` class to the item, for example `popupmenu-basic-item-primary`
Other main properties of the widget are as follows:
+* **The area to open or close the menu.** – the widgets that toggle the menu (required)
* **Open on** – determines whether hovering or clicking the trigger widgets displays the menu
* Default: **Click**
-* **Menu position** – determines the location of a visible menu relative to the trigger area
+* **Close on** – determines when an open menu closes
+ * When **Open on** is **Click**, the options are **Click anywhere** (default), which closes the menu on a click anywhere on the page, and **Click outside**, which closes the menu only on a click outside the menu
+ * When **Open on** is **Hover**, the options are **Hover leave** (default), which closes the menu when the pointer leaves it, and **Click outside**, which keeps the menu open until a click outside the menu
+* **Menu position** – determines the location of a visible menu relative to the trigger area: **Left**, **Right**, **Top**, or **Bottom**
* Default: **Bottom**
* **Clipping strategy** – determines the relative positioning of floating elements on the page.
- * **Absolute** - positions the floating element relative to its nearest positioned ancestor.
+ * **Absolute** (default) - positions the floating element relative to its nearest positioned ancestor.
* **Fixed** - positions the floating element relative to the viewport. It breaks the element out of any clipping ancestor.
-If you want to use dynamic content, make sure to wrap the widget in a [data view](/refguide/data-view/) and set **Enable advanced options** to **Yes**.
+### Advanced Options
+
+If you want to use dynamic content, make sure to wrap the widget in a [data view](/refguide/data-view/) and set **Enable advanced options** to **Yes**. With advanced options enabled, the **Menu items** property contains custom items instead of buttons and dividers. Each custom item has the following properties:
+
+* **Content** – the widgets to show as the menu item
+* **Visible** – a Boolean expression indicating whether the item is visible or not
+ * Default: **true**
+* **On click action** – executes an action when the item is clicked
+
+{{% alert color="info" %}}
+To make sure the menu closes correctly after a click, do not place clickable widgets inside **Content**. Use the item's **On click action** instead.
+{{% /alert %}}
+
+## Styling
+
+The widget styling is part of Atlas Core. For Pop-Up Menu version 4.0.0 and above, use Atlas Core version 3.15.0 or above (Studio Pro 10.6.0 and above) or version 3.12.5 or above (below Studio Pro 10.6.0) to keep the styling intact.
## Limitations
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/progress-bar.md b/content/en/docs/marketplace/platform-supported-content/widgets/progress-bar.md
index c74e6a27637..1f734209e25 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/progress-bar.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/progress-bar.md
@@ -19,26 +19,26 @@ The widget does the following:
The Progress Bar widget requires three values: a **Minimum value** and **Maximum value** to describe the full range of progress as well as a **Current value** to indicate the progression on that range.
-These values can be provided in three different ways: as a **Static** integer value, a **Dynamic** integer value, or an **Expression**. An On Click Action can be set onto the progress bar to trigger custom logic during click interactions.
+These values can be provided in three different ways, set with the **Type** property: as a **Static** integer value (default), a **Dynamic** value from a Decimal, Integer, or Long attribute, or an **Expression** that returns a Decimal. The default static values are 0 for **Minimum value**, 100 for **Maximum value**, and 50 for **Current value**. An **On click** action can be set onto the progress bar in the **Events** section to trigger custom logic during click interactions.
### Label
Configuring the label on the progress bar can be done on the **Progress Label** tab and has the following options:
-* Whether to show a label or not
-* The type of the label:
- * **Text**: a custom text
+* **Show label** – whether to show a label or not (default: **No**)
+* **Label type** – the type of the label:
+ * **Text** (default): a custom text, set in **Label text**
* **Percentage**: the **Current value** converted onto the configured range as a percentage.
- * **Custom**: a custom widget
+ * **Custom**: a custom widget, placed in **Custom label**
### Styling
Under the **Appearance** tab, the following styling properties can be adjusted for the progress bar:
-* Striped bar: whether the bar should be striped or plain
-* Bar color based on brand styling
-* Size (small, medium, and large)
- * Note that when the size is configured to small no label will be shown due to limited space, and text labels will be included as a tooltip that shows on hover
+* **Striped bar**: whether the bar should be striped or plain
+* **Bar color** based on brand styling: **Primary**, **Success**, **Warning**, or **Danger**
+* **Size** (**Small**, **Medium**, and **Large**)
+ * Note that when the size is configured to small no label will be shown due to limited space: text and percentage labels are shown as a tooltip on hover, and custom labels are ignored
## Widgets Below Version 2.0.0
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/progress-circle.md b/content/en/docs/marketplace/platform-supported-content/widgets/progress-circle.md
index 30dbed587c7..e23fa7d9c8f 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/progress-circle.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/progress-circle.md
@@ -18,24 +18,26 @@ The widget does the following:
The Progress Circle widget requires three values: a **Minimum value** and **Maximum value** to describe the full range of progress as well as a **Current value** to indicate the progression on that range.
-These values can be provided in three different ways: as a **Static** integer value, a **Dynamic** integer value, or an **Expression**. An On Click Action can be set onto the progress circle label to trigger custom logic during click interactions.
+These values can be provided in three different ways, set with the **Type** property: as a **Static** integer value (default), a **Dynamic** value from a Decimal, Integer, or Long attribute, or an **Expression** that returns a Decimal. The default static values are 0 for **Minimum value**, 100 for **Maximum value**, and 50 for **Current value**. An **On click** action can be set onto the progress circle label in the **Events** section to trigger custom logic during click interactions.
+
+By default, the widget shows an error when the **Current value** is higher than the **Maximum value**. To allow such values, set **Allow values above maximum** to **Yes** (default: **No**). The circle then stays full, the percentage label shows the actual value (for example, 120%), and the widget gets the `widget-progress-circle-overflow` class so you can style it. The widget still shows an error when the **Current value** is lower than the **Minimum value**, or when the **Maximum value** is lower than the **Minimum value**.
### Label
Configuring the label on the progress circle can be done on the **Progress Label** tab and has the following options:
-* Whether to show a label or not
-* The type of the label:
- * **Text**: a custom text
+* **Show label** – whether to show a label or not (default: **No**)
+* **Label type** – the type of the label:
+ * **Text** (default): a custom text, set in **Label text**
* **Percentage**: the **Current value** converted onto the configured range as a percentage.
- * **Custom**: a custom widget
+ * **Custom**: a custom widget, placed in **Custom label**
### Styling
Under the **Appearance** tab, the following styling properties can be adjusted for the progress circle:
-* Bar and background color based on brand styling
-* Size (small, medium, and large)
+* **Bar color** based on brand styling: **Primary**, **Success**, **Warning**, or **Danger**
+* **Size**, which sets the thickness of the circle (**Small**, **Medium**, and **Large**)
## Strict CSP Compatibility
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/range-slider.md b/content/en/docs/marketplace/platform-supported-content/widgets/range-slider.md
index 734a026dd32..5c323b2ad44 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/range-slider.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/range-slider.md
@@ -25,14 +25,18 @@ If the user needs to set one value, instead of a range, you should use the [Slid
* Set a microflow that is executed when the user changes the range value on the slider
* Show a tooltip when the user clicks or moves a slider handle
-* Render the slider with different colors
+* Render the slider with different colors using the **Style** design property (**Brand Primary**, **Brand Success**, **Brand Warning**, or **Brand Danger**)
+
+{{% alert color="warning" %}}
+Range Slider version 3.0.0 updated the underlying slider library to a new major version. This might break custom styling that targets the widget's internal elements.
+{{% /alert %}}
## Configuration
To configure this widget, follow these steps:
-1. In Studio Pro, place the Ranger Slider widget in the context of an object that has Integer or Decimal attributes to store the lower bound value and the upper bound value of the range
-2. Double-click the Ranger Slider widget to open the **Edit Ranger Slider** dialog box.
+1. In Studio Pro, place the Range Slider widget in the context of an object that has Integer, Long, or Decimal attributes to store the lower bound value and the upper bound value of the range
+2. Double-click the Range Slider widget to open the **Edit Range Slider** dialog box.
3. Configure the widget using the properties described in the sections below.
### General Tab
@@ -44,21 +48,22 @@ To configure this widget, follow these steps:
#### General Section
+* **Enable advanced options** – when set to **Yes**, shows the step size, tooltip, and **Track** tab properties in Studio Pro; when set to **No** (default), these properties are hidden and keep their current values
* **Minimum value type** – sets the type of the value source for the **Minimum value** property
* **Static** – if selected, the minimum value is a static value
* **Dynamic** – if selected, the minimum value is a dynamic value
* **Expression** – if selected, the minimum value is an [expression](/refguide/expressions/)
-* **Minimum value** – sets the minimum value of the slider
+* **Minimum value** – sets the minimum value of the slider (default static value: 0)
* **Maximum value type** – sets the type of the value source for the **Maximum value** property
* **Static** – if selected, the maximum value is a static value
* **Dynamic** – if selected, the maximum value is a dynamic value
* **Expression** – if selected, the maximum value is an [expression](/refguide/expressions/)
-* **Maximum value** – sets the maximum value of the slider
+* **Maximum value** – sets the maximum value of the slider (default static value: 100)
* **Step size type** – sets the type of the value source for the **Step size** property
* **Static** – if selected, the step size is a static value
* **Dynamic** – if selected, the step size is a dynamic value
* **Expression** – if selected, the step size is an [expression](/refguide/expressions/)
-* **Step size** – sets the difference between two adjacent values on the slider
+* **Step size** – sets the difference between two adjacent values on the slider (default static value: 1); the step size must be greater than zero, and the difference between the maximum and minimum values should be evenly divisible by it
* **Show tooltip**
* **Yes** (default) – if selected, a tooltip is displayed when the user clicks or moves a slider handle
* **Lower bound tooltip type** – sets the tooltip type for the lower bound value
@@ -92,15 +97,17 @@ To configure this widget, follow these steps:
### Track Tab
-* **Number of markers** – sets the number of the markers that appear along the slider's track
-* **Decimal places** – sets the number of decimal places for marker values
+The properties on this tab are shown when **Enable advanced options** is set to **Yes**.
+
+* **Number of markers** – sets the number of the markers that appear along the slider's track; markers are shown when the value is larger than 0 (default: 1)
+* **Decimal places** – sets the number of decimal places for marker values and tooltip values (default: 0); marker labels and tooltips use the decimal separator and digit grouping of the user's locale
* **Orientation** – determines the orientation of the slider
- * **Horizontal** – if selected, the orientation of the slider is horizontal
+ * **Horizontal** (default) – if selected, the orientation of the slider is horizontal
* **Vertical** – if selected, the orientation of the slider is vertical and you must set **Height unit** and **Height**
* **Height unit** – specifies the type of unit which is used for the **Height** property
* **Percentage** (default) – if selected, the aspect ratio is used to specify the height
* **Pixels** – if selected, an absolute value is used to specify the height
- * **Height** – the height in pixels or percentage based on the setting of **Height unit**
+ * **Height** – the height in pixels or percentage based on the setting of **Height unit** (default: 100)
### Events Tab
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/rating.md b/content/en/docs/marketplace/platform-supported-content/widgets/rating.md
index 53c2e338250..8cf688f3836 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/rating.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/rating.md
@@ -17,12 +17,12 @@ To use this widget, place it in a [data container](/refguide/data-sources/) that
The widget offers the following for configuration:
-* An Integer, Long, or Decimal attribute to store the rating on user-interaction
-* An action (such as microflow or nanoflow) to trigger when the value of rating changes
-* An empty icon, to be shown when the value is not yet selected
-* A selected icon, to be shown when the value is selected
-* An amount to define the maximum amount of icons to be rendered
-* Animation, to define whether the widget should animate when clicking on the desired icon
+* An Integer, Long, or Decimal **Attribute** to store the rating on user-interaction
+* An **On change** action (such as microflow or nanoflow), on the **Events** tab, to trigger when the value of rating changes
+* An **Empty icon**, to be shown when the value is not yet selected
+* A **Selected icon**, to be shown when the value is selected
+* An **Amount** to define the maximum amount of icons to be rendered (default: 5)
+* **Animation**, to define whether the widget should animate when clicking on the desired icon (default: **Yes**)
* A **Size** design property with two options (`Small` and `Large`) influencing icon size
* [Common properties](/refguide/common-widget-properties/)
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md
index 051d4f8dd22..6d9db6a9cb5 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md
@@ -8,7 +8,7 @@ description: "Describes the configuration and usage of the Rich Text widget, whi
## Introduction
{{% alert color="info" %}}
-This documentation applies to Rich Text widget versions 4.0 and above.
+This documentation applies to Rich Text widget versions 4.0 and above. Starting with version 5.0.0, the widget uses the Tiptap editor library instead of Quill. The content is still stored as HTML in the attribute.
For documentation on Rich Text widget versions 3 with TinyMCE, see [Rich Text v3](/appstore/widgets/rich-text-v3/).
For documentation on Rich Text widget versions 2 with CKEditor4, see [Rich Text v2](/appstore/widgets/rich-text-v2/).
@@ -27,6 +27,8 @@ The [Rich Text](https://marketplace.mendix.com/link/component/74889/) widget pro
* Sanitizes the user's input automatically
* Supports spelling and grammar checker in the editor
* Supports code highlight, which enables the user to insert code fragments and have a live preview with highlighted syntax
+* Shows the editor's toolbar, dialogs, and help texts in the page language, with bundled translations for English, Dutch, German, French, and Spanish (other languages fall back to English); available in Rich Text version 5 and above
+* Lets the user set the number that a numbered list starts at with the **Start at** field in the numbered list options; available in Rich Text version 5.2.0 and above
{{% alert color="info" %}}
Unlike Rich Text v3, this version no longer hosts the editor inside a sandboxed `iframe`. Thus, page styling will directly affect the rich text's styling.
@@ -49,25 +51,28 @@ To configure this widget, follow these steps:
* **Yes** – if selected, you can define the label caption.
* **Label caption** – defines the label caption of the widget that is displayed on the page.
* **No** (default) – if selected, there is no label for this widget on the page.
- * **Enable status bar** display status bar on the bottom of the editor.
+ * **Enable status bar** – displays a status bar at the bottom of the editor with document metrics (default: **No**). Configure the metric with **Status bar content** on the **Advanced** tab.
* **Toolbar**
- * **Toolbar** display toolbar based on the selected location on the editor.
- * **Basic** – if selected, the following menu will be shown:
- * bold italic | numlist bullist | outdent indent | link | removeformat
+ * **Toolbar** – displays a toolbar preset; this property is not available when **Location** is set to **Hide**.
+ * **Basic** (default) – if selected, the following menu will be shown:
+ * bold italic underline strikethrough | bullist numlist checklist | outdent indent ltr/rtl | link image video | removeformat
* **Standard** – if selected, the following menu will be shown:
- * undo redo | bold italic underlined | bullist numlist loweralphalist | outdent indent | ltr rtl | alignleft aligncenter alignjustify alignright | fontfamily fontsize forecolor backcolor | link image | blockquote codesample codeblock (view/edit)code, removeformat
+ * undo redo | bold italic underline strikethrough | bullist numlist checklist | outdent indent ltr/rtl | alignleft aligncenter alignright alignjustify | fontfamily fontsize forecolor backcolor | link image video | blockquote code codeblock (view/edit)code | removeformat | table | fullscreen
* **Full** – if selected, the following menu will be shown:
- * undo redo | bold italic underlined strikethrough | superscript subscript | bullist numlist loweralphalist checklist | outdent indent | ltr rtl, alignleft aligncenter alignjustify alignright | fontfamily fontsize forecolor backcolor | link image video formula | heading | blockquote codesample codeblock (view/edit)code | removeformat
- * **Custom** – allows you to make your own menubar selection based on the **full** selection list.
+ * undo redo | bold italic underline strikethrough | superscript subscript | bullist numlist checklist | outdent indent ltr/rtl | alignleft aligncenter alignright alignjustify | fontfamily fontsize forecolor backcolor | link image video | heading | blockquote code codeblock (view/edit)code | removeformat | table | fullscreen | keyboard shortcuts help
+ * **Custom** – allows you to make your own menubar selection on the **Custom toolbar** tab.
+
+ {{% alert color="info" %}}The toolbar lists above apply to Rich Text version 5 and above. The numbered list button offers the **1, 2, 3**, **a, b, c**, and **i, ii, iii** list styles.{{% /alert %}}
+
* **Location**
* **Sticky** – if selected, toolbar will be placed on the top of the editor and sticky position will apply upon scrolled.
- * **Top** – if selected, toolbar will be placed on the top of the editor.
+ * **Top** (default) – if selected, toolbar will be placed on the top of the editor.
* **Bottom** – if selected, toolbar will be placed on the bottom of the editor.
* **Hide** – if selected, toolbar will be hidden or not shown.
* **Editable** – determines when the user can edit content in the editor and when it is read-only.
* **Read-only style** - determines the style of the rich text widget when set to read-only.
- * **Rich Text** – shows disabled rich text with a similar look and feel as when it is enabled.
+ * **Rich text** (default) – shows disabled rich text with a similar look and feel as when it is enabled.
* **Bordered** – shows content only with a surrounding border.
* **Read panel** – shows only an HTML rendering of rich text content.
@@ -78,26 +83,26 @@ To configure this widget, follow these steps:
### Custom Toolbar Tab
-* **Custom** – allows you to make your toolbar with customized options.
+* **Custom** – allows you to make your toolbar with customized options. The properties on this tab are available when **Toolbar** is set to **Custom**.
* **Toolbar group**
* **Basic** (default) – if selected, you can select which of the following toolbar groups are available in the toolbar:
- * **Edit history** - items: undo, redo.
+ * **Edit History** - items: undo, redo.
* **Font style** - items: bold, italic, underline, strikethrough.
* **Font script** - items: superscript, subscript.
- * **List** - items: bullist numlist loweralphalist checklist.
+ * **List** - items: bullist numlist checklist.
* **Indentation** - items: outdent, indent, ltr rtl.
- * **Embedded media** - items: link, image, video, formula.
+ * **Embedded media** - items: link, image, video.
* **Alignment** - items: alignleft aligncenter alignjustify alignright.
- * **Syntax** - items: blockquote, codesample, codeblock, (view/edit)code.
+ * **Syntax** - items: blockquote, code, codeblock, (view/edit)code.
* **Font colors** - items: fontfamily, fontsize, forecolor, backcolor.
* **Content type** - items: header.
* **View** - items: fullscreen.
* **Removal** - items: clear.
* **Table** - items: table.
- * **Help** - items: help dialog contains keyboard shortcuts (available in rich text version 5 and above).
+ * **Keyboard shortcuts** - items: a help button that opens a dialog listing the keyboard shortcuts (available in rich text version 5 and above). The button is only shown when all the other toolbar groups are enabled.
* **Advanced** – if selected, you can configure buttons for different toolbar groups:
- {{% alert color="info" %}}All the toolbar groups that you configure will be available in the toolbar. With vertical bars or separator options ("|"), you can separate different toolbar groups.{{% /alert %}}
+ {{% alert color="info" %}}All the toolbar groups that you configure will be available in the toolbar. With vertical bars or separator options ("|"), you can separate different toolbar groups. Each button is shown only once, even if it is added more than once. In Rich Text version 5 and above, the **Lower Alpha List** and **Formula** buttons are not shown; use the list style options of the **Ordered List** button instead of **Lower Alpha List**.{{% /alert %}}
* **New** – opens the **Edit Advanced Groups Item** dialog box where you can add a new button to a toolbar group
* **Button** – specifies the button to be included in the toolbar
@@ -107,21 +112,29 @@ To configure this widget, follow these steps:
### Dimensions Tab
* **Width unit** – the width of the widget.
- * **Percentage** – specifies the width in relation to the rest of the elements on the page.
+ * **Percentage** (default) – specifies the width in relation to the rest of the elements on the page.
* **Pixels** – specifies the width in pixels.
-* **Width** – used as an appropriate CSS value.
+* **Width** – used as an appropriate CSS value (default: 100).
* **Height unit** – the height of the widget.
- * **Percentage of width** – specifies the height in relation to the width.
- * **Pixels** – specifies the height in pixels.
- * **Percentage of parent** – specifies the width in relation to the rest of the elements on the page.
-* **Height** – used as an appropriate CSS value.
-* **Minimum height** – applicable if height is relative to parent's percentage.
+ * **Auto** – the height adjusts to the content, within the limits of the **Minimum height** and **Maximum height** properties.
+ * **Pixels** (default) – specifies the height in pixels.
+ * **Percentage** – specifies the height as a percentage of the parent's height.
+ * **Viewport** – specifies the height as a percentage of the viewport's height.
+* **Height** – used as an appropriate CSS value (default: 250); not available when **Height unit** is set to **Auto**.
+
+The following properties are available when **Height unit** is set to **Auto**:
+
+* **Minimum Height unit** – the unit of the **Minimum height** property: **None**, **Pixels** (default), **Percentage**, or **Viewport**.
+* **Minimum height** – the minimum height of the widget (default: 250); not available when **Minimum Height unit** is set to **None**.
+* **Maximum Height unit** – the unit of the **Maximum height** property: **None** (default), **Pixels**, **Percentage**, or **Viewport**.
+* **Maximum height** – the maximum height of the widget (default: 250); not available when **Maximum Height unit** is set to **None**.
+* **Vertical Overflow** – determines what happens when the content is higher than the maximum height: **Auto** (default), **Scroll**, or **Hidden**; not available when **Maximum Height unit** is set to **None**.
### Events Tab
* **On change** – specifies an action to execute when the user changes the value of the editor.
- * **On change type** - specifies which type of event that will trigger the on change action.
- * **When user leaves input field** - if selected, an on change action will be triggered when user moves focus out of the editor.
+ * **On change type** - specifies which type of event that will trigger the on change action. This property is available when an **On change** action is set.
+ * **When user leaves input field** (default) - if selected, an on change action will be triggered when user moves focus out of the editor.
* **While user is entering data** - if selected, an on change action will be triggered each time a data change occurs.
* **On enter** – specifies an action to execute when the user focuses on the editor.
* **On leave** – specifies an action to execute when the user move focus out of the editor.
@@ -129,19 +142,21 @@ To configure this widget, follow these steps:
### Advanced Tab
-* **Enable spell checking** – configures to use the browser’s native spell checker.
-* **Default font family** – configures initial selection of the font family shown in the dropdown toolbar if no fonts are set. This configuration is only to adjust the font toolbar display with page's default font-family. No value is being set to the editor's text directly. The value set should be the same with selected `font-name-value` in `data-value` variable of fonts.
-* **Default font size** – configures initial font size to be shown in the dropdown of font size in the toolbar if no font sizes are set. This configuration only adjusts the font size toolbar with the page's default font size. No font size value is being set to the editor's text directly. The value set should be available in the font size toolbar selections.
+* **Enable spell checking** – configures to use the browser’s native spell checker (default: **No**).
+* **Enable link URL validation** – if enabled, only valid URLs are accepted in links (default: **Yes**). Disable it to allow non-standard URLs in links. Available in Rich Text version 4.12.0 and above.
* **Custom fonts** – configures extra fonts selection for the font family.
* **Selectable images** – configures image entity source to allow rich text to use images from entity instead of base64 string.
-* **Enable default upload** – if enabled, it will keep the current image upload method using base64 string, otherwise it is hidden (default value: **true**).
-* **Status bar content** - configures counter display on the status bar:
- * **Word count** – displays the number of words in the status bar.
+* **Enable default upload** – if enabled, the user can upload images from the device, using the upload tab of the image dialog, dragging and dropping image files onto the editor, or pasting images from the clipboard; uploaded images are embedded in the content as base64 strings (default: **Yes**). This property is available when **Selectable images** is set.
+* **Status bar content** - configures counter display on the status bar; available when **Enable status bar** is set to **Yes**:
+ * **Word count** (default) – displays the number of words in the status bar.
* **Character count (text only)** – displays the number of characters displayed in the editor.
- * **Character count (includeing HTML)** – displays the number of characters saved into the attribute value. This includes the HTML tag inserted for the formatting of rich text.
+ * **Character count (including HTML)** – displays the number of characters saved into the attribute value. This includes the HTML tag inserted for the formatting of rich text.
* **Style data format** - available from rich text version 5 and above. This allows user to use classnames for the styling of rich text's content.
* **Inline** - uses inline styles on styling the HTML content. This is the current and default option. Inline styling is more reliable in styling the content. But using inline styles meant that the data cannot be parsed in [strict-CSP environment](/howto/security/csp/).
* **Class** - uses class name to style the HTML content. Use this setting if rich text is deployed in a strict CSP environment.
+* **Dialog style** – determines how the insert image, insert video, and insert link dialogs are presented; available in Rich Text version 5.1.0 and above.
+ * **Inline** (default) – anchors the dialog to the toolbar button it was opened from.
+ * **Focused** – shows the dialog centered on the screen over a dimmed page, and keeps the keyboard focus inside the dialog until it is closed.
### Common Tab
@@ -187,11 +202,15 @@ To add a new custom font, simply click the **Advanced** tab and click new on cus
The new font name will be display in the toolbar with data-value attribute as `data-value="your-font-name"`. The name will be derived from **Font name** configuration by set it to lower case, and replace all spaces (" ") with dashes ("-"). You can use this custom styling to display it correctly in the toolbar:
```css
-.widget-rich-text .ql-toolbar [data-value=your-font-name]:before {
+.widget-rich-text .toolbar-dropdown-item[data-value=your-font-name] {
font-family: 'Your-font-family-name';
}
```
+{{% alert color="info" %}}
+The selector above applies to Rich Text version 5 and above. In Rich Text version 4, use `.widget-rich-text .ql-toolbar [data-value=your-font-name]:before` instead.
+{{% /alert %}}
+
### Image From Entity
{{% alert color="info" %}}
@@ -298,6 +317,7 @@ This code will trigger a new event called **imageSelected** and bubble up the ev
| Formatting |
Paragraph |
History |
+ Accessibility |
|
@@ -329,6 +349,14 @@ This code will trigger a new event called **imageSelected** and bubble up the ev
|
| Redo | Ctrl+Y |
+
+
+ | Action | Shortcut |
+ | Focus toolbar | Alt+F10 |
+ | Focus status bar | Alt+F11 |
+ | Return to editor / exit fullscreen | Escape |
+
+ |
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v2.md b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v2.md
index face00949b9..8fb97048a7c 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v2.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v2.md
@@ -11,7 +11,7 @@ weight: 50
{{% alert color="info" %}}
This documentation applies to Rich Text widget versions 2 which uses CKEditor4 library.
-For documentation on Rich Text widget versions 4 with QuillV2, see [Rich Text](/appstore/widgets/rich-text/) documentation.
+For documentation on Rich Text widget versions 4 (Quill V2) and 5 (Tiptap), see [Rich Text](/appstore/widgets/rich-text/) documentation.
For documentation on Rich Text widget versions 3 with TinyMCE, see [Rich Text v3](/appstore/widgets/rich-text-v3/) documentation.
{{% /alert %}}
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v3.md b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v3.md
index f051c67f883..af86bc6d4cf 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v3.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/richtext/rich-text-v3.md
@@ -13,7 +13,7 @@ weight: 60
{{% alert color="info" %}}
This documentation applies to Rich Text widget versions 3 that use the TinyMCE library.
-For documentation on Rich Text widget versions 4 with QuillV2, see [Rich Text](/appstore/widgets/rich-text/) documentation.
+For documentation on Rich Text widget versions 4 (Quill V2) and 5 (Tiptap), see [Rich Text](/appstore/widgets/rich-text/) documentation.
For documentation on Rich Text widget versions 2 with CKEditor4, see [Rich Text v2](/appstore/widgets/rich-text-v2/).
Due to TinyMCE changing its public license, we transitioned to the Quill V2 library in Rich Text 4.
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/signature.md b/content/en/docs/marketplace/platform-supported-content/widgets/signature.md
index 9730c215344..7d501823711 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/signature.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/signature.md
@@ -29,18 +29,65 @@ To use this widget, follow these steps:
1. Add an entity to the domain model that should inherit from the Mendix **system.image**.
2. Create a page with a data view, and place the widget inside the data view.
-3. Optionally, on the **Canvas** properties tab, add the **Has signature** attribute to the entity in to toggle to clear the canvas.
-4. On the **Pen** tab, customize the signature by selecting a pen **Type** and the **Color** (which is an HTML color code).
-5. On the **Grid** tab, configure the following:
- 1. **Show background grid** – when set to yes, a grid is shown in the background of the writable area
- 1. **Cell width** – the width of the grid cell in pixels
- 1. **Cell height** – the height of the grid cell in pixels
- 1. **Line color** – the HTML color code of the grid lines
- 1. **Line width** – the width of the grid line border in pixels
-6. On the **Appearance** tab in the **Common** section, custom CSS **Style** properties can be set for responsive design when the width and height are a percentage – for example:
- `min-width: 200px;`
- `max-width: 600px;`
- `min-height: 200px;`
- `max-height: 600px;`
-7. Upon running the application, after signing on the canvas, the **Has signature** attribute is toggled to show that the canvas has a signature. The end-user can toggle to **No** in order to clear the signature data source.
-8. When the form is submitted—which can be triggered by the start of a microflow or a save—the signature is captured and stored as an image. To view the result, the [Image](/appstore/widgets/image/) widget can be used.
+3. Configure the widget using the properties described in the sections below.
+
+When the user finishes a stroke on the canvas, the widget stores the signature as a PNG image in the **Image value** property. To view the result, the [Image](/appstore/widgets/image/) widget can be used.
+
+{{% alert color="warning" %}}
+Signature version 2.0.0 is a complete rewrite as a pluggable widget and requires Studio Pro 11.8.0 or above. It is not backward compatible with version 1.x, so existing Signature widgets must be reconfigured. The widget ID changed from `com.mendix.widget.custom.signature.Signature` to `com.mendix.widget.web.signature.Signature`, the widget category changed from **Add-ons** to **Input elements**, and the widget file changed from `Signature.mpk` to `com.mendix.widget.web.Signature.mpk`. This lets the old and new versions coexist during migration. After the migration is complete, remove the old `Signature.mpk` file from the `widgets` folder of your app manually.
+{{% /alert %}}
+
+### General Tab
+
+#### Data Source Section
+
+* **Image value** (required) – the image in which the signature is stored
+* **File name** – the file name (without extension) for the stored image; if empty, a file name is generated automatically based on the current date and time
+* **Has signature** – an optional Boolean attribute that is set to true after the canvas is signed; when the attribute is set to false, the canvas is cleared, but the stored image is not cleared
+* **Editable** – determines if the widget can be edited; for more information, see [Editability Section](/refguide/common-widget-properties/#editability) in *Properties Common in the Page Editor*
+
+#### Appearance Section
+
+* **Type** – the type of pen used to draw the signature
+ * **Fountain pen** (default)
+ * **Ball point pen**
+ * **Highlight marker**
+* **Color** – the color of the line, as a color name or code such as `green`, `#00FF00`, or `rgb(0,255,0)` (default: `#000`)
+
+### Dimensions Tab
+
+* **Width unit** – the unit of the **Width** property
+ * **Pixels**
+ * **Percentage** (default)
+* **Width** – the width of the canvas (default: 100)
+* **Height unit** – the unit of the **Height** property
+ * **Auto** – the height adjusts automatically, within the limits of the **Minimum height** and **Maximum height** properties
+ * **Pixels** (default)
+ * **Percentage** – a percentage of the parent's height
+ * **Viewport** – a percentage of the viewport's height
+* **Height** – the height of the canvas (default: 250); not available when **Height unit** is set to **Auto**
+
+The following properties are available when **Height unit** is set to **Auto**:
+
+* **Minimum Height unit** – the unit of the **Minimum height** property: **None**, **Pixels** (default), **Percentage**, or **Viewport**
+* **Minimum height** – the minimum height of the canvas (default: 250); not available when **Minimum Height unit** is set to **None**
+* **Maximum Height unit** – the unit of the **Maximum height** property: **None** (default), **Pixels**, **Percentage**, or **Viewport**
+* **Maximum height** – the maximum height of the canvas (default: 250); not available when **Maximum Height unit** is set to **None**
+* **Vertical Overflow** – determines what happens when the content is higher than the maximum height: **Auto** (default), **Scroll**, or **Hidden**; not available when **Maximum Height unit** is set to **None**
+
+### Events Tab
+
+**On sign end** – the action that is executed when the user finishes a stroke on the canvas; the action receives the signature image as a data URI in the **Signature Image Uri** String variable
+
+### Accessibility Tab
+
+* **Aria required** – an expression that determines whether the canvas is marked as required for assistive technologies (default: false)
+* **Aria label** – the accessible label of the canvas (default: "Signature canvas")
+
+### Advanced Tab
+
+* **Show background grid** – when set to **Yes**, a grid is shown in the background of the writable area (default: **No**); the grid is not shown when the widget is read-only
+* **Line color** – the HTML color code of the grid lines (default: `#D7D7D7`)
+* **Cell height** – the height of the grid cell in pixels (default: 50)
+* **Cell width** – the width of the grid cell in pixels (default: 50)
+* **Line width** – the width of the grid line border in pixels (default: 1)
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/slider.md b/content/en/docs/marketplace/platform-supported-content/widgets/slider.md
index 0ddf1365b76..36b51613b10 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/slider.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/slider.md
@@ -25,13 +25,13 @@ If the user needs to set a range, instead of one value, you should use the [Rang
* Set a microflow that is executed when the user changes the slider value
* Show a tooltip when the user clicks or moves the slider handle
-* Render the slider with colors
+* Render the slider with colors using the **Style** design property (**Brand Primary**, **Brand Success**, **Brand Warning**, or **Brand Danger**)
## Configuration
To configure this widget, follow these steps:
-1. In Studio Pro, place the Slider widget in the context of an object that has an Integer or Decimal attribute to store the slider value.
+1. In Studio Pro, place the Slider widget in the context of an object that has an Integer, Long, or Decimal attribute to store the slider value.
2. Double-click the Slider widget to open the **Edit Slider** dialog box.
3. Configure the widget using the properties described in the sections below.
@@ -39,25 +39,26 @@ To configure this widget, follow these steps:
#### Data Source Section
-**Value attribute** – defines the attribute to store the value
+**Value attribute** – defines the Integer, Long, or Decimal attribute to store the value
#### General Section
+* **Enable advanced options** – when set to **Yes**, shows the step size, tooltip, and **Track** tab properties in Studio Pro; when set to **No** (default), these properties are hidden and keep their current values
* **Minimum value type** – sets the type of the value source for the **Minimum value** property
* **Static** – if selected, the minimum value is a static value
* **Dynamic** – if selected, the minimum value is a dynamic value
* **Expression** – if selected, the minimum value is an [expression](/refguide/expressions/)
-* **Minimum value** – sets the minimum value of the slider
+* **Minimum value** – sets the minimum value of the slider (default static value: 0)
* **Maximum value type** – sets the type of the value source for the **Maximum value** property
* **Static** – if selected, the maximum value is a static value
* **Dynamic** – if selected, the maximum value is a dynamic value
* **Expression** – if selected, the maximum value is an [expression](/refguide/expressions/)
-* **Maximum value** – sets the maximum value of the slider
+* **Maximum value** – sets the maximum value of the slider (default static value: 100)
* **Step size type** – sets the type of the value source for the **Step size** property
* **Static** – if selected, the step size is a static value
* **Dynamic** – if selected, the step size is a dynamic value
* **Expression** – if selected, the step size is an [expression](/refguide/expressions/)
-* **Step size** – sets the difference between two adjacent values on the slider
+* **Step size** – sets the difference between two adjacent values on the slider (default static value: 1); the step size must be greater than zero, and the difference between the maximum and minimum values should be evenly divisible by it
* **Show tooltip**
* **Yes** (default) – if selected, a tooltip is displayed when the user clicks or moves the slider handle
* **Tooltip type** – sets the tooltip type
@@ -87,15 +88,17 @@ To configure this widget, follow these steps:
### Track Tab
-* **Number of markers** – sets the number of the markers that appear along the slider's track
-* **Decimal places** – sets the number of decimal places for marker values
+The properties on this tab are shown when **Enable advanced options** is set to **Yes**.
+
+* **Number of markers** – sets the number of the markers that appear along the slider's track; markers are shown when the value is larger than 0 (default: 2)
+* **Decimal places** – sets the number of decimal places for marker values and tooltip values (default: 0); marker labels and tooltips use the decimal separator and digit grouping of the user's locale
* **Orientation** – determines the orientation of the slider
- * **Horizontal** – if selected, the orientation of the slider is horizontal
+ * **Horizontal** (default) – if selected, the orientation of the slider is horizontal
* **Vertical** – if selected, the orientation of the slider is vertical and you must set **Height unit** and **Height**
* **Height unit** – specifies the type of unit which is used for the **Height** property
* **Percentage** (default) – if selected, the aspect ratio is used to specify the height
* **Pixels** – if selected, an absolute value is used to specify the height
- * **Height** – the height in pixels or percentage based on the setting of **Height unit**
+ * **Height** – the height in pixels or percentage based on the setting of **Height unit** (default: 100)
### Events Tab
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/switch.md b/content/en/docs/marketplace/platform-supported-content/widgets/switch.md
index f6044a432cf..5f40baf2a21 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/switch.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/switch.md
@@ -15,12 +15,14 @@ To use this widget, place it in a [data container](/refguide/data-sources/) that
The widget offers the following for configuration:
-* A Boolean attribute to toggle on user-interaction
-* An action (such as Microflow or Nanoflow) to trigger when the Switch is toggled
-* A **Device style** design property with two options (`iOS` and `Android`) influencing the Switch's appearance
-* A **Style** design property for brand styling, influencing the Switch's colors
+* A **Boolean attribute** to toggle on user-interaction
+* An **On change** action (such as Microflow or Nanoflow) to trigger when the Switch is toggled
+* A **Device style** design property with two options (`iOS` and `Android`) influencing the Switch's appearance; when no option is selected, the iOS style is applied
+* A **Style** design property for brand styling, influencing the Switch's colors, with the options **Brand Primary**, **Brand Secondary**, **Brand Success**, **Brand Warning**, and **Brand Danger**
* [Common properties](/refguide/common-widget-properties/)
+Clicking the widget's label also toggles the switch.
+
This widget is compatible with [Atlas Core](https://marketplace.mendix.com/link/component/117187).
## Widgets Below Version 3.0.0
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/timeline.md b/content/en/docs/marketplace/platform-supported-content/widgets/timeline.md
index 94dc1d345f7..cc923918e3b 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/timeline.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/timeline.md
@@ -15,7 +15,7 @@ You can use the [Timeline](https://marketplace.mendix.com/link/component/115852/
For the sake of simplicity, there are two modes available to create a timeline:
-* **Basic** – this is the default mode in which you can select the **Data source**, **Title**, **Description**, and **Time indication** on the **Data Source** tab and the **Icon** on the **General** tab to quickly implement a timeline in your app
+* **Basic** – this is the default mode in which you can select the **Data source**, **Title**, **Description**, and **Time Indication** on the **Data Source** tab and the **Icon** on the **General** tab to quickly implement a timeline in your app
* **Custom** – enable this mode by setting **Custom Visualization** to **Yes** on the **General** tab to freely model everything that will be shown in the timeline, such as the title, icon, group header/day divider, time indication, and content
### Selecting a Data Source
@@ -26,7 +26,11 @@ Since the widget will try to group the events based on date, make sure there is
### Showing the Group Header {#group-header}
-On the **General** tab for both basic and custom modes, you can opt to show a day divider by selecting **Yes** for **Group Events** and selecting a **Group Attribute**.
+On the **General** tab for both basic and custom modes, you can opt to show a day divider by selecting **Yes** for **Group Events** (default) and selecting a **Group Attribute**. The **Group Attribute** must be a Date and time attribute, and it is required when **Group Events** is set to **Yes**.
+
+Use **Group by** to group events by **Day** (default), **Month**, or **Year**.
+
+Use **Ungrouped events position** to set where events without a date and time value are shown: **Beginning of the timeline** or **End of the timeline** (default).
{{% alert color="info" %}}
If you are using the basic mode, the values of the **Data source** field will be used as a group header via the **Group Attribute** property.
@@ -40,20 +44,24 @@ In the basic mode, configure the following properties:
* **Title** – required
* **Description**
-* **Time indication**
-* **Icon** – you can use glyphicons and images from the connected data-source entity; if an **Icon** is not provided, it will be shown as a circle with a background color specified in `.widget-timeline-icon-circle`
+* **Time Indication**
+* **Icon** – you can use glyphicons and images; if an **Icon** is not provided, it will be shown as a circle with a background color specified in `.widget-timeline-icon-circle`
-In the basic mode, you can show a group header in the following formats:
+In the basic mode, you can show a group header in the following formats, set with **Group by** and **Format**:
| Option | Explanation | Example |
| --- | --- | --- |
-| **Day** / **Day name** | This will show the full name of the weekday. | Monday |
-| **Day** / **Day** number and **month** | This will show a zero-padded day number and the full name of the month. | 01 March |
-| **Day** / **Day** number, **month**, and **year** | This will show the default date format based on the current language. | 31/12/2020 |
-| **Month** / **Month** name | This will show the full name of the month. | April |
-| **Month** / **Month** and **year** | This will show the short name of the month and the full year. | Apr 2020 |
+| **Day** / **Day name** (default) | This will show the full name of the weekday. | Monday |
+| **Day** / **Day and month** | This will show a zero-padded day number and the full name of the month. | 01 March |
+| **Day** / **Day, month, year** | This will show the default date format based on the current language. | 31/12/2020 |
+| **Month** / **Month** (default) | This will show the full name of the month. | April |
+| **Month** / **Month and year** | This will show the short name of the month and the full year. | Apr 2020 |
| **Year** | This will show the full year. | 2020 |
### Custom Mode-Specific Fields {#custom}
In the custom mode, the widget will generate five drop-zones for the icon, group header, title, time indication, and content. Since none of these fields are required, feel free to create your own timeline with any combination.
+
+### Events
+
+On the **Events** tab, you can set an **On click** action that runs when an event in the timeline is clicked. Events with an action get the `clickable` class.
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/tooltip.md b/content/en/docs/marketplace/platform-supported-content/widgets/tooltip.md
index d691c8dcb0e..aad2c0d5bc5 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/tooltip.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/tooltip.md
@@ -29,13 +29,13 @@ Several options can be defined in the Tooltip widget. For more information, see
For the sake of simplicity, there are two methods for creating a tooltip:
-- **Text** (default) – this mode lets you can enter text with or without parameters to quickly implement a tooltip in your app
-- **Custom** – enable this mode to freely design what will be shown in the tooltip such as the text, images, and widgets
+- **Text** (default) – this mode lets you enter text with or without parameters in the **Tooltip** property to quickly implement a tooltip in your app
+- **Custom** – enable this mode to freely design what will be shown in the tooltip such as the text, images, and widgets, using the **Tooltip content: place widgets here** region
If the tooltip has no content, it does not open. This happens, for example, when the text contains only spaces, or when all the widgets in the custom content are hidden.
{{% alert color="info" %}}
-From version 1.6.0 and above, custom tooltip content loads together with the page instead of when the tooltip first opens. This allows screen readers to announce the content. Data sources inside custom content, such as a data view or a list view, run when the page loads even if the user never opens the tooltip. We recommend you avoid heavy data sources in tooltip content, because they can decrease page performance.
+From version 1.6.0 and above, custom tooltip content loads together with the page instead of when the tooltip first opens. This allows screen readers to announce the content. Data sources inside custom content, such as a data view or a list view, run when the page loads even if the user never opens the tooltip. Avoid heavy data sources in tooltip content, because they can decrease page performance.
{{% /alert %}}
### Tooltip Position
@@ -44,7 +44,7 @@ You can define how to position the tooltip in relation to the trigger element.
**Tooltip Position** options are as follows:
-- Top
+- Top (default)
- Left
- Bottom
- Right
@@ -56,7 +56,7 @@ With the new Tooltip widget you also can define how to position the tooltip arro
**Arrow Position** options are as follows:
- Start
-- Center
+- Center (default)
- End
### Open On
@@ -75,6 +75,10 @@ From version 1.6.0, new Tooltip widgets use **Hover,focus** by default, so keybo
On mobile devices the **Hover** option will be triggered on touch.
{{% /alert %}}
+### Styling
+
+To show the widget as an inline element, set the **Show inline** design property to **Yes**. This adds the `widget-tooltip-inline` class to the widget.
+
## Keyboard and Screen Reader Support {#keyboard-screen-reader}
The sections below describe how the Tooltip widget works with the keyboard and with screen readers. This behavior applies from version 1.6.0 of the widget.
diff --git a/content/en/docs/marketplace/platform-supported-content/widgets/video-player.md b/content/en/docs/marketplace/platform-supported-content/widgets/video-player.md
index 02f2024976f..2b08c43845a 100644
--- a/content/en/docs/marketplace/platform-supported-content/widgets/video-player.md
+++ b/content/en/docs/marketplace/platform-supported-content/widgets/video-player.md
@@ -38,6 +38,34 @@ Configure the following properties:
{{< figure src="/attachments/appstore/platform-supported-content/widgets/video-player/dimensions.jpg" class="no-border" >}}
+### General Tab
+
+* **Type** – determines how the URLs are provided: **Dynamic** (default) uses text templates, and **Expression** uses String expressions
+* **Video URL** (required) – the web address of the video: YouTube, Vimeo, Dailymotion, or MP4
+* **Poster URL** – the web address of a poster image, which is a custom preview image shown in the player until the user starts the video
+
+### Accessibility Tab
+
+* **Title** – describes the purpose of the video, for example "Video tutorial on accessibility"; it is set as the `title` of the embedded player to give a meaningful description of the video content
+
+### Controls Tab
+
+* **Auto start** – automatically starts playing the video when the page loads (default: **No**)
+* **Show Controls** – displays the video controls, such as the control bar, display icons, and dock buttons; available for YouTube, Dailymotion, and external videos (default: **Yes**)
+* **Muted** – starts the video on mute (default: **No**)
+* **Loop** – loops the video after it finishes; available for YouTube, Vimeo, and external videos (default: **No**)
+
+### Dimensions Tab
+
+* **Width Unit** – **Percentage** (default) is a portion of the parent size, and **Pixels** is an absolute amount of pixels
+* **Width** – default: **100**
+* **Height unit** – one of the following options:
+ * **Aspect ratio** (default) – the ratio of width to height, set in **Aspect ratio**: **16:9** (default), **4:3**, **3:2**, **21:9**, or **1:1**
+ * **Percentage of parent** – a portion of the parent height
+ * **Percentage of width** – a portion of the width
+ * **Pixels** – an absolute amount of pixels
+* **Height** – used when **Height unit** is not **Aspect ratio** (default: **500**)
+
### Cordova Configuration
If your are building a hybrid mobile app, you need to add the following lines to enable access to YouTube, Vimeo, and Dailymotion videos as well as MP4 extensions through your Sprint in **Apps** > **Mobile App** > [Custom Cordova Configuration](/developerportal/deploy/mobileapp/#custom):