nshenderov / strapi-plugin-ckeditor

Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Unofficial integration)
https://www.npmjs.com/package/@_sh/strapi-plugin-ckeditor
MIT License
95 stars 58 forks source link

Wrong URL when using Images in CK Editor, when deploying Strapi Instance #124

Closed exotexot closed 2 months ago

exotexot commented 10 months ago

I want to know how you guys manage inline images in the CKEDitor when you deploy them to another server. As I use strapi in docker, I usually prepare my content locally and then move everything to my server.

When I have inline images in the CK Editor, all the images will be prefixed with the absolute URL (e.g. localhost:1337). Then when I transfer the contents of my database and uploads folder, those references will be broken of course.

How to handle this scenario?

cungkriink commented 10 months ago

I have the same problem and haven't found a solution

Gr33nW33n commented 6 months ago

Hello @exotexot & @cungkriink,

do you have a solution for this?

BR Jakob

exotexot commented 6 months ago

@Gr33nW33n in my frontend i just manually prefix url with the host address i need