No matches.
component
Accessible name of the field (e.g. "Task title"). Also prefixes the control buttons' labels.
The committed text. Pass it to control the value; the component still owns the draft while editing and adopts a changed `value`.
Hover / editing tint. `none` for rows that paint their own hover.
Show an edit button beside the preview (on hover / focus) and save / cancel buttons while editing.
How edit mode looks: `seamless` turns the text editable in place (no border or fill); `field` shows an input box, for form-like rows.
Pull the hover / edit box outward by its padding, so the text lines up with the content around it (a title with its meta row, a word in a sentence). Turn it off at an edge with no room for the box (an edge-to-edge row, an `overflow: hidden` cell).
What enters edit mode from the preview.
Allow line breaks: Enter inserts a newline and Mod+Enter (⌘/Ctrl+Enter) submits. Single-line text still wraps; newlines are stripped.
Submitting an empty (or whitespace-only) draft reverts to the previous value instead of committing it.
(editing: boolean, reason?: EditableEndReason) => void Called when edit mode starts or ends.
Called with the kept value when an edit is cancelled or an empty draft reverts.
Astro / vanilla: serialize the props into `data-editable-config` so the client runtime hydrates this instance and `getPindoba(el, "editable")` can `update()` it. Frameworks with their own reactivity don't need it.
Plus all standard <span> HTML attributes.