- πΊπΈUnited States choneyse
Can confirm that #76 worked for me to bring back the edit button in Drupal 9.5.2. Most likely unrelated to the patch however is now my selection of alignment / style only works on the initial save. When trying to edit the item a second time and change values the changes are not being saved.
- πΊπΈUnited States azinck
@choneyse it sounds like you're suffering from this bug: π Changing an existing embedded media's alignment or alt data attributes does not get saved with CKEditor Needs work
- First commit to issue fork.
- @vladimiraus opened merge request.
- π¦πΊAustralia VladimirAus Brisbane, Australia
Pushing to MR, hiding files.
Thanks everyone for commits π» - Status changed to Needs work
almost 2 years ago 3:11pm 25 February 2023 - πΊπΈUnited States smustgrave
From what I can tell the MR 3297 is just the patch from #76 no?
As a bug this will need a test case
- π¦πΊAustralia preksha
I was having a same issue and it worked by following the comment https://www.drupal.org/project/drupal/issues/3097338#comment-13371176 π If a filter wraps the drupal-media tag in a paragraph, the edit button breaks Needs work
Still it's work around as it may impact the frontend on our project as vide mode needs to be updated.
Applying the patch would at least provide the Edit Media button without affecting view mode
- πΊπΈUnited States afayland
Re-rolled the patch from https://www.drupal.org/project/drupal/issues/3097338#comment-13385746 π If a filter wraps the drupal-media tag in a paragraph, the edit button breaks Needs work into the ckeditor module here: https://www.drupal.org/project/ckeditor/issues/3342759#comment-15176900 π If a filter wraps the drupal-media tag in a paragraph, the edit button breaks Needs review
Since this patch was from 2019, it no longer worked with the updated drupalmedia directory location.
- π«π·France GaΓ«lG Lille, France
Can this bug be reproduced on a clean Drupal 10 install, i.e. with CKEditor 5? I don't think so. At least on my test instance I'm able to change the alt and alignment of the embedded media thanks to the new CKE5 UI.
As CKEditor 4 is now contrib and unsupported, I guess this issue should be in CK4 contrib and not in core?