<$list filter="[!has[draft.of]tag[journal]field:project{!!project}days:created[-1]]">
<p><h2>Today</h2></p>
{{||$:/core/ui/EditTemplate/body}}
</$list>
<$list filter="[!has[draft.of]tag[journal]field:project{!!project}!days:created[-1]sort[created]]">
<p><h2><$view field="modified" format="date" template="DD-MMM-YYYY"/></h2></p>
<p><$transclude mode="block" /></p>
<p>Tasks</p>
<<list-tagged-draggable tag:"task" subFilter:"!has[draft.of]project{!!project}sameday:created{!!created}" itemTemplate:"TaskManagementExampleDraggableTemplate" emptyMessage:"None">>
<br />
</$list>The buttons produce markup in the textbox. That said, if I actually want to edit and save my current day's entry, I assume that it's a little more complicated than what I currently have.
I had thought to add Edit, Accept, and Cancel buttons next to the word "Today"', and use them to trigger the edit and save tiddler messages, however, thought that that would just create a new copy of the tiddler in the river. Also, I was wondering if I had to edit a draft version of my tiddler.
Does anyone know how to make a functional, inline editor for a tiddler?
--L. Wasserman
\define state() $:/state/$(currentTiddler)$
<$list filter="[tag[HelloThere]]">
<$set name=state value=<<state>>>
<$reveal type="nomatch" state=<<state>> text="show">
<$button set=<<state>> setTo="show">edit</$button>
</$reveal>
<$reveal type="match" state=<<state>> text="show">
<$button set=<<state>> setTo="hide">close</$button>
<$edit-text class="myclass"/>
</$reveal>
</$set>
<$link/>
<br>
</$list>
<style>
.myclass {width:100%}
</style>