Fixed
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
CKEditor integration
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2024 at 21:49 UTC
Updated:
19 Nov 2026 at 20:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
edysmpthe patch
Comment #3
charlieweb82 commentedWork good, tested and the List still present when I edit the embed the patch #2 is fixed the issues
Comment #5
edysmpopened a MR
Comment #6
heddnNW because of test failures.
Comment #7
dalinSince the related Drupal Core issue was critical (because it results in content mangling when upgrading from CK4), this issue should also be.
Comment #8
dalinWhile this patch makes things better, I'm experiencing some significant UX issues:
1. Create an OL
2. Use Entity Embed button to insert a document
3. Try to add another LI. There's no way to put your cursor after the embedded document and press <enter>. The CK5 "type around" buttons are misleading since they only add soft line breaks (i.e. keep you within the current LI)
4. You might eventually figure out that you have to put an empty paragraph after the OL, and then click the OL toolbar button (it doesn't add a new OL, it merges into the existing one).
I don't know enough about the inner workings here, but I suspect that this should be a follow-up issue. Or it might even be an upstream issue with Drupal Core or CK5???
Comment #10
stacypendell commentedThis patch has been working well on one of our sites, but now we'd like to upgrade to core 10.5.1 and this patch conflicts with 3531672. Any chance of a reroll to handle both issues?
Appreciate your work fixing this issue!
Comment #11
odenscWe've been running this patch in production the last few months and it's been working well. I couldn't reproduce the issues described in #8, not sure if a recent core or CKEditor update has fixed things. I'm moving to RTBC if there are no objections, it's a significant improvement to the existing behavior (of not being able to embed things in lists at all), even if it weren't perfect.
Comment #12
odenscNVM, I see that the tests are failing. I will attempt to fix them before moving back to RTBC.
Comment #15
odenscAfter merging in master, the tests are passing locally, so the failure appears unrelated to this MR (other GitLab workflows such as the ones in e.g. #3531672: Drupal 10.5/11.2 Compatibility (tooltip broken, cannot edit embedded entities) are failing with the same
Test was run in child process and ended unexpectedlyerror), so moving back to RTBC.Comment #17
dave reidComment #19
dave reid