Is it possible to show kendoEditor with A4 page layout or a line at the end of the each page?

1 Answer 330 Views
Editor Styling
Ziraat Teknoloji A.S.
Top achievements
Rank 1
Ziraat Teknoloji A.S. asked on 22 Sep 2022, 08:00 AM | edited on 22 Sep 2022, 11:26 AM

I use kendoEditor(jQuery) to let user create html content. Then, saving this content as html and using this html content to export to a pdf document by xmlParser. 

I also restricted the width of kendoEditor by A4 page width in order to create a PDF document without fitting problem.

But the problem is the users are not able to know page end so their contents might be split. For example, they create a table and table header in kendoEditor but this table and its header can be split in two pages when exporting to pdf document.

So, is there a way to show page layout or a page end marker or line in kendoEditor?

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 27 Sep 2022, 06:47 AM

Hello Ziraat,

I am afraid that page end markers are not supported when trying to export a PDF from the Kendo Editor. If you think that such an enhancement would be a valuable addition to the suite I would suggest logging the idea in our Feedback Portal.

https://feedback.telerik.com/kendo-jquery-ui

This way the other users could vote for the idea and based on the votes it gathered by the community it could be considered for adding for implementation in a future release.

Let me know in case you have additional questions.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Ziraat Teknoloji A.S.
Top achievements
Rank 1
commented on 27 Sep 2022, 11:06 AM

Hi,

I think my question is understood in wrong way. 

Exporting a PDF is just a detail about the reason why I need what I asked to. I am already using another technique to create PDF document.

What I need is an A4 page layout for kendoEditor or a cross line every  height of A4 page size in kendoEditor, at least.

Is it possible?

 

Neli
Telerik team
commented on 30 Sep 2022, 06:35 AM

Hi Ziraat,

I didn`t express myself clear in the last reply. The Editor does not provide an option to display a line or a marker to mark the page size or a specific height while editing the content in its editable area.  However, the paper size can be defined using the Editor pdf.paperSize configuration option, but markers will not appear to show when the next page will start.

Regards,

Neli

Tags
Editor Styling
Asked by
Ziraat Teknoloji A.S.
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or