Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/strat/web/modules/contrib/ckeditor5_premium_features/js/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/strat/web/modules/contrib/ckeditor5_premium_features/js/ckeditor5_premium_features.js

/*
 * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */

/**
 * @file
 * CKEditor 5 premium features override of CKEditor 5 implementation
 * of {@link Drupal.editors} API.
 *
 * Prevents executing original detach on tabledrag and ensures there is no
 * editor already initialized before attaching new one.
 */

((Drupal) => {

  Drupal.editors.ckeditor5.coreAttach = Drupal.editors.ckeditor5.attach;
  Drupal.editors.ckeditor5.coreDetach = Drupal.editors.ckeditor5.detach;

  Drupal.editors.ckeditor5.attach = function(element, format) {
    const id = element.getAttribute('data-ckeditor5-id');
    const editor = Drupal.CKEditor5Instances.get(id);
    // Init new editor only if we don't yet have it on element.
    if (!editor) {
      Drupal.editors.ckeditor5.coreAttach(element, format);
    }
  }

  Drupal.editors.ckeditor5.detach = function(element, format, trigger) {
    if (trigger !== 'move') {
      Drupal.editors.ckeditor5.coreDetach(element, format, trigger);
    }
  }

})(Drupal);

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net