Ticket #220 (new enhancement)

Opened 20 months ago

Last modified 20 months ago

When editing a table, the tab key should tab to the next cell

Reported by: weswinham Owned by:
Priority: major Milestone:
Component: editor Version: trunk
Keywords: Cc:


Similar to the way google docs or excel work, it's very nice to be able to hit the tab key to move to the next cell. It makes editing large tables much more efficient and most users expect this behavior. We get consistent requests for this functionality from our users, for instance.

I realize this might go against general web usability guidelines (since tab should move between fields). I feel like this can be addressed by forcing a tab on the last cell in the table to work like a current tab by moving to the next field. This balances keyboard-only navigation with usability and accessibility.

Change History

comment:1 Changed 20 months ago by weswinham

Implemented this for firefox and webkit here:  http://github.com/winhamwr/wymeditor/tree/table_editing

I'm considering bundling ierange:  https://code.google.com/p/ierange/ inside the plugin directory and using that for internet explorer support, but I'm definitely open to other options.

Also, I thought about putting this tab functionality in another plugin ("tabbing" or some such), but I think it makes more sense as part of the table plugin with the "enableCellTabbing" option.

comment:2 Changed 20 months ago by weswinham

Updated the implementation to work for internet explorer using rangy:  http://code.google.com/p/rangy/

Seems like a superior solution to ierange.

Note: See TracTickets for help on using tickets.