Skip to content

Conversation

@ephox-mogran
Copy link
Contributor

Description

Removed keyup handling for writing-flow and made keydown navigate blocks

How Has This Been Tested?

I have manually tested this, but not exhaustively

Screenshots (jpeg or gifs if applicable):

Types of changes

Cross between a bug fix and a new feature

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation (no existing documentation)

@ephox-mogran
Copy link
Contributor Author

I'm not sure if this is the best approach. We may want to keep the keyup handling in there, and just fire movement on subsequent keydowns using the previous shouldMove state value. Thoughts?

@ephox-mogran ephox-mogran changed the title navigation via keydown Block navigation with keydown Oct 11, 2017
@ellatrix
Copy link
Member

This reverts 961c92c. @youknowriad Do you remember why it was done this way?

@youknowriad
Copy link
Contributor

Because of this #2894 (comment)

@youknowriad
Copy link
Contributor

I can't seem to reproduce the original issue I had with onKeyDown, maybe this was fixed somewhere else 👍

Copy link
Member

@ellatrix ellatrix left a comment

Choose a reason for hiding this comment

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

Also looks good to me.

@ellatrix ellatrix merged commit 2102835 into master Oct 11, 2017
@ellatrix ellatrix deleted the try/2976-keydown-navigation branch October 11, 2017 12:03
@ellatrix
Copy link
Member

Going to work further here: #2296.

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.

4 participants