Issue #3489170: Added a popup warning when the content inside html embed is not saved.
1 unresolved thread
Closes #3489170
Closes #3489170
1 | <?php | |
2 | ||
3 | /** | |
4 | * Implements hook_page_attachments(). | |
5 | */ | |
6 | function ckeditor_html_embed_page_attachments(array &$attachments) { | |
7 | // Only add on pages with CKEditor | |
8 | if (\Drupal::service('current_route_match')->getRouteName() === 'entity.node.edit_form' || | |
|