22. deleteSelectionOrJoinOrDeleteChar

Parameter syntax:

[ 'backwards' ]?

If there is an explicit node selection, invokes command delete without any parameter, otherwise invokes command joinOrDeleteChar, passing it its own parameter if any.

This command is intended to be bound to keys Del and BackSpace.