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.
default
-
(string) An optional default text.
value
-
(string) The last saved text.
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.2.5 | Introduced. |
Last Update: 2022-03-09
Helpful?