cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

upgrade 0.10.0 -> 0.12.1 img src=https://my.com/storage/...

Open patricksebastien opened this issue 2 years ago • 1 comments

Hi, I updated Cockpit CMS (0.10.0 -> 0.12.1) and now when Insert an assets (image) the html img src have the full URL (with the domain). Before (0.10.0) the URL was img src="/storage/..." now (0.12.1) it's img src="https://my.com/storage/...".

How to change that?

patricksebastien avatar Aug 27 '21 16:08 patricksebastien

I had to: "convert_urls" : true

But what is the right way to add this option to tinymce, is it directly in: ./modules/Cockpit/assets/components/field-wysiwyg.tag (I tried it and not seeing new options... and what about when upgrading)

Or I need to modify each collection, fieldtype wysiwyg (not fun, I have like 20 collections)

Anyone^

patricksebastien avatar Sep 01 '21 13:09 patricksebastien