mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-21 10:13:18 +00:00
add test-new-tiddler-button - GH-issue
This commit is contained in:
parent
4d66f95857
commit
0d89d427bc
19
editions/tw5.com/tiddlers/test-new-tiddler-button.tid
Normal file
19
editions/tw5.com/tiddlers/test-new-tiddler-button.tid
Normal file
@ -0,0 +1,19 @@
|
||||
created: 20240730081443212
|
||||
description: Test New Tiddler Button
|
||||
modified: 20240731044815553
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: test-new-tiddler-button
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
This code tests action-sendmessage with tm-new-tiddler
|
||||
|
||||
+
|
||||
title: Output
|
||||
|
||||
<$button>
|
||||
<$action-sendmessage $message="tm-new-tiddler" />
|
||||
<$action-navigate $to={{{ [<tv-history-list>get[current-tiddler]] }}}/>
|
||||
Create a new tiddler
|
||||
</$button>
|
Loading…
x
Reference in New Issue
Block a user