slate
slate copied to clipboard
Export my Slate editor value to pdf and docx format
Problem I want to export the editor value to pdf and docx format.
Solutions & Alternatives Currently I am serializing the editor value to an HTML string and one probable solution can be to use that serialized HTML string to convert it into a pdf using something like jsPdf.
But I want to know if there's a much more intuitive method to do this directly with the slate document.
Context I've tried looking at various problems on the internet but there's no proper resource or solution and I need to get this feature implemented as there's a deadline coming.