Mainly to share the approach and decisions behind this editor setup.
People can run it and test it, but the bigger point is to look through the code and get ideas for:
- editor architecture
- parent/iframe communication
- node-based page editing flows
- practical UI builder patterns
References:
- Okiynai: https://okiynai.com
- OSDL: https://github.com/okiynai/osdl
- Editor shell UI (panels, controls, page tools)
- Iframe renderer sandbox
- Message-based interaction between parent and iframe (
postMessage) - OSDL core integration under
packages/osdl/core - Prebuilt section examples under
src/prebuilt-sections - Default demo page under
src/osdl-demos/default-demo.ts
src/app/shop-manager/website/edit/[sessId]Parent editor UI and orchestrationsrc/app/shop-manager/website/edit/iframeRenderer sandbox and mutation handlerspackages/osdl/coreOSDL core used by the editor
Requirements:
- Bun 1.1+
bun install
bun dev

