Skip to content

Commit

Permalink
fix: edit mode title
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Aug 1, 2024
1 parent 39d006d commit 502e605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/edit-tags-on-view-mode/CascadeEditMode.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ code-body: yes
tags: $:/tags/ViewTemplateTagsFilter
title: $:/plugins/linonetwo/edit-tags-on-view-mode/CascadeEditMode

[[$:/state/edit-view-mode-tags/]addsuffix<currentTiddler>get[text]compare:string:eq[yes]then[EditMode]]
[[$:/state/edit-view-mode-tags/]addsuffix<currentTiddler>get[text]compare:string:eq[yes]then[$:/plugins/linonetwo/edit-tags-on-view-mode/EditMode]]
7 changes: 6 additions & 1 deletion src/edit-tags-on-view-mode/TriggerEdit.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ code-body: yes
tags: $:/tags/ViewTemplate/Tags
title: $:/plugins/linonetwo/edit-tags-on-view-mode/TriggerEdit

<$button class="tc-btn-invisible" set={{{ [[$:/state/edit-view-mode-tags/]addsuffix<storyTiddler>] }}} setTo="yes" tooltip="add tags">{{$:/core/images/new-here-button}}</$button>
\whitespace trim
<%if [<storyTiddler>get[tags]!is[blank]] %>
<$button class="tc-btn-invisible" set={{{ [[$:/state/edit-view-mode-tags/]addsuffix<storyTiddler>] }}} setTo="yes" tooltip="add tags">
{{$:/core/images/new-here-button}}
</$button>
<%endif%>

0 comments on commit 502e605

Please sign in to comment.