Quicktag insert multiple lines
This is the format you need to follow, //double quotes require escaping var your_html = “<div class=\”one-half first\”>1st</div>\n<div class=\”one-half\”>2nd</div>\n<div class=\”clear-line\”></div>”; //single quotes do not require escpaing var your_html=”<div class=”one-half first”>1st</div>\n<div class=”one-half”>2nd</div>\n<div class=”clear-line”></div>”; QTags.addButton( ‘my_tag’, ‘Multi Line’, your_html, ” ); I’d just store my html in a var (eg. your_html) then pass that to your QTags.addButton … Read more