Ohjeet: kuva-upload -toiminto Markdown-editoriin
- "Kuva" -nappi toolbarissa avaa tiedostovalitsimen - Kuva uploadataan serverille (max 5MB, PNG/JPG/GIF/WebP) - Markdown  -tagi lisätään automaattisesti editoriin - Kuva renderöityy lukunäkymässä ja esikatselussa - API: guide_image_upload (upload) + guide_image (serve) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -407,6 +407,8 @@
|
||||
<button type="button" class="guide-tb-btn" data-md="link" title="Linkki">🔗</button>
|
||||
<button type="button" class="guide-tb-btn" data-md="code" title="Koodi"></></button>
|
||||
<button type="button" class="guide-tb-btn" data-md="quote" title="Lainaus">❝</button>
|
||||
<button type="button" class="guide-tb-btn" id="btn-guide-image" title="Lisää kuva">📷 Kuva</button>
|
||||
<input type="file" id="guide-image-input" accept="image/*" style="display:none;">
|
||||
<span style="flex:1;"></span>
|
||||
<button type="button" class="guide-tb-btn" id="btn-guide-preview-toggle">Esikatselu</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user