Best way to create a new "blank page" for a WYSIWYG text processor

Hi,
I'm trying to discover which would the best alternative to code a word processor, organized by chapters, pages, folders... but I'm stuck in the part when the user is reaching the end of the page after N lines and then I need to create a new "blank page" like in Pages. This is kinda WYSIWYG.

Which do you think guys will be the best way to do that?