6/7/2026 at 9:26:39 PM
So I just tried this with a bunch of medium-complex documents and it's wildly wrong. I suspect the authors have never seen an actually complicated Word document?by dmd
6/8/2026 at 2:09:28 AM
Do you have any actual examples of documents where it did not work?by NewsaHackO
6/8/2026 at 11:33:24 AM
My examples are all internal/confidential, but if someone from the project wants an example I could probably do some search/replace redaction. It would be a lot of work though because there's photographs and such too, and indexes, and tables, and documents inserted by reference, cross references, conditional fields, bibliography fields, formula fields, etc etc.by dmd
6/8/2026 at 12:30:35 AM
vibe coded, it seems from the commit history (and readme lol)by whateveracct
6/8/2026 at 2:11:35 AM
Office XML is surprisingly complex under the hood. The format packages multiple XML streams, relationships, and content types into a ZIP — making debugging without specialized tooling painful.Rendering to HTML Canvas is a pragmatic choice. We work with legal documents daily and the fidelity gap between native Office rendering and HTML-based viewers is one of those "last 10%" problems that takes 90% of the effort. Things like tracked changes formatting, table layout inheritance, and nested content controls rarely render correctly in lightweight viewers.
For document-heavy workflows (legal, compliance, procurement), having a viewer that preserves structural fidelity — especially revision marks and annotations — is table stakes. Most web-based solutions we tested lost formatting on documents with complex nested structures.
Interesting approach. Does the Canvas rendering handle tracked changes and inline comments? That is where most viewers break down.
by hanzeweiasa
6/8/2026 at 3:33:32 AM
I don't know why this was flagged, but you are right.Google Docs [1] and OnlyOffice [2] also employ the canvas method to render office documents, and have found it reliable and consistent among different browsers.
[1]: https://workspaceupdates.googleblog.com/2021/05/Google-Docs-...
by maxloh
6/8/2026 at 6:55:06 AM
The account is flagged because it's a bot account.by applfanboysbgon