mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 15:54:50 +00:00
523060e823
It works by opening the tiddler in a new window and then triggering the browser print dialogue.
18 lines
713 B
Plaintext
18 lines
713 B
Plaintext
title: $:/core/ui/Buttons/print-window
|
|
tags: $:/tags/ViewToolbar
|
|
caption: {{$:/core/images/print-button}} {{$:/language/Buttons/PrintWindow/Caption}}
|
|
description: {{$:/language/Buttons/PrintWindow/Hint}}
|
|
|
|
\whitespace trim
|
|
<$button tooltip={{$:/language/Buttons/PrintWindow/Hint}} aria-label={{$:/language/Buttons/PrintWindow/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$action-sendmessage $message="tm-open-window" print="yes"/>
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/core/images/print-button}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text">
|
|
<$text text=" "/>
|
|
<$text text={{$:/language/Buttons/PrintWindow/Caption}}/>
|
|
</span>
|
|
</$list>
|
|
</$button> |