Editor: Add auto HTML tag closing to the undo stack

I don’t want to disable the HTML tag auto-close feature because I find it useful sometimes. Instead, I’d like to be able to undo it with CTRL-Z when I don’t need it.

Solution: When automatically closing an HTML tag (e.g. <p>|</p>), add this action to the undo stack.

1 Like