Skip to content

Image Mode "Nested entries" does not work unless the "Insert image" button is added to the toolbar #524

@MoritzLost

Description

@MoritzLost

Description

The new option to insert drag-and-drop images as nested entries (#509) does not work at all for me. I'm not getting any errors, but also nothing happens. When I drag an image over the CKEditor field, it's showing the insertion markers, but when I drop it, it simply disappears and nothing happens. I don't get any errors in the console, and I'm also not seeing any network requests (which would be required to create a nested entry). So it looks like something is just not triggering.

The only indication that something is wrong are some warnings in the console, though those appear on page load, not during the drag-and-drop interaction:

CKEditor console warning: toolbar-item-unavailable

Steps to reproduce

  1. Create a CKEditor field, select at least one allowed entry type (that has one Assets field that allows images), and add the + button.
  2. Under Assets -> Image Mode, select Nested Entries. Select the only available option under Image Field.
  3. Add the field to an entry type.
  4. Create an entry, enter some text, then drag an image into the editor.

Additional info

So far I've only tested this in Firefox 149.

  • Craft version: 5.9.15
  • PHP version: 8.3
  • Database driver & version: MySQL

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions