We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I tried to follow this for the expected format:
https://github.com/HansSchouten/PHPageBuilder/blob/master/src/Modules/GrapesJS/Block/BlockAdapter.php#L136
"settings" => [ "nav-theme" => [ "type" => "select", "label" => "Nav Theme", "name" => "navtheme", "options" => [ 'id' => 0, "name" => "nav-light", 'id' => 1, "name" => "nav-dark", ] ], ]
But am getting an error so I must have it wrong?
And how do I use a .jpg file for thumbnail preview please???
The text was updated successfully, but these errors were encountered:
Instead of using a custom image that you should create and keep up-to-date, I would suggest to render them automatically.
I see the issue, it should be:
"settings" => [ "nav-theme" => [ "type" => "select", "label" => "Nav Theme", "name" => "navtheme", "options" => [ ['id' => 0, "name" => "nav-light"], ['id' => 1, "name" => "nav-dark"], ] ], ]
Sorry, something went wrong.
No branches or pull requests
Hi,
I tried to follow this for the expected format:
https://github.com/HansSchouten/PHPageBuilder/blob/master/src/Modules/GrapesJS/Block/BlockAdapter.php#L136
But am getting an error so I must have it wrong?
And how do I use a .jpg file for thumbnail preview please???
The text was updated successfully, but these errors were encountered: