ckeditor / strapi-plugin-ckeditor

CKEditor 5 - Official Integration for Strapi
https://market.strapi.io/plugins/@ckeditor-strapi-plugin-ckeditor
Other
72 stars 79 forks source link

Remove backend url prefix from images ? #99

Open LVannebenne opened 8 months ago

LVannebenne commented 8 months ago

Hi !

Is there any way to disable or remove (without creating my own fork of this project) the automatical prefixing of the url ? I have made a proxy on the app side to handle all images with only the path. And having theses full urls by default in the returned html is a bit annoying, actually, my only other solution is to parse the HTML to remove them...

https://github.com/ckeditor/strapi-plugin-ckeditor/blame/f4933ea8774f6c9013d7aac38b24b96250a20ad3/admin/src/components/MediaLib/index.js#L12

I've tried a lot a things, from strapi configuration / variables to adding a CDN plugin, but nothing seems to alter these ones. But maybe i'm missing something ?

Thanks for you help.