Quicktag insert multiple lines
I use the Editor Quicktag Buttons to store special things like this example below is used to store the DIV's to make Columns on my theme.
I need help, I want to modify the snippet below so that it will insert the HTML onto multiple lines, so instead of adding
div class="one-half first"1st/divn/div class="one-half"2nd/divn\div class="clear-line"/div
To the textarea as one Line, I would like to insert it as 3 lines like this...
div class="one-half first"1st/div
div class="one-half"2nd/div
div class="clear-line"/div
Here is the code I use to add this button...
QTags.addButton( 'columns', 'Columns', 'div class="one-half first"1st/divn/div class="one-half"2nd/divn\div class="clear-line"/div', '' );