Skip to content

Contenteditable support #310

Closed
Closed
@Rich-Harris

Description

@Rich-Harris

Via #10 / #309. In Ractive this was done with...

<div contenteditable value='{{foo}}'></div>

...so the Svelte equivalent would be

<div contenteditable bind:value='foo'></div>

Arguably this should warn or throw if the element contains any children.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions