Check out the right sidebar of this wiki. It has 4 buttons on the tiddlers in the sidebar -
- Open in story river
- Edit in storyriver
- Remove from sidebar
- Remove from sidebar and Open in storyriver
Given below is the code for these 4 buttons.
<$button tooltip="Open in story river" to=<<currentTiddler>> dragTiddler=<<currentTiddler>> class="tc-btn-invisible">{{$:/images/coreui-icons/free/cil-arrow-circle-left}}</$button>
<$button tooltip="Edit this tiddler" dragTiddler=<<currentTiddler>> class="tc-btn-invisible">
<$action-sendmessage $message="tm-edit-tiddler"/>{{$:/core/images/edit-button}}</$button>
<$button tooltip="Remove from sidebar" dragTiddler=<<currentTiddler>> class="tc-btn-invisible">
<$fieldmangler tiddler=<<currentTiddler>>>
<$action-sendmessage $message="tm-remove-tag" $param="$:/tags/SideBar"/>
</$fieldmangler>{{$:/core/images/close-button}}</$button>
<$button tooltip="Remove from sidebar and Open in storyriver" to=<<currentTiddler>> dragTiddler=<<currentTiddler>> class="tc-btn-invisible">
<$fieldmangler tiddler=<<currentTiddler>>>
<$action-sendmessage $message="tm-remove-tag" $param="$:/tags/SideBar"/>
</$fieldmangler>{{$:/images/bootstrap/arrow-bar-left}}</$button>
Now I need to add another edit inline
button for the tiddlers in right sidebar (to open the tiddler in edit mode within the sidebar instead of opening it in the sidebar). How to do it?