Should a keystroke be always disabled when a related command is disabled? #5768
Labels
package:code-block
package:list
resolution:expired
This issue was closed due to lack of feedback.
status:stale
type:question
This issue asks a question (how to...).
A follow-up of ckeditor/ckeditor5-code-block#1 (comment).
Problem
Use case with lists
There's no way to indent more so the indent command is disabled so is the Tab keystroke. When the user hits Tab, it falls back to default behavior that cycles focus on the entire webpage. This could be very confusing because you edit some lists and then suddenly you're somewhere else.
Use case with code blocks
Again, when the user hits Tab, it falls back to default behavior that cycles focus on the entire webpage. And again, this could be very confusing because you edit some code and then suddenly you're somewhere else.
Comment
I think we should not bind keystrokes blindly to the commands they execute. It's a confusing UX that the keystroke changes it's behavior despite staying in the same context (list, code block).
WDYT?
@dkonopka @Reinmar @mlewand
The text was updated successfully, but these errors were encountered: