indenting/dedenting note on frontend calls api
delegate to dedent or delete methods on backspace key press