🇧🇪Belgium @Maglor

Account created on 30 March 2011, over 13 years ago
#

Recent comments

🇧🇪Belgium Maglor

That did the trick! Thank you! Can be closed, works as expected.

🇧🇪Belgium Maglor

Dear Vincent,

Thank you for verifying. Your F12 tip gives me more insight. It is indeed throwing some errors, and I think I found out why.

In the F12 console:

Value:  /modules/contrib/ckeditor5_template/template/ckeditor5_template.json.example
 GET https://gigview.be/modules/contrib/ckeditor5_template/template/ckeditor5_template.json.example 404 (Not Found)
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Debugging can be done with an unminified version of CKEditor by installing from the source file. Consult documentation at https://www.drupal.org/node/3258901
TypeError: Cannot read properties of undefined (reading 'forEach')

I'm however still in testing phase of my website on a subdomain: gigview.be/d10. So the GET should come from https://gigview.be/d10/modules/contrib/ckeditor5_template/template/ckedi...

When I try to add "/d10" before the Template path in the configuration, it says "template file not found", it only accepts as of /modules
Any suggestion or workaround to get this working?

🇧🇪Belgium Maglor

Not solved at all, but a much easier way I got Youtube, Spotify etc. working in the CkEditor:

https://www.drupal.org/project/ckeditor5_media_embed →
It uses the CkEditor package described (and demo'd) here: https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html

🇧🇪Belgium Maglor

For all those not getting this URL Embed working: Drupal module CkEditor 5 Media Embed (still in beta) does the trick, with just 1 module! No dependencies, complicated installs or other shenanigans, just right out of the box a ckeditor button that lets you insert youtube, Spotify etc. links and it gives you a responsive media!
Can be found here: https://www.drupal.org/project/ckeditor5_media_embed →
It uses the CkEditor package described (and demo'd) here: https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html

Production build 0.71.5 2024