-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix: Autogrow plugin causing width of editor's container to be set to 0px #4307
Conversation
We also encountered this issue in our project that's using CKEditor. Looking forward to see this merged soon. Is there a way to use an older version of CKEditor in the online builder? (https://ckeditor.com/cke4/builder) |
@vokiel correct me if I'm wrong, but I don't think it's doable with online builder. @grumd you would need to create CKEditor 4 build "manually" (using |
@f1ames That repo seems to only support building the three default presets (basic/standard/full), but I found that it's possible to build ck4 code by checking out the branch/tag you need, and running |
True, the online builder works with the latest version only. |
@grumd you can create customized presets by creating two files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Only some polishing in unit tests needed - I don't see a reason to keep both unit tests in separate files so it will be good to merge them into one. See also review comments.
Co-authored-by: Krzysztof Krztoń <[email protected]>
Co-authored-by: Krzysztof Krztoń <[email protected]>
Rebased onto latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Great work! Any ETA on when a new release may happen with this PR included? |
@grumd no definite ETA so far, but we are targeting beginning of December. |
What is the purpose of this pull request?
Bug fix
Does your PR contain necessary tests?
All patches that change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.
This PR contains
Did you follow the CKEditor 4 code style guide?
Your code should follow the guidelines from the CKEditor 4 code style guide which helps keep the entire codebase consistent.
What is the proposed changelog entry for this pull request?
What changes did you make?
Check if width has valid value.
Which issues does your PR resolve?
Closes #4286.