mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Added ability to change text template of NewJournal (#2821)
* adding custom text field to new-journal * fixed spacing * signing the CLA
This commit is contained in:
parent
773ef6adfb
commit
ec0fa2f932
@ -5,7 +5,8 @@ description: {{$:/language/Buttons/NewJournal/Hint}}
|
||||
|
||||
\define journalButton()
|
||||
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$action-sendmessage $message="tm-new-tiddler" title=<<now "$(journalTitleTemplate)$">> tags="$(journalTags)$"/>
|
||||
<$action-sendmessage $message="tm-new-tiddler" title=<<now "$(journalTitleTemplate)$">> tags="$(journalTags)$" text="$(journalText)$"/>
|
||||
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/new-journal-button}}
|
||||
</$list>
|
||||
@ -16,5 +17,7 @@ description: {{$:/language/Buttons/NewJournal/Hint}}
|
||||
\end
|
||||
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
|
||||
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
|
||||
<$set name="journalText" value={{$:/config/NewJournal/Text}}>
|
||||
|
||||
<<journalButton>>
|
||||
</$set></$set>
|
@ -312,3 +312,5 @@ Stefano De Dionigi, @dedioste, 2017/01/19
|
||||
Matias Goldman, @twMat, 2017/01/22
|
||||
|
||||
Andrew Webb, @tejjyid, 2017/03/06
|
||||
|
||||
Richard Decal, @crypdick, 2017/04/04
|
||||
|
Loading…
Reference in New Issue
Block a user