@tiptap-pro/extension-export-docx modify render for built-in nodes #6268
Unanswered
rngyn
asked this question in
Questions & Help
Replies: 1 comment
-
Hey @rngyn certainly the Thanks for the feedback 🙇🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To my understanding, we can easily pass our custom node type to the customNodes array to modify how the export renders it to the docx. However, is there a way to do this with built-in node types? For example, I want custom logic for all paragraph nodes when exporting to docx, but when I pass "paragraph" to the type in the customNodes array, it does not see it. I know we can override styles, but I need to change the render itself to modify contents.
https://tiptap.dev/docs/conversion/import-export/docx/editor-export
Beta Was this translation helpful? Give feedback.
All reactions