Store the direct style properties of current selection so we could then
apply it to the newly inserted text after removing the selction