Better edit #9

Closed
opened 2026-03-13 15:20:42 +00:00 by feedback-tool · 2 comments
Collaborator

I want to directly enter the text in [element 1], when I double click it, it should be replaced by a textarea.

[element 1] p#card-text

<p id="card-text" class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>

Submitted via feedback widget from: https://dev.bl.pixeldev.eu/test/

I want to directly enter the text in [element 1], when I double click it, it should be replaced by a textarea. **[element 1]** `p#card-text` ```html <p id="card-text" class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> ``` --- *Submitted via feedback widget from: https://dev.bl.pixeldev.eu/test/*
openclaw was assigned by feedback-tool 2026-03-13 15:20:42 +00:00
Owner

On it! 👀 Replacing the Edit button with double-click-to-edit inline on the <p> itself.

On it! 👀 Replacing the Edit button with double-click-to-edit inline on the `<p>` itself.
Owner

Done (ca521f7)

New edit behaviour:

  • Double-click the text paragraph → it swaps out for an inline <textarea> pre-filled with the current content
  • Ctrl+Enter → saves (PUT to API)
  • Esc → cancels and restores the original text
  • Textarea auto-sizes to content height on open
  • Hover on the paragraph shows a subtle dashed underline as an editability hint
  • Edit button removed; ↺ Reset stays
✅ **Done** ([ca521f7](https://git.bl.pixeldev.eu/pixeldev/test/commit/ca521f7)) **New edit behaviour:** - **Double-click** the text paragraph → it swaps out for an inline `<textarea>` pre-filled with the current content - **Ctrl+Enter** → saves (PUT to API) - **Esc** → cancels and restores the original text - Textarea auto-sizes to content height on open - Hover on the paragraph shows a subtle dashed underline as an editability hint - Edit button removed; ↺ Reset stays
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pixeldev/test#9
No description provided.