Not sure if this is a WAD or not. If you insert a page break in the editor and then click print on the toolbar the print includes the page break as it appears in the editor but does not actually beak the page.
Is that working as designed? TIA.
Is that working as designed? TIA.
Re: Printing Page break
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Printing Page break
\
Hi Reinmar,
I tested on http://nightly.ckeditor.com/7655/_sampl ... class.html with IE 8.
if I insert the page breaks and print directly, the page breaks comes after the content. I have added an attachment in which it happens. For Gecko (Firefox), it works fine.
if you open the preview, and if you print using the browser buttons, it works fine.
I tried the following content on Ckeditor:
--
Line 1
Line 2
<Page break inserted>
Line 3
<Page break inserted>
Line 4
--
One of our client is using CKeditor 3.4.2 and there in the 1st page , apart from the contents of the 1st page content, page break comes and 1st line of the 2nd page comes, for the above example, the print is coming as follows for the above content:
Contents of the Page 1 in the printed document for page 1:
--
Line 1
Line 2
<Page break>
Line 3
I am new to Ckeditor but it is fascinating. I am also exploring the code to fix the above issue. I would be delighted if you can direct me to the files which has the functionality or provide me the fix.
For time being, I have using "print-plugin.js" and opening a new window/tab which has HTML content using editor.getData() and printing the content from there. But I was looking for a clean fix where I need not open a window/tab.
Your response will be appreciated.
Thanks,
Kinjal
Attachments: