> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.Supporting_types.SpecEditSectionInput.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface SpecEditSectionInput

One proposed per-section spec edit (mirrors the host's `SpecEditSection`).

```typescript
interface SpecEditSectionInput {
    afterHtml: string;
    beforeHtml: string;
    id: string;
    sourcePath: string;
    title: string;
}
```

Types: [afterHtml](#afterhtml), [beforeHtml](#beforehtml), [id](#id), [sourcePath](#sourcepath), [title](#title)

##### Index

### <a id="properties"></a>Properties

[afterHtml](#afterhtml) [beforeHtml](#beforehtml) [id](#id) [sourcePath](#sourcepath) [title](#title)

## <a id="properties-1"></a>Properties

### <a id="afterhtml"></a>afterHtml

```typescript
afterHtml: string
```

The edited fragment HTML from the editor's `getHTML()`.

### <a id="beforehtml"></a>beforeHtml

```typescript
beforeHtml: string
```

The fragment HTML as the editor loaded it (pre-edit).

### <a id="id"></a>id

```typescript
id: string
```

Manifest section id (e.g. `sec-1`).

### <a id="sourcepath"></a>sourcePath

```typescript
sourcePath: string
```

Manifest `source` path, relative to docs/spec/ (e.g. `sections/sec-1.html`).

### <a id="title"></a>title

```typescript
title: string
```

Human-readable section title, for the diff header.
