//Before inserting span tag. <p>This is test </p> //After inserting span tag. <p>This is test </p> <span style="background-color: #fafad2;"></span>//cursor have to be inside the span. //So after inserting the span tag if we type some thing it will insert like below. <p>This is test </p> <span style="background-color: #fafad2;"> inserted test</span>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)