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

Added prev/next navigation support for text, images, video. Fixed Firefox spurious br tag insertion issue. #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cubiclesoft
Copy link

This adds improved keyboard navigation "to" support for text, images, and video. That is, navigating to non-text elements. Navigating away "from" images and video is a separate commit.

This also fixes the navigation issue in Firefox for spurious 'br' tags.

Partially fixes some of the issues in GetmeUK/ContentTools#487

Copy link

@stakx stakx left a comment

Choose a reason for hiding this comment

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

Looks good. I did stumble on a few additional (but easily fixed) test failures.

ev.preventDefault()
ev.stopPropagation()
Copy link

Choose a reason for hiding this comment

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

This (as well as the other addition of ev.stopPropagation()) will cause a few tests to fail unless you add
dummy implementation in src/spec/text.coffee. (You might also have to recompile the specs using grunt spec.)

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