editorjs-php icon indicating copy to clipboard operation
editorjs-php copied to clipboard

Configuration File issue

Open aquibj0 opened this issue 4 years ago • 1 comments

I'm not able to set the configuration file. Every time it says configuration data is empty. I'm using in laravel

aquibj0 avatar Aug 28 '21 14:08 aquibj0

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"); } }

indexcoder avatar Dec 06 '22 13:12 indexcoder