🇬🇧United Kingdom @john.glynn.davies

Account created on 24 March 2018, over 6 years ago
#

Recent comments

🇬🇧United Kingdom john.glynn.davies

Although, the JS adds an inline style element, which may also cause CSP issues. So you may still want to remove the file if your CSP doesn't allow inline styles.

🇬🇧United Kingdom john.glynn.davies

I've tried the dev version, and I'd just like to thank you for getting on this as I find this insert method so much more streamlined than faffing about with media library.

I only managed to get the image insert to work after I updated my text formats to include the below in the Source editing tab:
<img src loading class width height data-insert-type data-entity-type data-entity-uuid data-insert-attach>

I had tried to update the insert module config with auto text format support and resaved but the tag/attributes weren't added.

Also, the Insert button wasn't working for me at first, but I quickly realised it was due to my site using a CSP preventing inline code such as on the input submit element (onclick="return false;") from firing, so my page was just being reloaded. Understand this is a dev version, but just wanted to flag.

Thanks for the good work!
John

🇬🇧United Kingdom john.glynn.davies

Looks like the Views Random Seed module is now available for D8, D9 and D10.

https://www.drupal.org/project/views_random_seed →

Production build 0.71.5 2024