2021-10-29 18:05:46 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2022-08-31 16:08:03 +02:00
|
|
|
'props' => [
|
|
|
|
/**
|
|
|
|
* Sets the allowed HTML formats. Available formats: `bold`, `italic`, `underline`, `strike`, `code`, `link`. Activate them all by passing `true`. Deactivate them all by passing `false`
|
|
|
|
*/
|
|
|
|
'marks' => function ($marks = true) {
|
|
|
|
return $marks;
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'computed' => [
|
|
|
|
'value' => function () {
|
|
|
|
return trim($this->value ?? '');
|
|
|
|
}
|
|
|
|
]
|
2021-10-29 18:05:46 +02:00
|
|
|
];
|