Delete side transform

I feel like this is a basic ask but I can't seem to figure it out. I have a side transform defined that creates a new node when the alias is typed, how can I do the reverse if the delete key is pressed? For instance, if I have the text "1+2" and the cursor is to the left of the + symbol and I press the delete key the underlying + expression is removed and replaced with 2.

0
2 comments
Official comment

You should define an action map, in that action map declare an action for the DELETE event and attach the action map to the cell that represents the "+" symbol.

 

Thank you, that worked! At first I couldn't find how to define an action map, but figured out I had to right-click the Editor node in the Logical view and create a new Cell Action Map from there.

0

Please sign in to leave a comment.