23. delete

Parameter syntax:

[ 'force' ]? [ implicit_selection ]?

Deletes text selection or selected nodes.

Option force may be used to force the deletion even if the grammar constraining the document forbids to do so.

Example:

delete force[implicitElement]