- Issue created by @RobBNL
- π―π΄Jordan Rajab Natshah Jordan
When I disable the BigPipe module, the issue disappears.
- π¬π§United Kingdom catch
I can't reproduce this with the standard profile (ckeditor5 and big_pipe installed).
Can you try the following:
1. See if you can reproduce it on a clean install of Drupal 10.4 with only core.
2. As @cilefen says check if you have any ckeditor plugin modules installed and if so let us know which ones.
The most likely cause of this is π Logic error in Drupal's lazy load for asset aggregation Active interacting badly with a (usually incorrect) contrib library definition. So a third step would be checking contrib library definitions to see if they specify weight for any files.
- π³π±Netherlands RobBNL
Hi,
Thanks for the responses. I don't have time the next few days to check this on a fresh install of 10.4.
What I can say is that for me also if I uninstall the bigpipe module I no longer have this problem and I can again use the editor.I do not have any extra CKeditor plugins installed on this site
- π―π΄Jordan Rajab Natshah Jordan
π The attachBehaviors() for document is only called after Big Pipe chunks are processed Fixed
π Logic error in Drupal's lazy load for asset aggregation ActiveBig Pipe is attempting to attach behaviors too early, and itβs affecting the Tour module as well.
// Attach behaviors early, if possible. Drupal.attachBehaviors(document);
- Merge request !10722Issue #3496329: Fix not loading CKEditor 5 and Tour on existing content after Drupal 10.4 update β (Open) created by Rajab Natshah
- π―π΄Jordan Rajab Natshah Jordan
Having a look at the logic in drupal.init.js file
// Allow other JavaScript libraries to use $. if (window.jQuery) { jQuery.noConflict(); } // Class indicating that JS is enabled; used for styling purpose. document.documentElement.className += ' js'; // JavaScript should be made compatible with libraries other than jQuery by // wrapping it in an anonymous closure. (function (Drupal, drupalSettings) { /** * Calls callback when document ready. * * @param {function} callback * The function to be called on document ready. */ const domReady = (callback) => { const listener = () => { callback(); document.removeEventListener('DOMContentLoaded', listener); }; if (document.readyState !== 'loading') { setTimeout(callback, 0); } else { document.addEventListener('DOMContentLoaded', listener); } }; // Attach all behaviors. domReady(() => { Drupal.attachBehaviors(document, drupalSettings); }); })(Drupal, window.drupalSettings);
Defines a behavior to be run during attach and detach phases.
Attaches all registered behaviors to a page element.
in the drupal.js fileDrupal.attachBehaviors = function (context, settings) { context = context || document; settings = settings || drupalSettings; const behaviors = Drupal.behaviors; // Execute all of them. Object.keys(behaviors || {}).forEach((i) => { if (typeof behaviors[i].attach === 'function') { // Don't stop the execution of behaviors in case of an error. try { behaviors[i].attach(context, settings); } catch (e) { Drupal.throwError(e); } } }); };
- π―π΄Jordan Rajab Natshah Jordan
Given that a Drupal 10 site was installed with the minimal profile ( not the standard profile )
And later on the BigPipe and CKEditor5, Tour modules were installed
Then the wight of the BigPipe library will follow it's module wight
And affect the CKEditor 5, Tour, Maybe other modules. - Merge request !10753Issue #3496329: Fix not loading CKEditor 5 and Tour with BigPipe enabled after Drupal 10.4 update β (Open) created by Rajab Natshah
- π―π΄Jordan Rajab Natshah Jordan
rajab natshah β changed the visibility of the branch 3496329-fix-10-4-x to hidden.
- Merge request !10754Issue #3496329: Fix not loading CKEditor 5 and Tour with BigPipe enabled after Drupal 10.4 update β (Open) created by Rajab Natshah
- π―π΄Jordan Rajab Natshah Jordan
Attached a static
drupal-core--2024-12-31--3496329--mr-10753.patch
file for the10.4.x
To be used with the Composer Patches - πΊπΈUnited States smustgrave
Possible to get a test case showing the issue.
- π―π΄Jordan Rajab Natshah Jordan
Faced another issue when added the
header: true
to thedrupal/big_pipe
library.
The status message will not show up in the site. - π―π΄Jordan Rajab Natshah Jordan
Switched to use a custom domReady in the BigPipe script to let work as Drupal init to Attach behaviors early, if possible without errors
- π―π΄Jordan Rajab Natshah Jordan
Attached a static
drupal-core--2024-12-31--3496329--mr-10753.patch
file for the10.4.x
to this point from MR10753.
To be used with the Composer Patches - π―π΄Jordan Rajab Natshah Jordan
Attached a static
drupal-core--2024-12-31--3496329--mr-10753.patch
file for the10.4.x
to this point from MR10753.
To be used with the Composer Patches - π―π΄Jordan Rajab Natshah Jordan
Attached a static
drupal-core--2025-01-02--3496329-32--mr-10753.patch
file for the10.4.x
to this point from MR10753.
To be used with the Composer Patches - π¨πΏCzech Republic jaroslav ΔervenΓ½
It helped me with the problem
https://www.drupal.org/project/collapsible_dnd/issues/3497645 π Stop work after update Drupal 10.4 Active - π·πΊRussia mr.pomelov
Drupal 10.4.1. Patch #33 π¬ CKEditor stops loading on existing content after Drupal update to 10.4 Active work for me