code related to html editor
code for insert a pagebreak in html editor???
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manish Kumar ChoudharyPosted Jan 14, 2015, 3:39 AM
You're going to need to add this to the top of the page:
@media print {
.PageBreak{page-break-after: always;}
}
Then on the button click insert a div or span with the css class of .PageBreak
Or go through following links it will help you
http://shellcreeper.com/how-to-add-next-page-or-page-break-button-in-wordpress-editor/
http://kb.its.psu.edu/cms/article/95