1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

wip p tag todo update

This commit is contained in:
pmario 2024-09-02 16:34:50 +02:00
parent 854983290b
commit 9b2ce58e7a
47 changed files with 189 additions and 228 deletions

View File

@ -1,44 +1,29 @@
title: $:/core/ui/EditTemplate/body/editor
\whitespace trim
<$edit
field="text"
class="tc-edit-texteditor tc-edit-texteditor-body"
placeholder={{$:/language/EditTemplate/Body/Placeholder}}
tabindex={{$:/config/EditTabIndex}}
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
cancelPopups="yes"
fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}
><$set
name="targetTiddler"
value=<<currentTiddler>>
><$list
filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]"
><$reveal
type="nomatch"
state=<<config-visibility-title>>
text="hide"
class="tc-text-editor-toolbar-item-wrapper"
><$transclude
tiddler="$:/core/ui/EditTemplate/body/toolbar/button"
mode="inline"
/></$reveal></$list><$list
filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]"
><$list
filter={{!!condition}}
variable="list-condition"
><$transclude/>
</$list></$list></$set></$edit>
<$edit field="text"
class="tc-edit-texteditor tc-edit-texteditor-body"
placeholder={{$:/language/EditTemplate/Body/Placeholder}}
tabindex={{$:/config/EditTabIndex}}
focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}
cancelPopups="yes"
fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}
>
<$set name="targetTiddler" value=<<currentTiddler>>>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]">
<$reveal type="nomatch"
state=<<config-visibility-title>>
text="hide"
class="tc-text-editor-toolbar-item-wrapper"
tag="div"
>
<$transclude tiddler="$:/core/ui/EditTemplate/body/toolbar/button" mode="inline"/>
</$reveal>
</$list>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]">
<$list filter={{!!condition}} variable="list-condition">
<$transclude/>
</$list>
</$list>
</$set>
</$edit>

View File

@ -1,111 +1,72 @@
title: $:/core/ui/EditTemplate/body/toolbar/button
\define toolbar-button-icon()
<$list
filter="[all[current]!has[custom-icon]]"
variable="no-custom-icon"
><$transclude
tiddler={{!!icon}}
/></$list>
\whitespace trim
<$list filter="[all[current]!has[custom-icon]]" variable="no-custom-icon">
<$transclude tiddler={{!!icon}}/>
</$list>
\end
\define toolbar-button-tooltip()
{{!!description}}<$macrocall $name="displayshortcuts" $output="text/plain" shortcuts={{!!shortcuts}} prefix="` - [" separator="] [" suffix="]`"/>
\whitespace trim
{{!!description}}
<$macrocall $name="displayshortcuts"
$output="text/plain"
shortcuts={{!!shortcuts}}
prefix="` - [" separator="] [" suffix="]`"
/>
\end
\define toolbar-button()
<$list
filter={{!!condition}}
variable="list-condition"
><$wikify
name="tooltip-text"
text=<<toolbar-button-tooltip>>
mode="inline"
output="text"
><$list
filter="[all[current]!has[dropdown]]"
variable="no-dropdown"
><$set name=disabled filter={{!!condition-disabled}}><$button
class="tc-btn-invisible $(buttonClasses)$"
tooltip=<<tooltip-text>>
actions={{!!actions}}
disabled=<<disabled>>
><span
data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}
/><<toolbar-button-icon>><$transclude
tiddler=<<currentTiddler>>
field="text"
/></$button></$set></$list><$list
filter="[all[current]has[dropdown]]"
variable="dropdown"
><$set
name="dropdown-state"
value=<<qualify "$:/state/EditorToolbarDropdown">>
><$set name=disabled filter={{!!condition-disabled}}><$button
popup=<<dropdown-state>>
class="tc-popup-keep tc-btn-invisible $(buttonClasses)$"
selectedClass="tc-selected"
tooltip=<<tooltip-text>>
actions={{!!actions}}
disabled=<<disabled>>
><span
data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}
/><<toolbar-button-icon>><$transclude
tiddler=<<currentTiddler>>
field="text"
/></$button></$set><$reveal
state=<<dropdown-state>>
type="popup"
position="below"
animate="yes"
tag="span"
><div
class="tc-drop-down tc-popup-keep"
><$transclude
tiddler={{!!dropdown}}
mode="block"
/></div></$reveal></$set></$list></$wikify></$list>
\whitespace trim
<$list filter={{!!condition}} variable="list-condition">
<$wikify name="tooltip-text" text=<<toolbar-button-tooltip>> mode="inline" output="text">
<$list filter="[all[current]!has[dropdown]]" variable="no-dropdown">
<$set name=disabled filter={{!!condition-disabled}}>
<$button
class="tc-btn-invisible $(buttonClasses)$"
tooltip=<<tooltip-text>>
actions={{!!actions}}
disabled=<<disabled>>
>
<span data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}/>
<<toolbar-button-icon>>
<$transclude tiddler=<<currentTiddler>> field="text"/>
</$button>
</$set>
</$list>
<$list filter="[all[current]has[dropdown]]" variable="dropdown">
<$set name="dropdown-state" value=<<qualify "$:/state/EditorToolbarDropdown">> >
<$set name=disabled filter={{!!condition-disabled}}>
<$button
popup=<<dropdown-state>>
class="tc-popup-keep tc-btn-invisible $(buttonClasses)$"
selectedClass="tc-selected"
tooltip=<<tooltip-text>>
actions={{!!actions}}
disabled=<<disabled>>
>
<span data-tw-keyboard-shortcut={{{ [<disabled>match[yes]then[]else{!!shortcuts}] }}}/>
<<toolbar-button-icon>>
<$transclude tiddler=<<currentTiddler>> field="text"/>
</$button>
</$set>
<$reveal state=<<dropdown-state>> type="popup" position="below" animate="yes" tag="div">
<div class="tc-drop-down tc-popup-keep">
<$transclude tiddler={{!!dropdown}} mode="block"/>
</div>
</$reveal>
</$set>
</$list>
</$wikify>
</$list>
\end
\define toolbar-button-outer()
<$set
name="buttonClasses"
value={{!!button-classes}}
><<toolbar-button>></$set>
\whitespace trim
<$set name="buttonClasses" value={{!!button-classes}}>
<<toolbar-button>>
</$set>
\end
<<toolbar-button-outer>>

View File

@ -1,7 +1,7 @@
created: 20221123152001085
modified: 20221123152026864
modified: 20240901190130491
tags:
title: ActionListopsWidget-todo
title: ActionListopsWidget-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123152108247
modified: 20221123152125899
modified: 20240901190207865
tags:
title: ActionSetFieldWidget-todo
title: ActionSetFieldWidget-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123155812501
modified: 20221123155958564
modified: 20240901190530797
tags:
title: Block Quotes in WikiText-todo
title: Block Quotes in WikiText-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123152205007
modified: 20240315194019330
modified: 20240901190747879
tags:
title: BrowseWidget-todo-5.3
title: BrowseWidget-todo-5.3-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123152518322
modified: 20240217220546710
modified: 20240901193546363
tags:
title: DraggableWidget-todo-dm
title: DraggableWidget-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123162854638
modified: 20240217231008248
modified: 20240901193530049
tags:
title: Formatting List Results as Tables with CSS - Specified Columns Methods-todo-dm
title: Formatting List Results as Tables with CSS - Specified Columns Methods-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,25 +1,25 @@
created: 20240217004718488
modified: 20240217005648458
modified: 20240901192622102
tags:
title: Genesis/Block-TODO
type: text/vnd.tiddlywiki
<$genesis $type="$reveal" type=nomatch>
<$genesis $type="$reveal" $type=nomatch >
Block
</$genesis>
<$genesis $type="$reveal" type=nomatch $mode=block>
<$genesis $type="$reveal" $type=nomatch $mode=block>
Block forced block
</$genesis>
<$genesis $type="$reveal" type=nomatch $mode=inline>
<$genesis $type="$reveal" $type=nomatch $mode=inline>
Block forced inline
</$genesis>
<$genesis $type=$reveal type=nomatch>Inline</$genesis>
<$genesis $type=$reveal type=nomatch $mode=block>Inline forced block</$genesis>
<$genesis $type=$reveal type=nomatch $mode=inline>Inline forced inline</$genesis>
<$genesis $type=$reveal $type=nomatch>Inline</$genesis>
<$genesis $type=$reveal $type=nomatch $mode=block>Inline forced block</$genesis>
<$genesis $type=$reveal $type=nomatch $mode=inline>Inline forced inline</$genesis>

View File

@ -1,9 +1,15 @@
created: 20240217003121792
modified: 20240217003441872
modified: 20240901192405616
tags:
title: Genesis/EmptyType-todo
type: text/vnd.tiddlywiki
```
<$genesis>Mouse</$genesis>
<$genesis $type="">Mouse</$genesis>
```
<$genesis>Mouse</$genesis>
<$genesis $type="">Mouse</$genesis>

View File

@ -1,7 +1,7 @@
created: 20221123142902352
modified: 20240217231115611
modified: 20240901192311429
tags:
title: HistoryMechanism-todo-dm
title: HistoryMechanism-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123163201236
modified: 20240217220627499
modified: 20240901193518769
tags:
title: Icon Gallery-todo-dm
title: Icon Gallery-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123152743439
modified: 20221123152811930
modified: 20240901192210856
tags:
title: LinkWidget-todo
title: LinkWidget-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123152845155
modified: 20240217231610833
modified: 20240901193456710
tags:
title: ListWidget-todo-dm
title: ListWidget-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123153241635
modified: 20221123153307890
modified: 20240901190011685
tags:
title: RadioWidget-todo
title: RadioWidget-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123153332788
modified: 20240217232010375
modified: 20240901193343044
tags:
title: RangeWidget-todo-dm
title: RangeWidget-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123153434444
modified: 20240217232157332
modified: 20240901185857751
tags:
title: ScrollableWidget-todo
title: ScrollableWidget-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123162513124
modified: 20221123162538778
modified: 20240901191630460
tags:
title: TaskManagementExample-todo
title: TaskManagementExample-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123145934503
modified: 20221123150104510
modified: 20240901191544003
tags:
title: The Extended Listops Filters-todo
title: The Extended Listops Filters-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123161957091
modified: 20221123162040906
modified: 20240901185457258
tags:
title: Using Stylesheets-todo
title: Using Stylesheets-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123144646987
modified: 20240217221047065
modified: 20240901193230247
tags:
title: WidgetMessage: tm-close-window-todo-dm
title: WidgetMessage: tm-close-window-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123144949371
modified: 20240217221056110
modified: 20240901193159289
tags:
title: WidgetMessage: tm-fold-other-tiddlers-todo-dm
title: WidgetMessage: tm-fold-other-tiddlers-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123145138791
modified: 20221123145308158
modified: 20240901184911513
tags:
title: WidgetMessage: tm-full-screen-todo
title: WidgetMessage: tm-full-screen-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123145406421
modified: 20221123145443754
modified: 20240901184846958
tags:
title: WidgetMessage: tm-open-external-window-todo
title: WidgetMessage: tm-open-external-window-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123145512933
modified: 20240217233345298
modified: 20240901193155001
tags:
title: WidgetMessage: tm-open-window-todo-dm
title: WidgetMessage: tm-open-window-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123145649188
modified: 20240217221129526
modified: 20240901193150427
tags:
title: WidgetMessage: tm-unfold-all-tiddlers-todo-dm
title: WidgetMessage: tm-unfold-all-tiddlers-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123151031589
modified: 20240217220455380
modified: 20240901193648183
tags:
title: acos Operator-todo-dm
title: acos Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123151106354
modified: 20240217220515788
modified: 20240901193641388
tags:
title: asin Operator-todo-dm
title: asin Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123150202184
modified: 20240217230706108
modified: 20240901193634347
tags:
title: commands Operator-todo-dm
title: commands Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123150417523
modified: 20240217230717619
modified: 20240901193551947
tags:
title: deserializers Operator-todo-dm
title: deserializers Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,5 +1,5 @@
created: 20221125103758471
modified: 20221125104146153
modified: 20240901204132331
tags:
title: edit-toolbar-all-drops-todo
type: text/vnd.tiddlywiki
@ -17,10 +17,13 @@ type: text/vnd.tiddlywiki
----
''fixed''
[img[editor-max-height-new.png]]
-------
Needs a padding: `.tc-editor-toolbar .tc-text-editor-toolbar-more { padding: 0 8px` -- Same as P tag
[img[more-dropdown-new.png]]

View File

@ -1,7 +1,7 @@
created: 20221123150512675
modified: 20240217230831802
modified: 20240901193539459
tags:
title: enlist Operator-todo-dm
title: enlist Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,9 +1,13 @@
created: 20240217004927961
modified: 20240217005640206
modified: 20240901192840596
tags:
title: genesis-block-forced-inline-TODO
type: text/vnd.tiddlywiki
<$genesis $type="$reveal" type=nomatch $mode=block>
Block forced inline
</$genesis>
<$genesis $type="$reveal" type=nomatch $mode=inline>
Block forced inline

View File

@ -1,7 +1,7 @@
created: 20221123151204903
modified: 20221123151221865
modified: 20240901192118038
tags:
title: log Operator-todo
title: log Operator-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123154228557
modified: 20240217220700028
modified: 20240901193353829
tags:
title: modifier Variable-todo-dm
title: modifier Variable-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123150547572
modified: 20221123150553663
modified: 20240901192038667
tags:
title: moduletypes Operator-todo
title: moduletypes Operator-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123151255885
modified: 20240315205833043
modified: 20240901191955456
tags:
title: power Operator-todo
title: power Operator-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221125104414186
modified: 20240217232247579
modified: 20240901202206373
tags:
title: sidebar-tools-todo-dm
title: sidebar-tools-todo-fixed
type: text/vnd.tiddlywiki
check vertical alignment

View File

@ -1,7 +1,7 @@
created: 20221125104215864
modified: 20221125104333663
modified: 20240901193314674
tags:
title: sidebar-vertical-alignment-todo
title: sidebar-vertical-alignment-todo-dm-fixed
type: text/vnd.tiddlywiki

View File

@ -1,7 +1,7 @@
created: 20221123151432434
modified: 20240217220737048
modified: 20240901193306069
tags:
title: standard-deviation Operator-todo-dm
title: standard-deviation Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123155152836
modified: 20240217220835920
modified: 20240901193735489
tags:
title: tag-picker Macro-todo-ns
title: tag-picker Macro-todo-ns-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123155216480
modified: 20221123155225583
modified: 20240901191752000
tags:
title: tag-pill Macro-todo
title: tag-pill Macro-todo-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,9 +1,11 @@
created: 20221123155254602
modified: 20221123155407720
modified: 20240901191357371
tags:
title: thumbnail Macro (Examples)-todo
type: text/vnd.tiddlywiki
There is a pending PR: https://github.com/TiddlyWiki/TiddlyWiki5/pull/8557
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>
Both version have the same problem -- The video thumbnail goes "out of bounds" from the tiddler-frame

View File

@ -1,7 +1,7 @@
created: 20221125103243276
modified: 20221125105220639
modified: 20240901191532497
tags:
title: toolbar-buttons-create-wikitext-link-todo
title: toolbar-buttons-create-wikitext-link-todo-fixed
type: text/vnd.tiddlywiki
Check all edit-mode toolbar buttons dropdowns

View File

@ -1,7 +1,7 @@
created: 20221123151524270
modified: 20240217220932874
modified: 20240901193300391
tags:
title: trunc Operator-todo-dm
title: trunc Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123151559409
modified: 20240217220947219
modified: 20240901193255848
tags:
title: untrunc Operator-todo-dm
title: untrunc Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>

View File

@ -1,7 +1,7 @@
created: 20221123151619713
modified: 20240217221027692
modified: 20240901193250798
tags:
title: variance Operator-todo-dm
title: variance Operator-todo-dm-fixed
type: text/vnd.tiddlywiki
<$link to={{{ [all[current]removesuffix[-todo]] }}}/>