- Issue created by @gareth.poole
- π³πΏNew Zealand dieuwe Auckland, NZ
This bug applies to all modals inside modals.
There is an open issue against the old namespace for this module: β¨ It is not possible to have the embedded content modal open another modal. Needs review
I've rerolled Lee's patch for this module and attached it.
You also need a patch from π Nested modals don't work: opening a modal from a modal closes the original Needs work where I found that #199 π Nested modals don't work: opening a modal from a modal closes the original Needs work is the one that actually works with core 10.1.6 (and maybe 7).
This fixed up media modals, however I found that the modal to change text formats still save changes with this setup. But it is an improvement.
- π³πΏNew Zealand stewest Wellington
There are several more patches now
https://www.drupal.org/project/drupal/issues/2741877#comment-15684283 π Nested modals don't work: opening a modal from a modal closes the original Needs work - πͺπΈSpain nuez Madrid, Spain
This issue is the same as the original issue in the Ckeditor5 Embedded Content module.
https://www.drupal.org/project/ckeditor5_embedded_content/issues/3306230 β¨ It is not possible to have the embedded content modal open another modal. Needs review
That issue will no longer apply as the module has changed names to this one. I'm changing the issue description to copy the previous issue.
- π³πΏNew Zealand danielveza Brisbane, AU
nuez β credited danielveza β .
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
nuez β credited larowlan β .
- πͺπΈSpain nuez Madrid, Spain
I've added the necessary code to make multiple modals work out of the box when the patch from https://www.drupal.org/project/drupal/issues/2741877 π Nested modals don't work: opening a modal from a modal closes the original Needs work is applied. If not, it will also work, just not with multiple modals such as the ones opening up in the Media Libarary.
Changes have been based on some of the suggestions made in https://www.drupal.org/project/ckeditor5_embedded_content/issues/3306230 β¨ It is not possible to have the embedded content modal open another modal. Needs review , hence the due credits.
Automatically closed - issue fixed for 2 weeks with no activity.