---
description: "Edit an HTML prototype right in the DeepSeek Harness sidebar preview: remove sections, change text, adjust styles, save back to the file"
kind: "plugin-readme"
---

# @guowenzhang/dsh-web-design

English | [中文](<README.md>)

## Background

**Edit the prototype page yourself.**

AI-generated prototypes often carry descriptions and sections you never asked for, and removing them costs a long round of messages. This plugin lets you delete sections, change text and adjust styles and positions right in the HTML preview, then save the result back into the HTML file. The source changes only when you save; other edits wait in a `.design.json` beside it.

## Screenshots

**Sidebar preview**: open an HTML file in the sidebar and click an element in the preview to edit it.

![Sidebar page preview](<docs/images/preview-hero.png>)

**Element editor**: styles, text and position are adjusted in one dialog.

![Element editor dialog](<docs/images/modal-preview.png>)

## Install

```sh
npx @deepseek-ai/dsh plugin --profile web add @guowenzhang/dsh-web-design
```

Restart the host, open an `.html` or `.htm` file in the sidebar, switch to **Edit**, click to select an element and double-click to open its editor.

## Features

1. **Click to edit**: click an element and double-click to open its dialog; no HTML source editing needed.
2. **Saved back to the file**: **Save to file** rewrites the HTML at the source span and keeps every other byte as it was.
3. **Remove and move**: delete a section, replace text, or adjust styles and positions.
4. **Skipped edits explained**: elements generated by scripts or not uniquely located in the source are skipped and listed in the save result.
