- π·π΄Romania claudiu.cristea Arad π·π΄
I think, at least, we should allows 3rd-party to hook in and alter the cloned media entity. Then
MediaEmbed::applyPerEmbedMediaOverrides()
looks like a good place from where to dispatch an event, so that listeners are able to change the cloned media, overriding the way is rendered. - last update
over 1 year ago Custom Commands Failed - @claudiucristea opened merge request.
- last update
over 1 year ago 29,374 pass - π¨π¦Canada b_sharpe
To edit from inside ckeditor, you're likely going to need π Drupal.ckeditor5.openDialog missing existingValues param Needs work
- πΊπΈUnited States cgmonroe
FYI - This is already possible using the form alter hook. I added how to do this to the Embedding Media With CKEditor documents a couple of years ago. See:
Haven't tried it yet, but don't see why this will not work for CKEditor 5 as well.
Perhaps the focus of this issue should be to add tests to ensure that code using this method does not break.