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 width issue with Django 4.2 #162

Closed
nattyg93 opened this issue Sep 12, 2023 · 0 comments
Closed

Editor width issue with Django 4.2 #162

nattyg93 opened this issue Sep 12, 2023 · 0 comments

Comments

@nattyg93
Copy link
Contributor

nattyg93 commented Sep 12, 2023

Django 4.2.x uses flexbox for field rows and this results in the ckeditor field taking up the minimal space that it can. This only becomes apparent in the example "blog" project when the toolbar items are reduced to only a few. (See screenshot below)

I've hacked around the issue by adding the following css:

.ck.ck-reset.ck-editor
  width: 100%
Screenshot showing bug

With the css applied:
Screenshot with width: 100% applied

hvlads added a commit that referenced this issue Sep 23, 2023
Resolve GitHub issue #162: Fix CKEditor layout with flexbox in Django…
@hvlads hvlads closed this as completed Sep 23, 2023
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