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

Editor falls apart on component collapse #143

Open
sadeq-qafari opened this issue Jan 2, 2025 · 2 comments
Open

Editor falls apart on component collapse #143

sadeq-qafari opened this issue Jan 2, 2025 · 2 comments

Comments

@sadeq-qafari
Copy link

if I use ckeditor in a component then use it in some collection as a repeatable component, while using it if i collapse a component which contains editor every editor on that page falls apart like this

Image

then if i expand same component or some other one containing ckeditor the problem will be fixed, i guess some styling is removed when collapsing a component.

its problematic the most while I'm using repeatable component and i want to switch between items.

@Mgsy
Copy link
Member

Mgsy commented Jan 7, 2025

Hi @sadeq-qafari! Could you please share the exact steps to reproduce the issue and your Strapi version?

@sadeq-qafari
Copy link
Author

Hi @Mgsy!

Thank you for your response! Here are the steps to reproduce the issue:

  1. Create a component and include CKEditor as one of its fields.
  2. Add this component to a content type as a repeatable component.
  3. Start adding entries and use the repeatable component to add multiple items.
  4. Expand and collapse the components. You'll notice the issue where the editors break upon collapsing, but they return to normal when expanded again.

Strapi version: v5.4.2

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

2 participants