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.

Native option labels, textarea content, and document title, script, and style text are left alone. Edit that copy in source. Text directly inside structural containers such as selects, lists, and table rows is also left alone; ordinary text inside list items and table cells remains editable.

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
<h1>Hello {name}!</h1>Edit the words; the {expression} is locked
<p>Tom &amp; Jerry &mdash; pals</p>Entities edit as their real characters
<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

  • Six properties either way — color, background, font size/weight, text align, padding
  • Tailwind projects: written as utility classes on className, replacing the class that controlled that property
  • Everywhere else: written into a literal style={{ ... }} object
  • Not a computed className — className={cn(...)} is refused
  • Not style={variable}

No outline / won't edit

PatternWhy
The {name} value inside Hi {name}The words are editable; the interpolated value is locked (it comes from a variable)
<p>{name}</p> — expression only, no wordsNothing static to edit (may be editable as bound 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.