Opened 6 years ago

Last modified 5 years ago

#10655 confirmed Bug

TAB leaves the editable when cannot indent anything

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version: 4.2
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

  1. Open editor in std preset.
  2. Create list.
  3. "Mistakenly" press tab in the first element.
  4. Focus is gone.

If we handle tab in all other lists' elements, then it should be blocked in the first one and in all other places where tab does nothing. It cannot be so inconsistent, because this is confusing and irritating. Either tab leaves editable or it indents lists/blocks. Not both at the same time.

This could be configurable by keystrokes - by default tab is added as a keystroke executing 'indent' command. If someone needs it for leaving editable, then he can reset this keystroke. Or the opposite - tab by default can be used for navigation, but it's behaviour can be changed by setting a keystroke.

And yes, there's no good solution ;|.

Change History (3)

comment:1 Changed 6 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:2 Changed 6 years ago by Piotrek Koszuliński

Summary: Not handled tab leaves the editableTAB leaves the editable when cannot indent anything

comment:3 Changed 5 years ago by Jakub Ś

Status: newconfirmed

I can confirm this issue especially that tabbing last list item actually indents it.

I was expecting that putting selection at the end of last list item will leave editor contents because there is nothing more to indent but to my surprise item was indented.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy