Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love this. Once made a pdf editor by converting a doc to HTML then throwing in contenteditable="true" in the top-most div lol


I had the same bright idea, but it doesn't work Firefox.

Turns out that it creates two representations of the PDF content - one is text, which has 0 opacity and another is prerendered image of the same layered on top of it. The latter is what's displayed. So while you can enable contenteditable and get the editing cursor, no changes you make will be shown. Oh, well.


What do/did you use to convert pdf to html?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: