javascript - wysiwyg editor page separation

31 Views Asked by At

I am writing a wysiwyg editor where the user can create a report and print. So far my editor is one continuously scrolling div. I would like to separate that div into "pages" visibly as the user types in the report. I am trying to stay away from commercial solutions.

Is there a way to crawl through the document an insert a break (a separation line or something) when the scroll position gets to a certain number of px?

0

There are 0 best solutions below