initial commit

This commit is contained in:
isUnknown 2026-02-09 08:36:12 +01:00
commit 9439de0603
600 changed files with 124248 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?php
use Kirby\Toolkit\I18n;
return [
'props' => [
/**
* Text to be displayed
*/
'text' => function ($value = null) {
return I18n::translate($value, $value);
},
],
'computed' => [
'text' => function () {
if ($text = $this->text) {
$text = $this->model()->toString($text);
$text = $this->kirby()->kirbytext($text);
return $text;
}
}
],
'save' => false,
];