1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-19 18:59:42 +00:00

Merge branch 'tiddlywiki-com'

This commit is contained in:
Jeremy Ruston 2024-07-01 10:21:33 +01:00
commit c25b8e3056
11 changed files with 63 additions and 12 deletions

View File

@ -1,14 +1,14 @@
title: TiddlyWiki Archive
created: 20231005205623086
modified: 20231005210538879
modified: 20240628132622052
tags: About
title: TiddlyWiki Archive
\procedure versions()
5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9
5.1.10 5.1.11 5.1.12 5.1.13 5.1.14 5.1.15 5.1.16 5.1.17 5.1.18 5.1.19
5.1.20 5.1.21 5.1.22 5.1.23
5.2.0 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7
5.3.0 5.3.1 5.3.2 5.3.3
5.3.0 5.3.1 5.3.2 5.3.3 5.3.4
\end
Older versions of TiddlyWiki are available in the [[archive|https://github.com/Jermolene/jermolene.github.io/tree/master/archive]]:

View File

@ -0,0 +1,12 @@
caption: currentTab
created: 20240627195924480
modified: 20240627201655746
tags: Variables [[Core Variables]]
title: currentTab Variable
type: text/vnd.tiddlywiki
The <<.def currentTab>> [[variable|Variables]] contains the title of the current tab within an enclosing set of tabs generated by the [[tabs Macro]].
When a tiddler is [[transcluded|Transclusion]] within a tab, any use of the [[currentTiddler Variable]] will point to the tiddler containing the [[tabs Macro]] call. This may lead to surprises if the transcluded tiddler was originally written to display by itself in the [[Story River]] in ways that rely on self-reference. The currentTab macro enables a similar effect to currentTiddler for the special case of a tiddler rendered as a tab.
Compare <<.vlink currentTiddler>>.

View File

@ -4,7 +4,7 @@ tags: Features
title: AutoSave
type: text/vnd.tiddlywiki
If there is a SaverModule available that supports it, TiddlyWiki will automatically trigger a save of the current document on clicking <<.icon $:/core/images/done-button>> ''ok'' or <<.icon $:/core/images/delete-button>> ''delete'' when editing a tiddler.
If there is a SavingMechanism available that supports it, TiddlyWiki will automatically trigger a save of the current document on clicking <<.icon $:/core/images/done-button>> ''ok'' or <<.icon $:/core/images/delete-button>> ''delete'' when editing a tiddler.
You should see a yellow notification at the top right of the window to confirm that an automatic save has taken place.

View File

@ -0,0 +1,5 @@
created: 20240627223618060
modified: 20240627223637576
title: $:/language/Docs/Fields/_canonical_uri
The full URI of an external image, audio, or html file

View File

@ -4,7 +4,7 @@ tags: [[Filter Run Prefix]]
title: Named Filter Run Prefix
type: text/vnd.tiddlywiki
In <<.from-version "5.1.23">> the named filter run prefixes where implemented. `:cascade`, `:map` and `:sort` have been added later as shown in the diagrams.
In <<.from-version "5.1.23">> the named filter run prefixes were implemented. `:cascade`, `:map` and `:sort` have been added later as shown in the diagrams.
A named filter run prefix can precede any [[run|Filter Run]] of a [[filter expression|Filter Expression]] in place of a [[shortcut run prefix|Shortcut Filter Run Prefix]].

View File

@ -1,6 +1,6 @@
caption: tabs
created: 20131228162203521
modified: 20210721122823354
modified: 20240627201724476
tags: Macros [[Core Macros]]
title: tabs Macro
type: text/vnd.tiddlywiki
@ -34,7 +34,7 @@ By default the tabs are arranged horizontally above the content. To get vertical
Within the template, the title of the selected tab is available in the <<.var currentTab>> variable.
The <<.vlink currentTiddler>> variable is not affected by the <<.var tabs>> macro. This can put you in trouble if the list of tabs includes tiddlers that depend on the value of the <<.vlink currentTiddler>>, for example tiddlers listing children based on its own name. To overcome this problem you can use a [[TemplateTiddler|TemplateTiddlers]] like the following:
The <<.vlink currentTiddler>> variable is not affected by the <<.var tabs>> macro. This can put you in trouble if the list of tabs includes tiddlers that depend on the value of the <<.vlink currentTiddler>>, for example tiddlers listing children based on its own name. To overcome this problem you can make use of the <<.vlink currentTab>> variable, which can be used in a [[TemplateTiddler|TemplateTiddlers]] such as the following:
```
<$tiddler tiddler=<<currentTab>>>

View File

@ -1,11 +1,11 @@
caption: 5.3.4
created: 20240627165458407
modified: 20240627165458407
description: Testcase Widget, Tour Plugin, Geospatial Plugin, transcludes- backtranscludes operators, ...
modified: 20240628132840367
released: 20240627165458407
tags: ReleaseNotes
title: Release 5.3.4
type: text/vnd.tiddlywiki
description: Under development
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.3...v5.3.4]]//

View File

@ -1,7 +1,9 @@
caption: edit-text
created: 20131024141900000
modified: 20230122210049893
heading:
modified: 20240627184331133
tags: Widgets
temp:
title: EditTextWidget
type: text/vnd.tiddlywiki
@ -66,3 +68,18 @@ Provide a dated heading for this example where only the placeholder (but not the
<$macrocall $name=".example" n="3"
eg="""<$edit-text tiddler=<<currentTiddler>> field="heading" size="25" focus="yes" focusSelectFromEnd="13" default={{{ [[Heading Text (]] [<now YYYY-0MM-0DD>] [[)]] +[join[]] }}} />
"""/>
!!! Input Actions, with class attribute
<$macrocall $name=".example" n="4"
eg="""\procedure onInput()
<%if [get[temp]match[$:/]] %>
<$action-confirm $message="Yes, this is how system tiddler names begin!"/>
<% endif %>
\end
Type a new tiddler name, starting with the system prefix `$:/`: <$edit-text inputActions=<<onInput>> field="temp" class="tc-edit-texteditor"/>
"""/>

View File

@ -1,6 +1,6 @@
caption: edit
created: 20131024141900000
modified: 20211009121634055
modified: 20240627220419761
tags: Widgets TriggeringWidgets
title: EditWidget
type: text/vnd.tiddlywiki
@ -24,3 +24,16 @@ The content of the `<$edit>` widget is ignored.
|inputActions |<<.from-version 5.1.23>> Optional actions that are triggered every time an input event occurs within the input field or textarea |
|refreshTitle |<<.from-version 5.1.23>> An optional tiddler title that makes the input field update whenever the specified tiddler changes |
! Examples
!! Edit the contents (text field) of a tiddler titled <%if [<now YYYY-0MM-0DD>is[tiddler]] %> <$tiddler tiddler=<<now YYYY-0MM-0DD>> > <$link/></$tiddler> <%else %> with todays date <% endif %>
<$macrocall $name=".example" n="1"
eg="""<$edit tiddler=<<now YYYY-0MM-0DD>> class="tc-edit-texteditor"/>
"""/>
!! Edit $:/status/UserName with single-line input box, have browser offer autocomplete for email
<$macrocall $name=".example" n="2"
eg="""<$edit-text tiddler="$:/status/UserName" tag="input" size=40 autocomplete="email"/>
"""/>

View File

@ -48,7 +48,7 @@ Here's an example the other way around, with numbers as the first level:
You can also assign a CSS class to an individual member of a list with this notation:
<<wikitext-example src:"* List One
*.MyClass List Two
*.tc-muted List Two
* List Three
">>

View File

@ -573,3 +573,7 @@ Anders Jarmund, @andjar, 2024/04/05
Fokzo Kat, @CyberFoxar, 2024/05/20
Andrei Rybak, @rybak, 2024/06/09
@Leilei332, 2024/06/28
@springerspandrel, 2024/06/27