- adsff asfd sda gas g
- dasgsag gsga
2016-01-28
- adfsad dsf gagg
2016-01-27
- adjköj
title: $:/_my/ui/button/datestamptags: $:/tags/EditToolbar
\define button()<$button><$action-setfield $field="text" $value="""$(currentText)$
$(dateStamp)$"""/>{{$:/core/images/new-journal-button}}</$button>\end
<$vars currentText={{!!text}} dateStamp=<<now "YYYY-0MM-0DD">>>
<<button>></$vars>so my guess is that the problem lies in that the tiddler is attempting to apply the stamp to itself...?
But - it is also the matter that stamp is applied not to the editing draft, but to the actual tiddler. Thus, when I save, the original is overwritten with the content of the draft where the stamp does not appear, resulting in no stamp... (I found this by using your code in the SideEditor).
which makes me think that this smells of a bug.
The idea was to set the text of the draft, not of the original, though. ;-)
Interesting. I'd be happy to post an issue... but basically just how to reproduce the problem without any qualified additional info. Could you post a better issue?
anything like this "