Canopy Input Types

Learn about the different Canopy elements available for the Canopy editor in Blutui

The following Canopy elements are available for creating editable components in the Canopy editor:

Text

function: cms_text

A text component for displaying editable text content in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
value (optional)The text content to be displayed within the text componentString
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

Heading

function: cms_heading

A heading component for displaying editable headings (h1-h6) in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
element (optional)The HTML element type of the heading (h1, h2, h3, h4, h5, or h6)String
value (optional)The text content to be displayed within the headingString
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

Image

function: cms_image

An image component for displaying editable images in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
url (optional)Link to an image to displayString
alt_text (optional)Descriptive text for accessibility and SEOString
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

Button

function: cms_button

A button component for creating editable links styled as buttons in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
text (optional)The text content to be displayed within the buttonString
url (optional)The button URLString
class (optional)A space-separated list of CSS classes to style the elementString
opens_new_tab (optional)Set to true to open the linked URL in a new tabBoolean

View full documentation

List

function: cms_list

A list component for creating editable ordered or unordered lists in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
ordered (optional)Set ordered list or unordered listBoolean
items (optional)Array containing the content of each list itemArray[String]
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

Quote

function: cms_quote

A quote component for displaying editable blockquotes in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
value (optional)The text content of the quotationString
cite (optional)Reference information for the quote (author, source, etc.)String
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

Code

function: cms_code

A code component for displaying editable code blocks in the Canopy editor.

ArgumentDescriptionData Type
nameThe element identifierString
value (optional)The code to be displayedString
class (optional)A space-separated list of CSS classes to style the elementString

View full documentation

On this page