Configuration
Below is the full configuration available with defaults values:
"example" => [
"type" => "anomaly.field_type.editor",
"config" => [
"default_value" => null,
"mode" => "twig",
"height" => 500,
"word_wrap" => null,
]
]
Properties
Key | Example | Description |
---|---|---|
default_value |
`Hello World` |
The default value. |
mode | css | The editor mode. Valid options can be found in the `editor.php` config file. |
height | 1000 | The height of the editor. |
word_wrap | `true` | Whether to wrap long lines of text or not. |