1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fix CamelCase AutoFocus in ControlPanel (#4308)

* from AutoFocus to ~AutoFocus

* Update minifocusswitcher.tid

* Update Basics.tid

* Update body-editor.tid
This commit is contained in:
Simon Huber 2019-10-12 16:10:24 +02:00 committed by Jeremy Ruston
parent bfa3ddd077
commit ea6113b255
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ Advanced/Hint: Internal information about this TiddlyWiki
Appearance/Caption: Appearance
Appearance/Hint: Ways to customise the appearance of your TiddlyWiki.
Basics/AnimDuration/Prompt: Animation duration:
Basics/AutoFocus/Prompt: Default AutoFocus field:
Basics/AutoFocus/Prompt: Default ~AutoFocus field:
Basics/Caption: Basics
Basics/DefaultTiddlers/BottomHint: Use &#91;&#91;double square brackets&#93;&#93; for titles with spaces. Or you can choose to <$button set="$:/DefaultTiddlers" setTo="[list[$:/StoryList]]">retain story ordering</$button>
Basics/DefaultTiddlers/Prompt: Default tiddlers:

View File

@ -24,7 +24,7 @@ caption: {{$:/language/ControlPanel/Basics/Caption}}
|<$link to="$:/config/NewJournal/Title"><<lingo NewJournal/Title/Prompt>></$link> |<$edit-text tiddler="$:/config/NewJournal/Title" default="" tag="input"/> |
|<$link to="$:/config/NewJournal/Text"><<lingo NewJournal/Text/Prompt>></$link> |<$edit tiddler="$:/config/NewJournal/Text" tag="textarea" class="tc-edit-texteditor" default=""/> |
|<$link to="$:/config/NewJournal/Tags"><<lingo NewJournal/Tags/Prompt>></$link> |<$edit-text tiddler="$:/config/NewJournal/Tags" default="" tag="input"/> |
|<<lingo Autofocus/Prompt>> |{{$:/snippets/minifocusswitcher}} |
|<<lingo AutoFocus/Prompt>> |{{$:/snippets/minifocusswitcher}} |
|<<lingo Language/Prompt>> |{{$:/snippets/minilanguageswitcher}} |
|<<lingo Tiddlers/Prompt>> |<<show-filter-count "[!is[system]sort[title]]">> |
|<<lingo Tags/Prompt>> |<<show-filter-count "[tags[]sort[title]]">> |

View File

@ -6,7 +6,7 @@ title: $:/core/ui/EditTemplate/body/editor
class="tc-edit-texteditor tc-edit-texteditor-body"
placeholder={{$:/language/EditTemplate/Body/Placeholder}}
tabindex={{$:/config/EditTabIndex}}
focus={{{ [{$:/config/Autofocus}match[text]then[true]] ~[[false]] }}}
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
><$set

View File

@ -1,6 +1,6 @@
title: $:/snippets/minifocusswitcher
<$select tiddler="$:/config/Autofocus">
<$select tiddler="$:/config/AutoFocus">
<$list filter="title tags text type fields">
<option value=<<currentTiddler>>><<currentTiddler>></option>
</$list>