editorjs-php
editorjs-php copied to clipboard
Configuration File issue
I'm not able to set the configuration file. Every time it says configuration data is empty. I'm using in laravel
public static function getEditorConfig(){
try {
if (file_exists(storage_path('app/livewire/editorjs-config.json'))) {
return file_get_contents(storage_path('app/livewire/editorjs-config.json'));
}
} catch (Exception $e) {
throw new Exception("EditorJS config not found");
}
}