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

Update 1.x CKEditor to 4.7? #797

Closed
andrerom opened this issue Nov 16, 2017 · 7 comments
Closed

Update 1.x CKEditor to 4.7? #797

andrerom opened this issue Nov 16, 2017 · 7 comments
Labels

Comments

@andrerom
Copy link

We're experiencing an issue in Chrome where CKEditor 4.5 and 4.6 upon setting focus to editor will scroll to the top of the page. So wondering if it would be easy enough to update to 4.7 for 1.x branch.

It fixes among other things this issue, which is also reported in #743 and #676:
https://github.com/ckeditor/ckeditor-dev/blame/release/4.7.x/core/editable.js#L90-L96

@jbalsas
Copy link
Contributor

jbalsas commented Nov 16, 2017

Hey @andrerom, we'll look into it.

I did a quick test a while ago and if I remember correctly, CKEditor 4.6 introduced a massive breaking change in how plugins are handled, which resulted in thrown errors when some plugins where not enabled. This would prevent us from easily removing plugins such as context-menu and many others that we need to take away for our UI to take control

I'll double-check soon to see if it is feasible or not. Hopefully we can find a way.

@andrerom
Copy link
Author

andrerom commented Nov 16, 2017

if I remember correctly, CKEditor 4.6 introduced a massive

Ok, but master, which you are about to release 1.5 from, seems to already use 4.6 (ref a8b7d70), or are you saying 4.7 introduced massive plugin breaking change?

@jbalsas
Copy link
Contributor

jbalsas commented Nov 16, 2017

Might be 4.7.0, yeah 😂

@jbalsas
Copy link
Contributor

jbalsas commented Nov 23, 2017

It's probable that we won't be able to upgrade until 4.9.0 unless we find a workaround for the issue I mentioned. See #801 and ckeditor/ckeditor4#654

We'll take a look to see if there's some valid workaround, but CKEditor is not making it easy in this case :(

@andrerom
Copy link
Author

Ok, pity, but good to know, at least 1.5 comes with 4.6, and in the meantime we have worked around the scrolling issue on our side in similar way as done in CKEditor.

@jbalsas
Copy link
Contributor

jbalsas commented Nov 24, 2017

Looks like we might be able to get this in... I've merged into develop so this should go out with 1.6.0 by the end of next week!

@jbalsas jbalsas closed this as completed Nov 24, 2017
@jbalsas jbalsas added this to the 1.6.0 milestone Nov 24, 2017
@andrerom
Copy link
Author

Thanks a lot @jbalsas, great news :)

jbalsas added a commit that referenced this issue Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants