Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the same issue for D7 should be fixed by the same code but with another path condition:
if (arg(0) == 'admin' && arg(1) == 'structure' && arg(2) == 'pages' && module_exists('bueditor')) {
$bue_id = 1;//your editor's id
bueditor_settle($bue_id);
$bue_setting['BUE']['preset']['edit-body'] = "e$bue_id";
drupal_add_js($bue_setting, 'setting');
drupal_set_html_head('<style type="text/css">.bue-popup{z-index: 1001 !important}</style>');
}
Comments
Comment #1
ufku CreditAttribution: ufku commentedComment #2
terikon CreditAttribution: terikon commentedI added this code to my template.php.
This didn't help.
Still, I can't use BUEditor in Panel's custom content page.
Is there some other fix?
Comment #3
webmasterslava CreditAttribution: webmasterslava commentedYou should use this code only in hook_init(), not in template.php.
Comment #4
mechler CreditAttribution: mechler commentedI'm confused about where this code is intended to be placed. I'm surprised there isn't more information on this available. Panels seem to be very popular and BUEditor is a strong contender for editor (see: d.o). How is it that the default overlay continues to break BUEditor due to z-index issues?