- Issue created by @igoragatti
- πͺπΈSpain rafaticarte
I have same error, patch works in a site, but it does not work in another site. I think It could be due to others modules.
But I need disable "Aggregate JavaScript files" in performance options to Ckeditor 5 loads in body field.
- πΊπΈUnited States mark_fullmer Tucson
I have same error, patch works in a site, but it does not work in another site. I think It could be due to others modules.
Note that the patch implies a dependency on the contrib module https://www.drupal.org/project/jquery_ui_autocomplete β , so if you don't have that installed on the site, it won't work.
Ultimately, I don't think we want to add a dependency on jquery_ui_autocomplete, however, so a longer-term fix is still needed.
Glad to hear that folks are already using this with CKEditor 5, however!
- Status changed to Postponed: needs info
over 1 year ago 6:29pm 24 March 2023 - πΊπΈUnited States mark_fullmer Tucson
Update: I am unable to reproduce this problem on a standard Drupal site with no other contributed modules enabled. Here are the steps I took to test, in case I'm missing something.
1. Install Drupal 10.0.x
2. Enable media_library and linkit
3. Add Linkit to the "Basic HTML" text format (which in D10, uses CKEditor 5); this involves choosing the "Default" Linkit profile from the "Linkit" section and adding the "Linkit URL Converter" text filter.
4. Add a field of type "Media" to the "Basic page" entity type, allowing all types of media.
5. Go to node/add/page and try to attach a media item using the Media Library.Everything worked as expected, and I was able to save the page.
- πͺπΈSpain rafaticarte
In my case, It seems to be an error with JQuery UI library order:
https://www.drupal.org/project/drupal/issues/3222107 π Library order asset weights do not work properly when a large number of javascript files is loaded between two jQuery UI libraries Fixed
- πΊπΈUnited States mark_fullmer Tucson
For folks following this issue, can you confirm whether the fix in π Library order asset weights do not work properly when a large number of javascript files is loaded between two jQuery UI libraries Fixed resolves this issue for you?
- πͺπΈSpain rafaticarte
Yes, Patch in #31 worked for me too in that issue. Now, CKeditor 5 loads well, autocomplete in taxonomy fields works and media library loads well. It seems to be that Linkit was not the problem.
Thanks.
- Status changed to Closed: works as designed
over 1 year ago 3:23am 12 April 2023 - πΊπΈUnited States mark_fullmer Tucson
Thanks so much, igoragatti, for reporting this, and rafaticarte, for both confirming the problem this and for testing that the Drupal core issue π Library order asset weights do not work properly when a large number of javascript files is loaded between two jQuery UI libraries Fixed resolves it.
I'll go ahead and mark this as "Works as designed" since it's not an issue with Linkit per se.
Drupal on, everyone!