-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
4.0 Compatibility #57
Comments
I just created #58 to address the dialog UI and resolve a breaking change introduced in alpha 4. While working on it, I also encountered some more UI bugs. However, I'm unsure whether these should be handled within this repo or reported to the Kirby repo. They happen due to these CSS overrides: /* Causes locator icon to shrink which feels unintuitive */
:where(img,picture,svg) {
max-inline-size: 100%;
}
/* Causes leaflet flag icon to move to a separate line. Note leaflet is an external dependency */
:where(img,svg,video,canvas,audio,iframe,embed,object) {
display: block;
} What do you think? |
ping @sylvainjule |
constructor of structure changed. your fieldMethods.php needs a fix <?php
use Kirby\Cms\Structure;
return [
'toLocation' => function ($field) {
$structure = new Structure([$field->yaml()], [
'parent' => $field->parent()
]);
return $structure->first();
},
]; |
Just noticed that the Field Preview requires some tweaks and maybe rounded borders to be inline with the current Panel styles. @sylvainjule do you prefer issues being created here or as separate github issues? Also happy to create pull requests if needed. |
Thank you for this and the PR! I'm catching up with maintenance of all my plugins this week, once they're all up to speed for Kirby 3.9 I'll dig into 4.0. |
Apart from visual quirks, does it otherwise work with v4? Does anybody use it without the fixes? |
The plugin is now compatible with Kirby 4 ✓ |
Tested on 4.0.0-alpha.3 and working great! There is just minor UI issue:
The text was updated successfully, but these errors were encountered: