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);
|
$set('anchor', filled($state) ? Str::slug($state, '-', 'de') : null);
|
||||||
})
|
})
|
||||||
->suffixAction(Action::make('anchorFromName')
|
->suffixAction(Action::make('anchorFromName')
|
||||||
|
->label('Sprungmarke aus dem Namen vorschlagen')
|
||||||
->icon('heroicon-o-sparkles')
|
->icon('heroicon-o-sparkles')
|
||||||
->tooltip('Aus dem Namen vorschlagen')
|
->tooltip('Aus dem Namen vorschlagen')
|
||||||
->action(fn (Get $get, Set $set) => $set('anchor', Str::limit(Str::slug((string) $get('name'), '-', 'de'), PageSections::MAX_ANCHOR, ''))))
|
->action(fn (Get $get, Set $set) => $set('anchor', Str::limit(Str::slug((string) $get('name'), '-', 'de'), PageSections::MAX_ANCHOR, ''))))
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
@endphp
|
@endphp
|
||||||
<div class="vw vw-dialog luf-link-dialog" role="dialog" aria-modal="true" aria-labelledby="link-titel" wire:key="link-picker"
|
<div class="vw vw-dialog luf-link-dialog" role="dialog" aria-modal="true" aria-labelledby="link-titel" wire:key="link-picker"
|
||||||
x-data x-trap.noscroll="true"
|
x-data x-trap.noscroll="true"
|
||||||
x-on:keydown.escape.window="$wire.closeLinkPicker()"
|
x-on:keydown.escape.stop="$wire.closeLinkPicker()"
|
||||||
wire:click.self="closeLinkPicker">
|
wire:click.self="closeLinkPicker">
|
||||||
<div class="vw-dialog-karte is-schmal">
|
<div class="vw-dialog-karte is-schmal">
|
||||||
<div class="vw-dialog-kopf">
|
<div class="vw-dialog-kopf">
|
||||||
|
|||||||
Reference in new issue
Block a user