Setze Symbole vor Absätze, Nummern in Kreise und Symbole statt Aufzählungspunkte im Text (ADR-69)
CI Feature / test (push) Successful in 7m17s
Deploy Test / test (push) Successful in 6m48s
Deploy Test / deploy (push) Successful in 41s

Zwei Werkzeuge im Texteditor (Symbol vor dem Absatz, Listenstil); gespeichert
werden nur Schlüssel, Bild und Farbe setzt die Ausgabe ein. Kreisfarben aus
der Palette, Verwendung wird mitgezählt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-30 18:58:10 +01:00
1 parent 67764c3e4f
commit e904b500fb
24 files changed
+814 -14

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@ public static function make(string $name, ?string $label = null, bool $live = tr
if ($website) {
// Interne Seite oder Sprungmarke verlinken, gleich neben dem freien Link.
$toolbar[0] = [...$toolbar[0], 'interneSeite'];
array_splice($toolbar, 1, 0, [['fontSize', 'textColor'], ['alignStart', 'alignCenter', 'alignEnd']]);
array_splice($toolbar, 1, 0, [['fontSize', 'textColor'], ['alignStart', 'alignCenter', 'alignEnd'], ['absatzSymbol', 'listenStil']]);
}
if ($images) {
@@ -47,7 +47,7 @@ public static function make(string $name, ?string $label = null, bool $live = tr
if ($website) {
$field
->plugins([new FontSizePlugin, new InternalLinkPlugin])
->plugins([new FontSizePlugin, new InternalLinkPlugin, new TextMarksPlugin])
->textColors(Arr::mapWithKeys(
FormattedText::SITE_COLORS,
fn (string $label, string $key): array => [$key => TextColor::make($label, self::SITE_COLOR_VALUES[$key])],