mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 18:40:28 +00:00
17 lines
392 B
Plaintext
17 lines
392 B
Plaintext
created: 20160418155523369
|
|
modified: 20211116035014728
|
|
tags: [[Macro Examples]]
|
|
title: image-picker Macro (Example 1)
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Image: <$edit-text tiddler='$:/_MyImage' tag='input' placeholder='(unset)' default=''/>
|
|
|
|
<$transclude tiddler={{$:/_MyImage}}/>
|
|
|
|
---
|
|
|
|
<$macrocall $name='image-picker' actions="
|
|
|
|
<$action-setfield $tiddler='$:/_MyImage' $value=<<imageTitle>>/>
|
|
|
|
"/> |