mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 16:36:52 +00:00
parent
6c6b723a0d
commit
7421616754
@ -5,8 +5,8 @@ tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerCl
|
|||||||
\end
|
\end
|
||||||
<div class=<<frame-classes>>>
|
<div class=<<frame-classes>>>
|
||||||
<$set name="storyTiddler" value=<<currentTiddler>>>
|
<$set name="storyTiddler" value=<<currentTiddler>>>
|
||||||
<$keyboard key="escape" message="tm-cancel-tiddler">
|
<$keyboard key={{$:/config/shortcuts/cancel-edit-tiddler}} message="tm-cancel-tiddler">
|
||||||
<$keyboard key="ctrl+enter" message="tm-save-tiddler">
|
<$keyboard key={{$:/config/shortcuts/save-tiddler}} message="tm-save-tiddler">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem">
|
||||||
<$transclude tiddler=<<listItem>>/>
|
<$transclude tiddler=<<listItem>>/>
|
||||||
</$list>
|
</$list>
|
||||||
|
3
core/wiki/config/shortcuts/cancel-edit-tiddler.tid
Normal file
3
core/wiki/config/shortcuts/cancel-edit-tiddler.tid
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: $:/config/shortcuts/cancel-edit-tiddler
|
||||||
|
|
||||||
|
escape
|
3
core/wiki/config/shortcuts/save-tiddler.tid
Normal file
3
core/wiki/config/shortcuts/save-tiddler.tid
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: $:/config/shortcuts/save-tiddler
|
||||||
|
|
||||||
|
ctrl+enter
|
@ -0,0 +1,11 @@
|
|||||||
|
created: 20150808123932042
|
||||||
|
modified: 20150808124201286
|
||||||
|
tags: [[Hidden Settings]]
|
||||||
|
title: Hidden Setting: Keyboard Shortcuts
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
Until a proper user interface is built, KeyboardShortcuts can only be altered via hidden settings:
|
||||||
|
|
||||||
|
$:/config/shortcuts/cancel-edit-tiddler - keyboard shortcut for cancelling editing
|
||||||
|
|
||||||
|
$:/config/shortcuts/save-tiddler - keyboard shortcut for confirming editing a tiddler
|
Loading…
Reference in New Issue
Block a user