Skip to content

[5.x] New nested entry image feature always uses first available entry type #510

@gregorterrill

Description

@gregorterrill

Description

Just trying this new feature out - I have an existing CKEditor field with two nestable entry types - Button and Media (which is what I was using to embed images before). I've just added CKEditor's image button alongside these two nested entry types. Here's what the field settings look like:

Image

I've set the field image settings to use the Media entry type's Asset field:

Image

However, when I drag in an image, or click the Insert Image button, it actually creates a Button nested entry with empty fields:

Image

If in the field settings, I rearrange the two Entry Types so that Media appears first in the list, it works as expected and inserts a Media nested entry with the Asset field properly populated instead, which is what I would expect to happen:

Image

Craft 5.9.14
CKEditor 5.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions