I'm trying to make a simple test editor with Draft.js and React.
I want my editor to looks like Word or LibreOffice : A page with a given height and a new page is created when you reached the bottom of the page.
I have an Editor with the good size but I haven't found a way to detect that the page is filled and a new page needs to be created.
Does anyone have a clue about this ? Is there any thing I have missed in the API or I will have to implement this by hand ?