r/reactjs 1d ago

I’m building an open-source Canvas-based document editor with a React adapter

Hey r/reactjs,

I've been working on Oasis Editor, an open-source TypeScript document editor with its own Canvas-based rendering engine.

React sits on top as an adapter rather than owning the editor runtime, so the same core can be used from vanilla JS, Vue, or headless environments.

The editor handles paged layout, text rendering, selections, images, tables, and document geometry through its own rendering pipeline, and exposes a typed command/plugin API.

Live playground:
https://celsowm.github.io/oasis-editor/#/editor

GitHub:
https://github.com/celsowm/oasis-editor

I'd love feedback on the React integration, API design, and overall architectu

8 Upvotes

2 comments sorted by

1

u/AggressiveArm6360 1d ago

looks like you're putting in the work to keep the core agnostic, that's the right call honestly

a lot of react wrappers for editor engines end up fighting the lifecycle and this seems like it sidesteps that mess entirely

the paged layout handling through canvas is interesting too, most folks just punt that to the browser's print css and call it a day

1

u/celsowm 1d ago

Thanks