Reference

What you can edit

A practical map of what nextcanvas will offer an editor for — and what it will leave alone. When something isn't editable, there's usually no outline on hover.

Text — yes

In your JSXOn the page
<h1>Hello</h1>Double-click the headline
<p>Hi <strong>there</strong></p>Edit surrounding runs; inline tags stay
<Reveal as="h2">Title</Reveal>Double-click the title
<motion.h1>Hero</motion.h1>Same as a plain h1
<Link href="/x">Label</Link>Edit the label (and href via attributes)

Bound text — yes

In your JSXWhat gets rewritten
{s.name} in a .mapThat object's name in the array
{s.name ?? s.role}Whichever side the UI is showing
{t} as a map element paramThat string in the array
{cfg.title} / {COUNCIL_COPY.eyebrow}The object property (local or imported file)
{loading ? "Sign in" : "…"}The string arm currently showing
{x ?? "—"} / {job?.service}Literal fallback or optional-chain field
{msg.text} next to other siblingsWrapped in a span; data entry via value-match
{session.title} inside a child componentThe mapped data entry, via the prop
{q} as a component prop from q={f.q}faqs[].q (etc.)

Attributes — yes

  • Literal: href="/x", src="…", alt, title, placeholder, aria-label
  • Bound bare identifier: href={GITHUB} — choose all references or just this one

Styles — yes, with limits

  • Literal style={{ ... }} — color, background, font size/weight, text align, padding
  • Not className / Tailwind utilities
  • Not style={variable}

No outline / won't edit

PatternWhy
Hi {name} mixed in one parentAmbiguous which part is source text
{items[i].x}, {fn()}Can't resolve a single string leaf
Ternary arms that aren't string literalsOnly {cond ? "A" : "B"} style is editable
Live clocks, chat streams, validation errorsRuntime-only — not in source as literals
Foo.Bar.Baz / namespaced tagsNot stamped
Duplicate bound values across entriesRefused on commit (ambiguous) — make the string unique

Bundlers & platforms

macOS / LinuxWindows
webpackWorksWorks
TurbopackWorksPrefer next dev --webpack for now

Production

Deploy freely. In production builds nextcanvas is a complete no-op: no overlay, no stamps, no write-back server. Your users never see it.