Your cart is empty!
Editor
Displays a What-You-See-Is-What-You-Get type of editor.
type
-
(string) Must be equals to editor.
label
-
(string) The label to display next to the field.
help
-
(string) An optional text to describe the purpose of the field.
required
-
(bool) Whether the field is mandatory or optional.
value
-
(string) The content of the editor.
buttons
-
(bool) Whether to display the CMS buttons or not (true by default).
editor
-
(string) A specific type of editor to use (such as codemirror or tinymce). Leave empty to always use the default one.
hidden
-
(bool) True to avoid displaying the label of the field.
[
'shortdesc' => [
'type' => 'editor',
'label' => 'Short Description',
'value' => 'Lorem ipsum dolor...',
]
]
Changelog
Version | Description |
---|---|
1.9 | Introduced. |
Last Update: 2023-12-29 14:15
Helpful?