I am trying to insert anchor tag (<a href='abc.com/xyz' style='text-decoration:inherit;color: inherit;font-style:inherit;'>click </a>) into editor at the middle of some test. I want to make sure the anchor tag font style should be same as the font style where I have inserted this link(parent tag). I am triying to insert like this editor.insertHtml(value); value='<a href='abc.com/xyz' style='text-decoration:inherit;color: inherit;font-style:inherit;'>click </a>'; The result lokks like this: please click link. Can anyone help me to make all font style same.
Tue, 09/24/2013 - 11:41
#1