How to split content into pages in Ckeditor?

Asked

Viewed 93 times

2

I want my text editor (Ckeditor) is displayed as if it were an A4 sheet, which has margins for the text and, when it is increasing, other sheets of the same size are added. It would be like a Word style editor.

  • 3

    Hello, Itamar. Welcome to [en.so]! Interesting your question, but I think it’s almost impossible to have any paging functionality like this ready. And it would be a good job to distribute the text on pages in a web browser for various issues related to text rendering. Let’s see if anyone knows anything that can help you.

  • I hope someone knows how to fix this.

  • If what you want are "real" measures I think will be a little difficult, the "browsers" usually work with pixels and the impression with mm (or cm), even if you convert px for mm will never be necessary (sorry if I got something wrong). Or you want the Ckeditor system to simulate the pages and each one goes out on its own page?

  • yes I want the Ckeditor system to simulate the pages and each one goes out on its own page

  • But do you need to generate HTML content? Because HTML is run, there are no pages.

  • @bfavaretto It’s me, or this OP "gone" ?

  • @Zuul He deleted the account.

  • @bfavaretto Answer with the solution or the question will end up being "slaughtered" by the system?

  • 1

    @If you have the solution, answer yes! She has the vote, it is open. It would only be system-excluded a year from now, depending on the amount of views.

  • 1

    @bfavaretto I will prepare a demo and the description of the steps to be taken, I return to this subject later with the answer.

  • Hello user23583, a while ago I answered a similar question where I was asked how to style the internal area of the editor of the Ckeditor http://answall.com/questions/50543/howto create a-margem-padr%C3%A3o-no-ckeditor/51316#51316, I believe that using the same API with a little CSS you can get the expected result, in addition there is a plugin called Pagebreak that aims to help define sections for printing as in word: http://ckeditor.com/addon/pagebreak

Show 6 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.