And this shouldn't be restored if I canceled the changes and removed all 
the extra symbols before?

воскресенье, 4 июля 2021 г. в 16:38:25 UTC+3, Soren Bjornstad: 

> That's just how macros work in TiddlyWiki. Any pragmas (things beginning 
> with a \), including \define, have to come before all non-pragma content in 
> a tiddler.
>
> On Sunday, July 4, 2021 at 7:41:42 AM UTC-5 miket...@gmail.com wrote:
>
>> I want to make a list of pictures with an address.
>> https://i.imgur.com/zRhtrSo.jpg
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *\define 
>> image-picker2(actions,filter:"[all[tiddlers+shadows]tag[$:/tags/Image]]",subfilter:"")<div
>>  
>> class="tc-image-chooser"><$vars state-system=<<qualify 
>> "$:/state/image-picker/system">>><$reveal type="match" text="hide" 
>> default="hide" tag="div"><$macrocall $name="image-picker-list" 
>> filter="""$filter$""" actions="""$actions$"""/></$reveal><$reveal 
>> state=<<state-system>> type="nomatch" text="hide" default="hide" 
>> tag="div"><$macrocall $name="image-picker-list" filter="""$filter$""" 
>> actions="""$actions$"""/></$reveal></$vars></div>\end<$button 
>> message="tm-open-external-window" param={{!!url}}>Источник</$button><br>* 
>> {{!!url}}* https://tiddlywiki.com/#image-picker%20Macro 
>> <https://tiddlywiki.com/#image-picker%20Macro><hr><$edit-text 
>> tiddler='$:/_MyImage' tag='input' placeholder='(unset)' 
>> default=''/><$transclude tiddler={{$:/_MyImage}}/>---<$macrocall 
>> $name='image-picker2' actions="<$action-setfield $tiddler='$:/_MyImage' 
>> $value=<<imageTitle>>/>"/>*
>>
>> But if you add something to the beginning, then everything breaks down!
>> https://i.imgur.com/6zb4df6.jpg
>>
>> And even the old code doesn't work anymore. Why? What am I doing wrong?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aab80a8e-b562-43dc-b7bf-b41ab9ff62d2n%40googlegroups.com.

Reply via email to