Skip to content
Snippets Groups Projects

Issue #3489170: Added a popup warning when the content inside html embed is not saved.

Open Issue #3489170: Added a popup warning when the content inside html embed is not saved.
1 unresolved thread
1 unresolved thread

Closes #3489170

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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' ||
Please register or sign in to reply
Loading