Select all and delete trigger

Good snippet desired. Within a text box, selecting all text and deleting it.


{code to delete all text within a textbox}

1 Like


You can create a snippet that activates the key combination to select all and delete.

Something like this:

for mac:


for windows or chrome os:



If you want to make it work with both PC and Mac, you can do it this way.

{key:ctrl-a; mac=cmd-a}{key:backspace}

1 Like