Benenne die Schaltfläche der Sprungmarke und lass Esc im Linkdialog nur den Dialog schließen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c33e47fadd
commit
e29014a8a1
2 files changed
+2
-1
No files matched your search
@@ -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, ''))))
|
||||
|
||||
Reference in new issue
Block a user