i am working with contenteditable and in this, I am updating a link, hashtag as user type the text.
but I am losing the cursor position.
then I implemented this co