Skip to content

Commit

Permalink
feat: add alt as image tiddler caption
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jan 10, 2024
1 parent 3b34e96 commit c0d3db9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/hooks/useSaveToServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export function useSaveToServer(assets: Asset[], content: IContent, selectedCont
const newContentTiddler = { title, url, text: contentToSave, tags: tagsForContent, type: contentMimeType };
const newAssetTiddlers = assetsToSave.map(item => ({
title: item.title,
caption: item.alt,
url: item.url,
text: item.content,
type: item.contentType,
Expand Down

0 comments on commit c0d3db9

Please sign in to comment.