Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration File issue #53

Open
aquibj0 opened this issue Aug 28, 2021 · 1 comment
Open

Configuration File issue #53

aquibj0 opened this issue Aug 28, 2021 · 1 comment

Comments

@aquibj0
Copy link

aquibj0 commented Aug 28, 2021

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

@indexcoder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants