Comments (3)
Hello,
Unfortunately, we don't understand your issue very clear. There are many potential issues with html in PDF. For this we add special image-like html rendering in PDF some time ago. SurveyPDF supports custom widget rendering, but so as CKEditor produce html then may be problems with render CKEditor in PDF. In any case, please, could you share as a SurveyJSON with the issue? So we can investigate it
Thanks, Alex
SurveyJS Team
from survey-pdf.
Alex,
We are pasting very simple HTML without any styles into a CKEditor field. When we save the PDF all text looks fine(with exception to not allowing any styling in the PDF) and I have managed to get the tables looking good as well. The issue is the tables span more than just a single page. As you can see from the screenshots an additional header row is being inserted at the top of the table on subsequent pages.
The first image is the beginning of the table and looks great. The second image is a new page in the PDF which includes an additional header row, same with the third image which again is a new page with an additional header row being injected.
Let me know if this helps.
Joshua
from survey-pdf.
Hello,
What do you mean by "simple HTML"? Unfortunately, tables is too complex for correct PDF render without image-like render. Could you please share us a SurveyJSON or work sample with the issue. So we can investigate it
Thanks, Alex
SurveyJS Team
from survey-pdf.
Related Issues (20)
- HTML rendered as Image is cut in PDF when exporting a survey on Nuxt.js
- Formatted HTML is incorrectly exported on Node.js HOT 1
- SurveyJS PDF doesn't use the custom defaultLocale property value specified for surveyLocalization.defaultLocale HOT 1
- Support asynchronous functions HOT 1
- TagBox - Do not export unselected tags to PDF
- A survey that contains a Tag Box and a Dynamic Panel with shared data cannot be exported HOT 2
- PDF fails to generate when calling `options.setItems` with an empty array within the `onGetChoiceDisplayValue` function HOT 1
- The 'Cannot read properties of null (reading 'width')' exception is thrown on an attempt to export a survey HOT 1
- An exception is thrown if the `onDownloadFile` event handler is not implemented
- Exhance exporting of questions placed within a row
- PDF generation fails if HTML contains invalid markup
- Image Picker - A Single Image Picker item appears too small in PDF
- Question Titles are Shifted to the Left - Is there an option to align question titles with input fields? HOT 1
- Signature Pad - Signatures are not exported to PDF when applyImageFit: true HOT 2
- Signature: Background image is not exported to PDF
- Export to PDF with markdown crashes on empty lines HOT 1
- Exporting NoUISlider in read-only mode results in an error
- Boolean rendered as Checkbox doesn't display a label in PDF HOT 1
- [jQuery] A question title placeholder doesn't work in a multi-page survey
- failed build on server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from survey-pdf.