Skip to content

Reference implementation of a node-based website editor with parent/iframe architecture, OSDL rendering, and practical UI builder patterns.

Notifications You must be signed in to change notification settings

Okiynai/UI-editor

Repository files navigation

Okiynai Editor Example

Why This Exists

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:

Demo

Editor Demo 1 Editor Demo 2 Editor Demo 3

What You’ll Find Here

  • 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

Project Layout

  • src/app/shop-manager/website/edit/[sessId] Parent editor UI and orchestration
  • src/app/shop-manager/website/edit/iframe Renderer sandbox and mutation handlers
  • packages/osdl/core OSDL core used by the editor

Run Locally

Requirements:

  • Bun 1.1+
bun install
bun dev

About

Reference implementation of a node-based website editor with parent/iframe architecture, OSDL rendering, and practical UI builder patterns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages