mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 14:54:51 +00:00
9f8a74c6d9
* add new-tiddler action tiddler * use new-tiddler action-tiddler * use new-tiddler action-tiddler correctly * use new-journal action-tiddler * create new-journal action-tiddler * use new-image action-tiddler * add new-image action-tiddler * create new-image type config users may prefer png over jpeg for example * add new-tiddler keyboard shortcut * add keyboard shortcut configs * add keyboard shortcuts ShortcutInfo * add new-journal Keyboard shortcut * add new-image keyboard shortcut * Create Hidden Setting NewImageType.tid
15 lines
740 B
Plaintext
15 lines
740 B
Plaintext
title: $:/core/ui/Actions/new-journal
|
|
tags: $:/tags/Actions
|
|
description: create a new journal tiddler
|
|
|
|
<$vars journalTitleTemplate={{$:/config/NewJournal/Title}} journalTags={{$:/config/NewJournal/Tags}} journalText={{$:/config/NewJournal/Text}}>
|
|
<$wikify name="journalTitle" text="""<$macrocall $name="now" format=<<journalTitleTemplate>>/>""">
|
|
<$reveal type="nomatch" state=<<journalTitle>> text="">
|
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text={{{ [<journalTitle>get[]] }}}/>
|
|
</$reveal>
|
|
<$reveal type="match" state=<<journalTitle>> text="">
|
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text=<<journalText>>/>
|
|
</$reveal>
|
|
</$wikify>
|
|
</$vars>
|