Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
exotexot opened this issue Nov 15, 2023 · 3 comments
Open

Comments

@exotexot
Copy link

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
Copy link

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

@Gr33nW33n
Copy link

Hello @exotexot & @cungkriink,

do you have a solution for this?

BR Jakob

@exotexot
Copy link
Author

exotexot commented Apr 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants