diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-10-18 12:35:40 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-10-18 12:35:40 +0200 |
| commit | 855944498693f606ee1952ce5d8c0fd8cf0c3bc1 (patch) | |
| tree | 7aa1408717e2df4c0ce64acdb6011f8cbef04b62 /addons/website/static/lib/ckeditor/plugins/devtools/plugin.js | |
| parent | 3b578cd3731edded4387ff141c655db8a5f3d25f (diff) | |
[FIX] tab handling in tables
CKEditor's tab plugin can't deal with a non-editable editor root
(editor.editable().hasFocus returns false and disables it), so
reimplement the behavior.
For some reason, ckeditor's selection API also does not seem to work
correctly in table cells in Firefox, so use the browser's native API
instead.
Tab goes to the next cell, shift-tab goes to the previous cell,
shift-tab from the first table cell is ignored and tab from the last
table cell creates a new row and sets focus in the new row's first
cell. These behaviors seem to more or less match Word and OpenOffice
Writer's.
bzr revid: xmo@openerp.com-20131018103540-12p8j18ypte8dr9u
Diffstat (limited to 'addons/website/static/lib/ckeditor/plugins/devtools/plugin.js')
0 files changed, 0 insertions, 0 deletions
