Skip to content

Commit be3ab97

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5e8d1aa commit be3ab97

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/Filament/Forms/Components/MarkdownEditor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ protected function mutateMediaPickerState(Model | MediaAsset $mediaAsset)
173173

174174
// Convert attributes array to string
175175
$attributesString = collect($attributes)
176-
->map(fn($value, $key) => "{$key}=\"{$value}\"")
176+
->map(fn ($value, $key) => "{$key}=\"{$value}\"")
177177
->join(' ');
178178

179179
return [
@@ -223,7 +223,7 @@ protected function mutateContentPickerState(Model | Content $content)
223223

224224
// Convert attributes array to string
225225
$attributesString = collect($attributes)
226-
->map(fn($value, $key) => "{$key}=\"{$value}\"")
226+
->map(fn ($value, $key) => "{$key}=\"{$value}\"")
227227
->join(' ');
228228

229229
return [

src/Filament/Forms/Components/RichEditor/Plugins/ContentPickerRichPlugin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public function getEditorActions(): array
9797
],
9898
editorSelection: $arguments['editorSelection'],
9999
);
100+
100101
return;
101102
}
102103

@@ -107,7 +108,7 @@ public function getEditorActions(): array
107108
'target' => $data['shouldOpenInNewTab'] ? '_blank' : null,
108109
];
109110

110-
if (!$isSingleCharacterSelection && ($arguments['editorSelection']['type'] ?? '') === 'text') {
111+
if (! $isSingleCharacterSelection && ($arguments['editorSelection']['type'] ?? '') === 'text') {
111112
// Convert selected text to cmsContentLink
112113
$component->runCommands(
113114
[

0 commit comments

Comments
 (0)