HTML Visual Editor Injector
Paste the following prompt into your AI chat to install this skill:
Please install @user_1153a47f/ironox-html-editor according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Single-file HTML reports, proposals, and research pages often need repeated edits to client names, wording, fonts, and colors. Asking non-technical users to modify markup directly is brittle and can easily break layout or styling. This skill injects a lightweight visual editor into the static page so changes can be made directly in the browser.
How It Works
- Injection: place
editable-inject.jsin the same directory as the HTML file and add one script reference. - Editing: uses
contenteditablefor click-to-edit text,Cmd/Ctrl+Eto enter or exit edit mode,Cmd/Ctrl+Sto save tolocalStorage,Escto discard changes, and up to 10 undo/redo steps. - Formatting: includes find/global replace, separate Latin and CJK font controls, selected-range color picking, style reset, initial-state restore, and export of a clean final HTML file without editor code.
- Persistence: restores drafts by
data-editfields rather than replacing the entirebody.
Boundaries
Use it for customer-facing single-file proposals, reports, and research pages. Avoid engineering products that use package.json, frameworks, routing, or state management. Known limitations include unreliable font styling across multiple contenteditable blocks, so format paragraph by paragraph; keep data-edit values unique and preserve the intended save, exit, and cancel semantics.
Use Cases
- Replace client names in a proposal HTML, adjust selected font and color, then export clean HTML.
- Send a single-file research HTML to non-technical colleagues for click-to-edit text and draft saving.
- Batch replace terms in a report HTML, set Latin and CJK fonts separately, and reset the original theme.
- Revise a one-page proposal after client feedback by editing text and styles without breaking page structure.
Best For
- Front-end engineers who need to hand a single-file HTML proposal to clients for editing
- Consultants who often deliver single-file research pages and need clients to revise wording
- Solutions owners preparing client reports and replacing client names, fonts, and colors
- Delivery teams that want non-technical colleagues to edit static HTML without changing source code
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.