Back to Blog

How I built a visual copy editor in 30 minutes

How I built a visual HTML copy editor in 30 minutes. Click text, edit inline, save. Context transforms what's possible with AI.

Anna Evans
Anna EvansMarketing Director, 15+ years B2B
How I built a visual copy editor in 30 minutes
TL;DR

Describe the experience you want, not the implementation you imagine. In 30 minutes, I built a click-to-edit HTML copy editor by letting AI explore the problem space. Context isn't just background. It's direction.

You know that moment when you're iterating on landing page copy, and you realize you've spent more time hunting through HTML than actually writing? I had sixteen mockup files for ContextLayer (different design directions, messaging variations, A/B tests) and every copy change meant diving into a thousand lines of code, finding the right <h2>, editing, refreshing, repeating.

Here's what I realized: the tool I needed didn't exist. Not a full-blown CMS. Not Webflow. Just something simple: click on text, edit it like a Google Doc, save. Thirty minutes later, I had exactly that. And the process taught me something important about how context transforms what's possible with AI.


The Context Gap

The real problem wasn't that "editing HTML is tedious" (any developer could tell you that). The gap was in how I explained what I needed.

My first instinct was to describe the technical solution: "Build a Flask app with contenteditable elements." But that's implementation thinking. What I actually said was: "I want something that will help me edit copy in the design, not in the raw HTML code, and have it save into the original file."

That shift (describing the experience I wanted rather than the implementation I imagined) let Claude explore the problem space properly. It asked clarifying questions: Text only, or also links? Click-to-edit or split view? Where should the tool live?

The insight: The better you describe the outcome you want, the better AI can architect the solution. Context isn't just background. It's direction.


What I Built

In a single session, we created a complete visual HTML editor. Here's how it unfolded:

First, Claude explored my project folder to understand what it was working with: file types, folder structure, how the HTML was organized. This wasn't me uploading files or explaining the codebase. The AI navigated it autonomously, learning the context it needed.

Then came the architecture: an iframe-based approach that renders my HTML exactly as it appears in a browser, with an invisible editing layer on top. Click any text to edit inline. Click a link to modify both the text and URL. Click an image to update alt text. Hit Cmd+S to save directly back to the original file.

What's in my context layer now:

  • A local Python server that serves any project folder
  • A file browser showing all HTML mockups at a glance
  • Inline editing with automatic save-back to source files
  • Simple shell commands: html-edit start . to launch, html-edit stop to quit

The whole thing took thirty minutes from "I wish this existed" to using it on real work.


How It Actually Works

I run html-edit start /path/to/my/project in terminal. Browser opens. I see all sixteen HTML files listed with their sizes and last-modified dates.

Click landing-page-mockup-v2.html. The page renders exactly as it would in production: same fonts, same colors, same layout. But now when I hover over any text, a subtle blue outline appears. Click, and I'm editing inline. No code. No refresh. Just words on the page.

Change "Transform your AI workflow" to "Build AI that remembers you." Cmd+S. Done. The original HTML file is updated.

The unexpected benefit? I actually enjoy copy iteration now. The friction is gone. I catch typos I'd missed. I try variations I wouldn't have bothered testing before.


The Context Layer Lesson

This thirty-minute build taught me something about working with AI that applies far beyond developer tools.

Context shapes capability. When Claude understood my project structure (the sixteen HTML files, their consistent patterns, the asset organization), it could design a solution that actually fit. The exploration phase wasn't optional overhead. It was what made the right architecture obvious.

Describe outcomes, not implementations. "I want to edit copy visually" led to a better solution than "build a contenteditable overlay" would have. The AI found an iframe approach I hadn't considered, specifically because I described the experience I wanted rather than prescribing the implementation.

Tools compound. This editor now lives in my toolkit. Every future landing page project benefits from those thirty minutes. That's the nature of context that persists: you invest once, and it keeps paying dividends. (I used the same approach to build a visual asset creator for generating brand-consistent images.)


Try This Yourself

You don't need to build a copy editor. But you probably have something: a repetitive task, a workflow friction, a "this should be easier" moment that a quick custom tool could solve.

The pattern is simple:

  1. Describe the experience you want, not the implementation
  2. Let AI explore your actual files and context
  3. Start with the simplest version that could work
  4. Iterate from there

The whole mindset shift is this: stop thinking of AI as a code generator and start thinking of it as a collaborator who can design solutions if you give it enough context.

Start here: Next time you catch yourself doing something tedious repeatedly, pause and ask: "If I described what I actually want to an AI that understood my setup, what might it build?"


Questions You Might Have

"Thirty minutes seems fast. What's the catch?"

No catch, but context. The AI could explore my project structure, understand my technical environment (Python installed, Mac terminal), and iterate through questions before building. If I'd started from zero with no codebase, no clarifying questions, just "build me an HTML editor," it wouldn't have worked as well.

"I'm not technical. Can I still build tools like this?"

Yes, with a caveat. You need to be comfortable running terminal commands and occasionally debugging. But you don't need to write code yourself. The AI handles that. Your job is to describe what you want clearly and answer questions when they come up.

"What if my HTML files are structured differently?"

That's exactly why the exploration phase matters. Claude looked at my files before building. If your HTML uses different patterns (React components, external stylesheets, whatever), the solution would adapt. The architecture adjusts to actual context, not assumed templates.

"Could this approach work for other file types?"

Absolutely. The pattern ("serve files locally, add an editing overlay, save back to source") could apply to Markdown documentation, JSON config files, even structured data. The specific implementation changes, but the architecture transfers.

"How does this connect to Context Layer methodology?"

This is context layer thinking in action. Instead of re-explaining my project every time I need a tool, the AI explores persistent files, understands the existing structure, and builds something that fits. The context was already there, in my file system, in my project organization. AI just needed permission to access it.


Building context that compounds.

Written by
Anna Evans
Anna Evans

Marketing leader building AI systems that actually remember.

Marketing Director, 15+ years B2BAI Workflow Architect