Currently we have the special situation that shift is activated on iOS because of auto capitalization, so we need to bind an extra keybinding.
{
enter: [commands.break_text_node, commands.insert_default_node],
// In case of a node cursor, fall back to inserting a default node. This is needed
// because on iOS selecting a node cursor triggers auto capitalization (shift pressed)
'shift+enter': [commands.add_new_line, commands.insert_default_node],
}
We could change the semantics that when no modifiers are present, that the keybinding also matches regardless of any modifiers pressed.
Just not sure if this will create other problems, hence the issue to think this through some more.