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

Images not working in CK Editor in Strapi BUG #97

Open
sfita opened this issue Jan 3, 2024 · 6 comments
Open

Images not working in CK Editor in Strapi BUG #97

sfita opened this issue Jan 3, 2024 · 6 comments
Labels
pending:feedback This issue is blocked by necessary feedback.

Comments

@sfita
Copy link

sfita commented Jan 3, 2024

image (20)

Hey,

I am using the CK Editor in Strapi and I cannot allign images correctly within text. They get blown up (photo below)

image (21)

Also, I have to center the image from the top bar, I cannot use the bar which pops up when clicking on the image. The image gets very big

image (22)

Can someone help, please?

@Mgsy
Copy link
Member

Mgsy commented Jan 9, 2024

Hey @sfita! Could you please share the exact steps to reproduce the issue and describe the actual and the expected result?

@Mgsy Mgsy added the pending:feedback This issue is blocked by necessary feedback. label Jan 9, 2024
@sfita
Copy link
Author

sfita commented Jan 9, 2024

Hey @Mgsy!

I am trying to allign the image in the text body, like this:

image

But if I use any of these controls:
image

The image on the website changes its size and is very big:

image

The same thing goes for when trying to center allign the image. In order to center it, I have to use the bar at the top:

image

Hope I've been clear, do let me know if further details are needed!

@Pave91
Copy link

Pave91 commented Feb 8, 2024

I can relate on that, I have the same issue. Important information - when editor is rendering normal HTML I can see valid information and it'S saved. Different it is when I use as output markdown, then info about size image or other isn't reflected to markdown.
Is that anything what can be fixed?

@sulavsssmc
Copy link

Hey @Mgsy!

I am trying to allign the image in the text body, like this:

image

But if I use any of these controls: image

The image on the website changes its size and is very big:

image

The same thing goes for when trying to center allign the image. In order to center it, I have to use the bar at the top:

image

Hope I've been clear, do let me know if further details are needed!

Did you find any solution yet?

@sfita
Copy link
Author

sfita commented Jun 3, 2024 via email

@sulavsssmc
Copy link

Like Pave91 mentioned above, can you check if the output of Ckeditor is set to Markdown? When the output is set to Markdown, the supported options are few.

Screenshot 2024-09-05 at 10 38 32 AM

Unfortunately this is Not a Bug as Markdown output is limited to basic formatting options. After changing it to HTML, the features such as image alignment, re-sizing, highlighting and every other features will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending:feedback This issue is blocked by necessary feedback.
Projects
None yet
Development

No branches or pull requests

4 participants