Editor Tool

1 Answer 162 Views
Editor
Umi Amira
Top achievements
Rank 1
Iron
Umi Amira asked on 17 Apr 2023, 04:45 AM

Hai,

I am facing issue with my editor.

1) Want to disable the editor while still being able to use the PDF and print function.

2) How to set mode as landscape and set name of file (.pdf) when I click "save as PDF".

3) When I click "print", my style doesn't display.

Please refer to the attached file, which is in .jsx format.

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 20 Apr 2023, 05:39 AM

Hi Umi,

For your first question, you can make the Editor "read-only", which will still allow you to use the PDF export and print functionality:

Moving to your second question, the easiest way for customizing the PDF export would be by using a custom tool, where you can configure page size, name, orientation, etc. for the export (or even add an option for the user to enter a name before the export):

Regarding the print question, the Print tool is using the browser's printing option, so for example if you are trying to print on Chrome, you can click "More Options" and enable "Background graphics" to see the inline styles added by the Editor. Please note that we do not have control over the browser's printing functionality.

Hope this helps.

 

Regards,
Konstantin Dikov
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.

Umi Amira
Top achievements
Rank 1
Iron
commented on 26 Apr 2023, 06:38 AM

Thank you for your help. :)  Now i can solve all my issue 
Tags
Editor
Asked by
Umi Amira
Top achievements
Rank 1
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or