File tree Expand file tree Collapse file tree
src/Filament/Forms/Components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ protected function mutateContentPickerState(Model | Content $content)
270270
271271 // Convert attributes array to string
272272 $ attributesString = collect ($ attributes )
273- ->map (fn ($ value , $ key ) => "{$ key }= \"{$ value }\"" )
273+ ->map (fn ($ value , $ key ) => "{$ key }= \"{$ value }\"" )
274274 ->join (' ' );
275275
276276 return [
Original file line number Diff line number Diff 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 [
You can’t perform that action at this time.
0 commit comments