diff options
| author | grm <grm@eyesin.space> | 2026-09-12 12:26:17 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-12 12:26:17 +0300 |
| commit | 2b450b66fee4906e746f6e04a6d07a72ff2faf64 (patch) | |
| tree | ba2dbb3d9b3580113510dbf24d4ffe660cf95b26 /internal/web/layout.go | |
| parent | 336199c65d910bbd45a9c5dcbc3beae214d75b98 (diff) | |
| download | blogspace-2b450b66fee4906e746f6e04a6d07a72ff2faf64.tar.gz blogspace-2b450b66fee4906e746f6e04a6d07a72ff2faf64.tar.bz2 blogspace-2b450b66fee4906e746f6e04a6d07a72ff2faf64.zip | |
Insert images straight from the Markdown editor
A shared editor partial adds an "Insert image" file picker plus paste and
drag-and-drop on the textarea; a few lines of inline JS upload the file to
the existing images endpoint (which now answers JSON when asked) and put
the Markdown at the caret. Without JS the same file rides along with the
form and is appended to the text on save, so nothing depends on scripting.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/layout.go')
0 files changed, 0 insertions, 0 deletions
