mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-07 07:50:26 +00:00
add some temporary test tiddlers and plugins
This commit is contained in:
parent
7ac47b646b
commit
c3d0d2432b
@ -81,7 +81,7 @@ tags: $:/tags/Global
|
|||||||
\procedure dv-clearSearchButton()
|
\procedure dv-clearSearchButton()
|
||||||
<$button class="tc-btn-invisible btn-x" tooltip={{$:/language/Search/Variables/Clear/Search}}>
|
<$button class="tc-btn-invisible btn-x" tooltip={{$:/language/Search/Variables/Clear/Search}}>
|
||||||
<$action-deletetiddler $tiddler=<<tf.dv-searchText>>/>
|
<$action-deletetiddler $tiddler=<<tf.dv-searchText>>/>
|
||||||
<$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.x-inp"/>
|
<$action-sendmessage $message="tm-focus-selector" $param="input.x-inp"/>
|
||||||
{{$:/core/images/close-button}}
|
{{$:/core/images/close-button}}
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
@ -89,7 +89,7 @@ tags: $:/tags/Global
|
|||||||
\procedure dv-clearExcludeButton()
|
\procedure dv-clearExcludeButton()
|
||||||
<$button class="tc-btn-invisible btn-yy" tooltip={{$:/language/Search/Variables/Clear/Exclude}}>
|
<$button class="tc-btn-invisible btn-yy" tooltip={{$:/language/Search/Variables/Clear/Exclude}}>
|
||||||
<$action-deletetiddler $tiddler=<<tf.dv-excludeText>>/>
|
<$action-deletetiddler $tiddler=<<tf.dv-excludeText>>/>
|
||||||
<$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.y-inp"/>
|
<$action-sendmessage $message="tm-focus-selector" $param="input.y-inp"/>
|
||||||
{{$:/core/images/close-button}}
|
{{$:/core/images/close-button}}
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
@ -355,7 +355,7 @@ tags: $:/tags/Global
|
|||||||
|
|
||||||
\procedure dv-lc-actions()
|
\procedure dv-lc-actions()
|
||||||
<$action-setfield $tiddler=<<tf.dv-excludeText>> text=<<navigateTo>>/>
|
<$action-setfield $tiddler=<<tf.dv-excludeText>> text=<<navigateTo>>/>
|
||||||
<!-- <$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.y-inp"/> -->
|
<!-- <$action-sendmessage $message="tm-focus-selector" $param="input.y-inp"/> -->
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\procedure dv-addNewVariableFilter-actions()
|
\procedure dv-addNewVariableFilter-actions()
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240311170828385
|
||||||
|
modified: 20240311170828385
|
||||||
|
title: $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
show
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,11 @@
|
|||||||
|
author: Mario Pietsch
|
||||||
|
core-version: >=5.3.3
|
||||||
|
dependents:
|
||||||
|
description: Internal links are added to tabs if selected
|
||||||
|
icon: $:/plugins/wikilabs/link-to-tabs/icon
|
||||||
|
list: readme settings license history
|
||||||
|
name: Link to Tabs
|
||||||
|
plugin-type: plugin
|
||||||
|
title: $:/plugins/wikilabs/link-to-tabs
|
||||||
|
type: application/json
|
||||||
|
version: 3.0.0
|
32
editions/tw5.com/tiddlers/$__tab.json
Normal file
32
editions/tw5.com/tiddlers/$__tab.json
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"tiddlers": {
|
||||||
|
"$:/config/ShortcutInfo/tab": {
|
||||||
|
"text": "Insert Tab",
|
||||||
|
"title": "$:/config/ShortcutInfo/tab"
|
||||||
|
},
|
||||||
|
"$:/config/shortcuts-mac/tab": {
|
||||||
|
"text": "tab",
|
||||||
|
"title": "$:/config/shortcuts-mac/tab"
|
||||||
|
},
|
||||||
|
"$:/config/shortcuts-not-mac/tab": {
|
||||||
|
"text": "tab",
|
||||||
|
"title": "$:/config/shortcuts-not-mac/tab"
|
||||||
|
},
|
||||||
|
"$:/tab/icon": {
|
||||||
|
"text": "<svg class=\"tc-image-tab tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M122 123h-11.5V65.3H122zm-19.3-28.8L73.9 123V99.9H6.6V88.4h67.3V65.3zM6.6 65.4V7.7h11.5v57.7zm19.3-28.8L54.7 7.8v23.1H122v11.5H54.7v23.1z\"/></svg>",
|
||||||
|
"tags": "$:/tags/Image",
|
||||||
|
"title": "$:/tab/icon"
|
||||||
|
},
|
||||||
|
"$:/insert/tab": {
|
||||||
|
"text": "<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"insert-text\"\n\ttext={{{ [charcode[9]] }}}\n/>",
|
||||||
|
"title": "$:/insert/tab",
|
||||||
|
"tags": "$:/tags/EditorToolbar",
|
||||||
|
"icon": "$:/tab/icon",
|
||||||
|
"caption": "Tab",
|
||||||
|
"description": "Insert Tab",
|
||||||
|
"condition": "[<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]",
|
||||||
|
"shortcuts": "((tab))",
|
||||||
|
"condition-disabled": "[[$:/temp/bold/disabled]get[state-disabled]else[no]]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
editions/tw5.com/tiddlers/$__tab.json.meta
Normal file
7
editions/tw5.com/tiddlers/$__tab.json.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
description: Toolbar button to get a tab space character
|
||||||
|
modified: 20230806185015211
|
||||||
|
name: Tab character
|
||||||
|
plugin-type: plugin
|
||||||
|
title: $:/tab
|
||||||
|
type: application/json
|
||||||
|
version: 0.0.2
|
@ -0,0 +1,6 @@
|
|||||||
|
created: 20240312113200405
|
||||||
|
modified: 20240312113200405
|
||||||
|
title: $:/themes/tiddlywiki/vanilla/settings/editorfontfamily
|
||||||
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace
|
@ -1,5 +1,5 @@
|
|||||||
created: 20240427121446051
|
created: 20240427121446051
|
||||||
modified: 20240427122708648
|
modified: 20240429205843171
|
||||||
title: search-variables Macro (Examples)
|
title: search-variables Macro (Examples)
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
@ -8,22 +8,22 @@ The following example will list all variables that contain the word "example" in
|
|||||||
While ''the following list will be long'' it should be easy to refine it. It shows all variables known within this tiddler. Using the procedure in a ''different context''. Eg: the sidebar, variables will show ''different values''.
|
While ''the following list will be long'' it should be easy to refine it. It shows all variables known within this tiddler. Using the procedure in a ''different context''. Eg: the sidebar, variables will show ''different values''.
|
||||||
|
|
||||||
<$macrocall $name=".example" n="1"
|
<$macrocall $name=".example" n="1"
|
||||||
eg="""<<search-variables >>"""/>
|
eg="""<div><<search-variables >></div>"""/>
|
||||||
|
|
||||||
<$macrocall $name=".example" n="2"
|
<$macrocall $name=".example" n="2"
|
||||||
eg="""<$let EXAMPLE="123" >
|
eg="""<div><$let EXAMPLE="123" >
|
||||||
<<search-variables subfilter:"[search::some[EXAMPLE dumpvariables]]">>
|
<<search-variables subfilter:"[search::some[EXAMPLE dumpvariables]]">>
|
||||||
</$let>"""/>
|
</$let></div>"""/>
|
||||||
|
|
||||||
Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter
|
Listing only specific varibles can be achieved using the <<.olink search>> operator as a subfilter
|
||||||
|
|
||||||
<$macrocall $name=".example" n="3"
|
<$macrocall $name=".example" n="3"
|
||||||
eg="""<$let EXAMPLE="123" >
|
eg="""<div><$let EXAMPLE="123" >
|
||||||
<<search-variables subfilter:"[search::casesensitive,some[EXAMPLE dumpvariables]]">>
|
<<search-variables subfilter:"[search::casesensitive,some[EXAMPLE dumpvariables]]">>
|
||||||
</$let>"""/>
|
</$let></div>"""/>
|
||||||
|
|
||||||
<$macrocall $name=".example" n="4"
|
<$macrocall $name=".example" n="4"
|
||||||
eg="""<<search-variables subfilter:"[prefix[.a]]">>"""/>
|
eg="""<div><<search-variables subfilter:"[prefix[.a]]">></div>"""/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user