hi, contentWindow.document.execCommand(“formatblock”, false, “<h2>”)
This command doesn’t working in macsafari version 2.0.4(webkit version 419).but this working fine in all otherbowsers(ie6,ie7,mozila,opera,widows safari 3.0.3(webkit522))
Help @gunasekaran spread the word by sharing this article on Twitter...