Text > Area

Overview

A text area for short or long description.

You can limit the characters (let empty or 0 for no limitation) and set a default value.

You can activate the WYSIWYG option.

To create a text field, start by choosing the input type “text > Area” (see settings).

Screenshot

Settings

  • Title : Label of the field
  • Identifier : Unique ID, used for template redefinition and custom script. By default, the identifier is set by a concatenation of the Custom Type identifier (eg “all_fields”) and Title (eg. “area”).
  • Input type : current definition of the field type. Note that after saving, you’ll be unable to change it.
  • Required : define if the field is mandatory or not when user will complete the content form.
  • Show in Grid : define if the field will be available to be showed in the content listing (under CMS → Your content type name). Take care because all value will be showed.
  • Note : A note which will be displayed under the field to help the webmaster, or give information about this field.

Special settings :

  • Max Characters : let you put a limit on the number of characters.
  • Default Value : Set a default value for this field when creating a new content.
  • Wysiwyg: choose the editing experience for this field:
    • None: plain text area.
    • Wysiwyg: the standard Magento WYSIWYG (TinyMCE) editor.
    • Page Builder: the Magento Page Builder editor (only available when Page Builder is enabled in your store).

On the content edit form, unchecking "Use default value" for a store view lets you edit a store-specific value; while "Use default value" is checked, the editor (Wysiwyg or Page Builder) is disabled and shows the value inherited from the default (All Store Views) scope.

Note for developers: the default field template outputs the field's raw HTML without sanitization (as any WYSIWYG content would be). If you render this field through a custom template, see Renders Methods for the WysiwygEditorRenderer view model that helps sanitize and interpolate WYSIWYG content.

Loading...