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

Default switch behavior #33

Merged
merged 8 commits into from
Aug 23, 2013
Merged

Default switch behavior #33

merged 8 commits into from
Aug 23, 2013

Conversation

matteoagosti
Copy link
Contributor

  • TAB and SHIFT+TAB are ignored, and won't trigger the switch as they are used differently by browsers (TAB means move to the next focusable/tabbable element that is not necessarily a content editable)
  • ARROW KEYS trigger the switch. We should improve the UP/DOWN management when on FIRST/LAST line of a block; currently the cursor get first moved to the BEGINNING/END and only after that the switch is triggered, so you need to press twice.

Merge behavior, fixes to insert behavior, fixes to cursor position detection
- Needs some test spec
- IDs are considered in the attributes check as when you split a tag
the browser will preserve ids (awkard stuff); we may relax this
requirement
@matteoagosti matteoagosti merged this pull request into mergeBehavior Aug 23, 2013
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