Closed (fixed)
Project:
OEmbed Lazyload
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2023 at 18:42 UTC
Updated:
19 Mar 2023 at 03:39 UTC
Jump to comment: Most recent
Comments
Comment #2
luke.leberThanks for the bug report. I have not used ckeditor5 on any live client sites yet personally. Out of curiosity, if a media entity exists on page load is the style loaded then?
The library definitions are present in the field formatter's
viewElementsmethod, so I am wondering if the cke5 integration may not be bubbling things properly?Comment #3
pcate commentedYes, on the node view page the styles are loaded fine. It is only on the node edit pages in CKEditor5 that the styles aren't loading.
My guess is the styles will need to be loaded with a CKEditor5 yaml plugin file: https://www.drupal.org/docs/drupal-apis/ckeditor-5-api/overview
Comment #5
luke.leberI've reached out to the experts in #ckeditor5 on slack with the approach in the merge request. Setting (optimistically) to NR :-).
Comment #7
luke.leberI'll be cutting a new release this weekend, thanks again!