Overview

HTML (Hyper Text Markup Language) is the standard language used for creating and structuring pages. It employs tags to define and organize elements such as text, images, and links, which are then displayed in a layouts.

image-20240817-060422.png

HTML Studio Attributes

Description

Design

In the design section, users can create, modify, and style the HTML script.

note

Note: Whatever you design in the design section will automatically generate the corresponding HTML script in the code section.

Note: Whatever you design in the design section will automatically generate the corresponding HTML script in the code section.

Code

In the code section, users can create and edit HTML scripts directly.

note

Note: Whatever you write in the code section will automatically reflect in the design section code section.

Note: Whatever you write in the code section will automatically reflect in the design section code section.

Preview

The preview section displays a live view of how the design or code will appear in a web browser.

Attributes of HTML

Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.

image-20240817-060102.png

Basic:

image-20240925-152733.png

Attribute Name

Description

Component Size

  • This allows users to modify the size of a specific component according to the grid size of layout.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

For example,
If the layout grid size is 3 then layout is divided into 3 sections then you can changes the components size between 1 to 3.

Body

Base UI:

image-20240925-153044.png

Attribute Name

Description

Padding Location

Padding Location typically refers to the configuration of spacing around elements

Padding Size

Padding Size refers to the amount of space added inside an element, between the element's content and its border or edge.

Margin Location

Margin Location refers to the spacing around the outside edge of an element

Margin Size

Margin Size refers to the amount of space around the outside edges of an element,

Style

  • It is used to apply custom styles to section, such as color, font, size, and more.

  • It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.

  • You can explore more about Styles attribute here.

Classes

It is used to apply SLDS classes to section, if needed.

Editor Height

The Editor Height refers to the vertical size or dimension of an editor, typically measured in pixels, em, % , rem, cm, vh, vw, in indicating how tall the editor appears on the screen.

Reference: Editor Height source type.

Editor Width

The editor width”denotes the horizontal size or dimension of an editor, representing its width across the screen, also measured in pixels, em, % , rem, cm, vh, vw, in.

Reference: Editor Width source type.

UI State:

image-20240925-153140.png

Attribute Name

Description

Visibility Type

It determines whether a component is visible on the layout. It offers the following visibility types:

  1. Always: The component will always be visible.

  2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed. You can explore more about Visibility Type here.

Reference: Conditional Visibility

Editor Height and width Source Type:

image-20240817-063706.png

Label Source Type Attribute

Description

Model

From this source, users can select a Model (Salesforce Object) field to be displayed as the editor height and width field.

Reference: Models

Variable

Here, users can select the label name from variables such as Is Disabled, Is Read only, or Is Visible.

Reference: Variables

Merge Field Expression

Merge Field Expression displays the value selected from the chosen value source.

Message Body

Inside the message body, user also can add the values manually.

Events