mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-03 09:16:55 +00:00
Add delete-field keyboard shortcut (#4978)
* Add delete-field keyboard-widget * Update shortcuts.multids * Update ShortcutInfo.multids * Update fields.tid * Update shortcuts.multids
This commit is contained in:
parent
78c72b85fb
commit
458460354e
@ -67,11 +67,13 @@ $value={{{ [<newFieldValueTiddler>get[text]] }}}/>
|
||||
<td class="tc-edit-field-name">
|
||||
<$text text=<<currentField>>/>:</td>
|
||||
<td class="tc-edit-field-value">
|
||||
<$keyboard key="((delete-field))" actions="""<$action-deletefield $field=<<currentField>>/><$set name="currentTiddlerCSSescaped" value={{{ [<currentTiddler>escapecss[]] }}}><$action-sendmessage $message="tm-focus-selector" $param=<<current-tiddler-new-field-selector>>/></$set>""">
|
||||
<$edit-text tiddler=<<currentTiddler>> field=<<currentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} tabindex={{$:/config/EditTabIndex}} cancelPopups="yes"/>
|
||||
</$keyboard>
|
||||
</td>
|
||||
<td class="tc-edit-field-remove">
|
||||
<$button class="tc-btn-invisible" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>
|
||||
<$action-deletefield $field=<<currentField>>/>
|
||||
<$action-deletefield $field=<<currentField>>/><$set name="currentTiddlerCSSescaped" value={{{ [<currentTiddler>escapecss[]] }}}><$action-sendmessage $message="tm-focus-selector" $param=<<current-tiddler-new-field-selector>>/></$set>
|
||||
{{$:/core/images/delete-button}}
|
||||
</$button>
|
||||
</td>
|
||||
|
@ -6,6 +6,7 @@ advanced-search-sidebar: {{$:/language/Shortcuts/Input/AdvancedSearch/Hint}}
|
||||
bold: {{$:/language/Buttons/Bold/Hint}}
|
||||
cancel-edit-tiddler: {{$:/language/Buttons/Cancel/Hint}}
|
||||
change-sidebar-layout: {{$:/language/Shortcuts/SidebarLayout/Hint}}
|
||||
delete-field: {{$:/language/EditTemplate/Field/Remove/Hint}}
|
||||
excise: {{$:/language/Buttons/Excise/Hint}}
|
||||
heading-1: {{$:/language/Buttons/Heading1/Hint}}
|
||||
heading-2: {{$:/language/Buttons/Heading2/Hint}}
|
||||
|
@ -5,6 +5,7 @@ advanced-search: ctrl-shift-A
|
||||
advanced-search-sidebar: alt-Enter
|
||||
cancel-edit-tiddler: escape
|
||||
change-sidebar-layout: shift-alt-Down
|
||||
delete-field: shift-alt-D
|
||||
excise: ctrl-E
|
||||
sidebar-search: ctrl-shift-F
|
||||
heading-1: ctrl-1
|
||||
|
Loading…
x
Reference in New Issue
Block a user