Skip to content

Commit

Permalink
Add default value to getCustomConfigs method (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringattila authored Jun 10, 2024
1 parent 3a1781b commit 16f3e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function getCustomConfigs(): string
return str_replace('"', "'", json_encode(config('filament-tinyeditor.profiles.' . $this->profile . '.custom_configs')));
}

return '';
return '{}';
}

public function darkMode(): string | bool
Expand Down

0 comments on commit 16f3e4f

Please sign in to comment.