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.
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.
Browser other questions tagged javascript html css ckeditor
You are not signed in. Login or sign up in order to post.
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.
– utluiz
I hope someone knows how to fix this.
– user23583
If what you want are "real" measures I think will be a little difficult, the "browsers" usually work with
pixels
and the impression withmm
(orcm
), even if you convertpx
formm
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?– Guilherme Nascimento
yes I want the Ckeditor system to simulate the pages and each one goes out on its own page
– user23583
But do you need to generate HTML content? Because HTML is run, there are no pages.
– bfavaretto
@bfavaretto It’s me, or this OP "gone" ?
– Zuul
@Zuul He deleted the account.
– bfavaretto
@bfavaretto Answer with the solution or the question will end up being "slaughtered" by the system?
– Zuul
@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.
– bfavaretto
@bfavaretto I will prepare a demo and the description of the steps to be taken, I return to this subject later with the answer.
– Zuul
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
– ooredroxoo