slate icon indicating copy to clipboard operation
slate copied to clipboard

Export my Slate editor value to pdf and docx format

Open PravunathSingh opened this issue 2 years ago • 0 comments

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.

PravunathSingh avatar Jul 29 '22 09:07 PravunathSingh