Rendering react-pdf components in grapejs editor #4694
Unanswered
BashisthaSudeep
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@BashisthaSudeep did you have any success with the integration? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to render the @react-pdf/renderer components in grapesjs editor. I've templates designed using @react-pdf/renderer components whose content can be edited and downloaded as a pdf document.
When rendering the react-pdf component, it renders an empty iframe inside grapesjs editor if I use PDFViewer component provided by react-pdf. If I don't use PDFViewer component I get the following error but the content is rendered.
next-dev.js?3515:24 Warning: <TEXT /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
Can anyone who has done this point out what I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions