Can't get autoCloseTags to work with custom options

Oh, okay.

Thanks for the reply once again!

I’d, however, still have one question about autoCloseTags:
When I try to create a <div> element in VScode for example, it autocompletes the tag and leaves the cursor on the same line at first (cursor being in the middle of those two tags - this works in CodeMirror).

However, if my cursor is located in the middle of those two tags and I hit enter, it moves the tag behind it on a completely new line.

(images below should visualize the current problem with codemirror)

  1. 1
  2. 2
  3. 3

However, when I try the same in VS code and if the cursor is in the middle of two tags, it will automatically put the cursor on new line and indent it so that the user could continue coding (basically the same representation just without step 2)

Would it be possible in CodeMirror? Obviously, I’m not the creator and I wasn’t able to find it in docs either. Cheers for everything you’re doing!!

// video: https://drive.google.com/file/d/1rvi5AkBjAr_ITOL1u63qL7cZ1VlnX2ep/view?usp=drivesdk