On pure javascript, you need to insert the cross-tag into the place where the cursor is blinking without using the execCommand() command.

This is all a matter of iframe designMode="On" . I do the editor

and how to find out the parent cursor tag?

  • место, где мигает курсор is место, где мигает курсор is what the place is - Maksym Prus
  • iframe designMode = "On" ====> but it is not at all clear what is - Maksym Prus