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

Embed in a structure or object field in K3 #26

Open
malvese opened this issue Dec 15, 2024 · 0 comments
Open

Embed in a structure or object field in K3 #26

malvese opened this issue Dec 15, 2024 · 0 comments

Comments

@malvese
Copy link

malvese commented Dec 15, 2024

I have an issue when I use Embed in a structure field in Kirby 3. Once I add a video, the whole structure field is replaced by this error message "Cannot read properties of undefined (reading '$urls')":

image

The field still works on the front end, I can fetch info and diplay the video, but can no longer edit the structure in the panel.
I tried with an Object field instead for the sake of testing, and have the same issue.

Kirby version is 3.10.11, Embed is 1.1.2.

I also tried with a fresh Starterkit install, with only the embed plugin installed, and could reproduce it by adding this to an existing blueprint :

fields:
  videos:
    label: Vidéos
    type: structure
    fields:
      videosource:
        label: Vidéo
        type: embed

In Kirby 4 it works fine, but I cant upgrade this particular site right now.

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

1 participant