Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9932 closed New Feature (invalid)

Is it possible to implement page constraints like in a document editor?

Reported by: viskel Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0.1
Keywords: Cc:

Description

Hi,

With CKEditor - is it possible to have pages displayed (and page breaks) as you create content? Basically like Google docs.

This is very useful to ensure the content prints nicely.

Thanks, Chad

Change History (1)

comment:1 Changed 12 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

It's impossible to achieve this in HTML and CSS right now. There's a crucial difference between Google Docs and CKEditor (and other popular browser WYSIWYG editors). Google doesn't use HTML contenteditable element as we. They almost "draw" the content on the canvas, so they have full control on what we see. We are basing on browsers which render the content as a normal web page. And as rendering printing pages isn't possible for normal web sites, it is not for us.

But remeber that you can always insert page breaks (using button in toolbar) and see preview of the content of the editor (thus see print preview that is provided by the browsers).

I'm closing this issue, cause I'm predicting that for years (if ever) it won't be possible to implement robust in-editor print preview. And even if one day CSS and HTML will allow that, I'm not sure if we'll implement this, cause CKEditor is web pages editor, not documents editor.

Last edited 12 years ago by Piotrek Koszuliński (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy