From e29014a8a13f93c1a8a9c953a067ece112ee7b25 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 27 Nov 2026 07:38:07 +0100 Subject: [PATCH] =?UTF-8?q?Benenne=20die=20Schaltfl=C3=A4che=20der=20Sprun?= =?UTF-8?q?gmarke=20und=20lass=20Esc=20im=20Linkdialog=20nur=20den=20Dialo?= =?UTF-8?q?g=20schlie=C3=9Fen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- app/Filament/Support/SectionEditor.php | 1 + resources/views/filament/cms/link-picker.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Support/SectionEditor.php b/app/Filament/Support/SectionEditor.php index c51b851..313c228 100644 --- a/app/Filament/Support/SectionEditor.php +++ b/app/Filament/Support/SectionEditor.php @@ -186,6 +186,7 @@ private static function labelSection(): Section $set('anchor', filled($state) ? Str::slug($state, '-', 'de') : null); }) ->suffixAction(Action::make('anchorFromName') + ->label('Sprungmarke aus dem Namen vorschlagen') ->icon('heroicon-o-sparkles') ->tooltip('Aus dem Namen vorschlagen') ->action(fn (Get $get, Set $set) => $set('anchor', Str::limit(Str::slug((string) $get('name'), '-', 'de'), PageSections::MAX_ANCHOR, '')))) diff --git a/resources/views/filament/cms/link-picker.blade.php b/resources/views/filament/cms/link-picker.blade.php index 7d31d69..a10b13f 100644 --- a/resources/views/filament/cms/link-picker.blade.php +++ b/resources/views/filament/cms/link-picker.blade.php @@ -8,7 +8,7 @@ @endphp