Need of the following feature
Below images shows whole idea.
step 1: select the text (select only one not same as shown in image
step 2: replace selected text with input tag
step 3 : enter text in input tag
step 4: on button click we add that string to original string and input element will remove now
I tried replacing selected text with different text but was unable to replace it dynamically !!
posts i read before post this question