Global Feed Post Login
Replying to Avatar jb55

Topic: Editing

It would be cool if there was a way to edit notes. Basic idea: a note is created with the following tags:

```json

{"tags": [["e","thread_id"],["e","note_id","","edit"]]}

```

Where `note_id` is the note you are editing. Clients can replace the note with the most recent one it sees. It is able to fetch all edit notes because of the thread_id reference.

For clients that don't support this, it will look like a regular reply.

Avatar
Leo Wandersleb 3y ago

Edits that look like replies sounds messy.

How about using parameterized replaceable events with `[d,event_id]`? It would not preserve the edit history but that's probably a feature.

Reply to this note

Please Login to reply.

Discussion

No replies yet.