Hi,
Is there any way for us to extract the content from CKEditor 4 (HTML format with tags) into Powerpoint? Appreciate it if any help/feedback was provided. Thanks
Kenny
Hello @Yung Shin Kueh
You can use this forge Power point demo for getting the idea of your issue.
you can use HTMLTOTEXT function and pass to the javascript of PPT
Regard
Nikhil Kumar Vijay
Hi Nikhil,
Thank you for your message. We have tried this before but the HtmlToText does not render Table/List <table><li> well and ended up returning blank in the text.
Try to implement this JS by customizing this into your application.
Nikhil kumar vijay
I don't think that is the solution that I'm looking at. The table itself is from CKEditor, not from the Widget. Looking at your code (correct me if I'm wrong), it takes the table Id (which is unknown at the time being as the user MAY/MAY NOT add a table inside the CKEditor, or other BULLET/LIST, or even image with CKEditor's API linked). What if the user chose to add img, or list but not the table, what should be the code? Hope this is clear and thanks for your prompt assistance.
Also, I'm encountering an error on the addSlidesForTable not a function when I tried to generate the PPT.
Attached for your reference:
P/s: The table is generated from CKEditor and viewed under HTML Viewer, not from the widget.
Hello @Maya Hartina Hutagalung
You can go through this Link Hope this can help you Image
Or other Query PPTXGEN stack overflow community can help you.
Regard Nikhil kumar vijay
Thanks for your suggestion. I have posted my query on Stack Overflow. https://stackoverflow.com/questions/75030323/render-html-using-pptxgenjsI'll close this thread once the issue has been resolved. Cheers!
No Problem you can close this issue.