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

Enter modifies only first cell #447

Merged
merged 6 commits into from
Jun 5, 2017
Merged

Enter modifies only first cell #447

merged 6 commits into from
Jun 5, 2017

Conversation

Comandeer
Copy link
Member

What is the purpose of this pull request?

Bug fix, fixes #415.

Does your PR contain necessary tests?

All patches which 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

  • Unit tests
  • Manual tests

What changes did you make?

It seems that Firefox treat Enter as the key that doesn't produce any character, so keyPressEvent.charCode property is set to 0. Explicitly checking if the Enter key is pressed seems to do the trick.

@mlewand mlewand self-requested a review June 5, 2017 10:46
Copy link
Contributor

@mlewand mlewand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I just tweaked test tags a bit.

@mlewand mlewand merged commit 83a5ae1 into ckeditor:master Jun 5, 2017
@mlewand mlewand deleted the t/415 branch June 5, 2017 10:59
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

Successfully merging this pull request may close these issues.

2 participants