mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Merge branch 'tiddlywiki-com'
This commit is contained in:
commit
0729d730f8
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
created: 20160107225427489
|
created: 20160107225427489
|
||||||
modified: 20201117081054556
|
modified: 20211221102625141
|
||||||
tags: Features
|
tags: Features
|
||||||
title: Modals
|
title: Modals
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -12,6 +12,7 @@ The tiddler to be displayed can contain the following optional fields that are u
|
|||||||
|footer|The footer text for the modal|
|
|footer|The footer text for the modal|
|
||||||
|subtitle|The subtitle text for a modal, displayed in a `h3` html tag|
|
|subtitle|The subtitle text for a modal, displayed in a `h3` html tag|
|
||||||
|class|An additional class to apply to the modal wrapper|
|
|class|An additional class to apply to the modal wrapper|
|
||||||
|
|help|An optional external link that will be displayed at the left of the footer with the text "Help"|
|
||||||
|
|
||||||
Note that the footer and subtitle fields are not limited to plain text, and wiki text features such as widgets and transclusions can be used as well.
|
Note that the footer and subtitle fields are not limited to plain text, and wiki text features such as widgets and transclusions can be used as well.
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ type: text/vnd.tiddlywiki
|
|||||||
|''input'' |all titles from previous filter runs |
|
|''input'' |all titles from previous filter runs |
|
||||||
|''output''|the input titles as modified by the filters returned by this filter run |
|
|''output''|the input titles as modified by the filters returned by this filter run |
|
||||||
|
|
||||||
The filter expression for this filter run is evaluated to return a list of filters. Each input title is then evaluated against each of the filters in turn, and the input title is replaced with the first result of the first filter that returns a non-empty list. If none of the filters return a result for an input title, it is replaced with an empty string.
|
The [[filter expression|Filter Expression]] for this [[filter run|Filter Run]] is evaluated to return a list of filters. Each input title is then evaluated against each of the filters in turn, and the input title is replaced with the first result of the first filter that returns a non-empty list. If none of the filters return a result for an input title, it is replaced with an empty string.
|
||||||
|
|
||||||
The following variables are available within the filter run:
|
The following variables are available within the filter run:
|
||||||
|
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
caption: list-links-draggable
|
caption: list-links-draggable
|
||||||
created: 20170328204925306
|
created: 20170328204925306
|
||||||
modified: 20170329093008550
|
modified: 20211214141650488
|
||||||
tags: Macros [[Core Macros]]
|
tags: Macros [[Core Macros]]
|
||||||
title: list-links-draggable Macro
|
title: list-links-draggable Macro
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The <<.def list-links-draggable>> [[macro|Macros]] renders the ListField of a tiddler as a list of links that can be reordered via [[drag and drop|Drag and Drop]].
|
The <<.def list-links-draggable>> [[macro|Macros]] renders the ListField of a tiddler as a list of links that can be reordered via [[drag and drop|Drag and Drop]].
|
||||||
|
|
||||||
|
Note: The list must be contained in a different tiddler. I.e. If the list is populated in the list field of the current tiddler, the drag and drop action will have no effect.
|
||||||
|
|
||||||
!! Parameters
|
!! Parameters
|
||||||
|
|
||||||
;tiddler
|
;tiddler
|
||||||
|
@ -8,6 +8,12 @@ type: text/vnd.tiddlywiki
|
|||||||
|
|
||||||
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.20...v5.1.21]]//
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.20...v5.1.21]]//
|
||||||
|
|
||||||
|
<<.banner-credits
|
||||||
|
credit:"""Congratulations to [[Sylvain Comte|https://github.com/sycom]] for his winning design for the banner for this release (here are the [[other entries|https://groups.google.com/g/tiddlywiki/c/l47ZZzWdDb8/m/a1dnyKG0AQAJ]]).
|
||||||
|
"""
|
||||||
|
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/42060acb43b329036b7436ee154bf605e90efa8e/editions/tw5.com/tiddlers/images/New%20Release%20Banner.jpg"
|
||||||
|
>>
|
||||||
|
|
||||||
This is a bug fix release that resolves issues introduced in the recent [[Release 5.1.20]].
|
This is a bug fix release that resolves issues introduced in the recent [[Release 5.1.20]].
|
||||||
|
|
||||||
!! Bug Fixes
|
!! Bug Fixes
|
||||||
|
@ -8,6 +8,12 @@ type: text/vnd.tiddlywiki
|
|||||||
|
|
||||||
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.21...v5.1.22]]//
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.21...v5.1.22]]//
|
||||||
|
|
||||||
|
<<.banner-credits
|
||||||
|
credit:"""Congratulations to [[Thomas Elmiger|https://github.com/telmiger]] for his winning design for the banner for this release (here are the [[other entries|https://groups.google.com/g/tiddlywiki/c/rYrja18_SfQ/m/IX-jFS4cBQAJ]]).
|
||||||
|
"""
|
||||||
|
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/1ed36adab62c117849ee29d9535136eac70d3bc7/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png"
|
||||||
|
>>
|
||||||
|
|
||||||
! Major Improvements
|
! Major Improvements
|
||||||
|
|
||||||
!! Dynamic Plugin Loading
|
!! Dynamic Plugin Loading
|
||||||
|
@ -12,6 +12,12 @@ type: text/vnd.tiddlywiki
|
|||||||
|
|
||||||
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.22...v5.1.23]]//
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.22...v5.1.23]]//
|
||||||
|
|
||||||
|
<<.banner-credits
|
||||||
|
credit:"""Congratulations to [[Atronoush|https://github.com/atronoush]] for his winning design for the banner for this release (here are the [[other entries|https://groups.google.com/g/tiddlywiki/c/cTgPWl8b_9c/m/RghSSNKXAQAJ]]).
|
||||||
|
"""
|
||||||
|
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/3c003364d2408eb27912187f57f023333cc4f4dd/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png"
|
||||||
|
>>
|
||||||
|
|
||||||
! Performance Improvements
|
! Performance Improvements
|
||||||
|
|
||||||
* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/5206">> filter execution to use a more efficient linked list structure for intermediate results
|
* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/5206">> filter execution to use a more efficient linked list structure for intermediate results
|
||||||
|
@ -12,6 +12,12 @@ type: text/vnd.tiddlywiki
|
|||||||
|
|
||||||
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.23...v5.2.0]]//
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.23...v5.2.0]]//
|
||||||
|
|
||||||
|
<<.banner-credits
|
||||||
|
credit:"""Congratulations to Frank. B for his winning design for the banner for this release (here are the [[other entries|https://groups.google.com/g/tiddlywiki/c/eccIEHZoxsI/m/_MWs3EooBAAJ]]).
|
||||||
|
"""
|
||||||
|
url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/32b36fb2aff6bbe4f9281ee56d5bf6b8bbe5454b/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png"
|
||||||
|
>>
|
||||||
|
|
||||||
! Highlights
|
! Highlights
|
||||||
|
|
||||||
!! Unrestricted Fieldnames and the New JSON Store Area
|
!! Unrestricted Fieldnames and the New JSON Store Area
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
created: 20210309133636211
|
created: 20210309133636211
|
||||||
modified: 20211009122821123
|
modified: 20211222153049771
|
||||||
tags: Widgets MessageHandlerWidgets TriggeringWidgets
|
tags: Widgets MessageHandlerWidgets TriggeringWidgets
|
||||||
title: MessageCatcherWidget
|
title: MessageCatcherWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -37,7 +37,7 @@ The message catcher widget sets the following variables within each action strin
|
|||||||
<$action-log/>
|
<$action-log/>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
<$messagecatcher type="tm-navigate" actions=<<actions>>>
|
<$messagecatcher $tm-navigate=<<actions>>>
|
||||||
|
|
||||||
Click on [[this link]] to fire an action. See the browser JavaScript console for the output
|
Click on [[this link]] to fire an action. See the browser JavaScript console for the output
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
caption: view
|
caption: view
|
||||||
created: 20131024141900000
|
created: 20131024141900000
|
||||||
modified: 20210402093330113
|
modified: 20211219213444235
|
||||||
tags: Widgets
|
tags: Widgets
|
||||||
title: ViewWidget
|
title: ViewWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -27,18 +27,18 @@ The content of the `<$view>` widget is displayed if the field or property is mis
|
|||||||
The following formats can be specified in the `format` attribute:
|
The following formats can be specified in the `format` attribute:
|
||||||
|
|
||||||
|!Format |!Description |
|
|!Format |!Description |
|
||||||
|''text'' |Plain text (default) |
|
|''text'' |Plain text (default) <<.tip "See also the TextWidget. `<$view format=text tiddler=MyTiddler/>` renders the same as `<$text text={{MyTiddler}}/>`">>|
|
||||||
|''htmlencoded'' |The field is displayed with HTML encoding |
|
|''htmlencoded'' |The field is displayed with HTML encoding. <<.tip "Rendered value is the same as the output from the [[encodehtml|encodehtml Operator]] filter operator">> |
|
||||||
|''htmltextencoded'' |<<.from-version "5.2.0">> The field is displayed with HTML encoding, only double quotes (") are not escaped. This creates a more compact htmlencoding appropriate for html text content, but //not// for attributes. |
|
|''htmltextencoded'' |<<.from-version "5.2.0">> The field is displayed with HTML encoding, only double quotes (") are not escaped. This creates a more compact htmlencoding appropriate for html text content, but //not// for attributes. |
|
||||||
|''urlencoded'' |The field is displayed with URL encoding |
|
|''urlencoded'' |The field is displayed with URL encoding <<.tip "Rendered value is the same as the output from the [[encodeuri|encodeuri Operator]] filter operator">> |
|
||||||
|''doubleurlencoded'' |The field is displayed with double URL encoding |
|
|''doubleurlencoded'' |The field is displayed with double URL encoding <<.tip "Rendered value is the same as the output from calling the [[encodeuri|encodeuri Operator]] filter operator twice">> |
|
||||||
|''htmlwikified'' |The field is wikified according to the mode attribute and the resulting HTML returned as plain text (ie HTML elements will appear in plain text) |
|
|''htmlwikified'' |The field is wikified according to the mode attribute and the resulting HTML returned as plain text (ie HTML elements will appear in plain text) |
|
||||||
|''plainwikified'' |The field is wikified according to the mode attribute and the text content of the resulting HTML returned as plain text (ie HTML elements will be removed) |
|
|''plainwikified'' |The field is wikified according to the mode attribute and the text content of the resulting HTML returned as plain text (ie HTML elements will be removed) |
|
||||||
|''htmlencodedplainwikified'' |The field is wikified according to the mode attribute and the text content of the resulting HTML returned as HTML encoded plain text (ie HTML elements will be removed) |
|
|''htmlencodedplainwikified'' |The field is wikified according to the mode attribute and the text content of the resulting HTML returned as HTML encoded plain text (ie HTML elements will be removed) |
|
||||||
|''date'' |The field is interpreted as a UTC date and displayed according to the DateFormat specified in the `template` attribute |
|
|''date'' |The field is interpreted as a UTC date and displayed according to the DateFormat specified in the `template` attribute <<.tip "Rendered value is the same as the output from the [[format:date|format Operator]] filter operator">> |
|
||||||
|''relativedate'' |The field is interpreted as a UTC date and displayed as the interval from the present instant |
|
|''relativedate'' |The field is interpreted as a UTC date and displayed as the interval from the present instant <<.tip "Rendered value is the same as the output from the [[format:relativedate|format Operator]] filter operator">> |
|
||||||
|''stripcomments'' |The field is interpreted as JavaScript source code and any lines beginning `\\#` are stripped |
|
|''stripcomments'' |The field is interpreted as JavaScript source code and any lines beginning `\\#` are stripped |
|
||||||
|''jsencoded'' |The field is displayed as a JavaScript encoded string |
|
|''jsencoded'' |The field is displayed as a JavaScript encoded string <<.tip "Rendered value is the same as the output from the [[stringify|stringify Operator]] filter operator">> |
|
||||||
|
|
||||||
!! "WikiText format"
|
!! "WikiText format"
|
||||||
|
|
||||||
@ -54,3 +54,21 @@ The following example will view the core version of the tiddler [[$:/DefaultTidd
|
|||||||
<$view tiddler="$:/core" subtiddler="$:/DefaultTiddlers"/>
|
<$view tiddler="$:/core" subtiddler="$:/DefaultTiddlers"/>
|
||||||
|
|
||||||
'>>
|
'>>
|
||||||
|
|
||||||
|
! Examples
|
||||||
|
|
||||||
|
Given this [[Saturday]] example tiddler:
|
||||||
|
|
||||||
|
|!tiddler|!raw content|!rendered content|
|
||||||
|
|[[Saturday]]|<$text text={{Saturday}}/>|{{Saturday}}|
|
||||||
|
|
||||||
|
Here is how `<$view tiddler=Saturday format=<<format>>/>` renders for each format:
|
||||||
|
<table>
|
||||||
|
<tr><th>format</th><th>renders as</th></tr>
|
||||||
|
<$list filter="text htmlencoded htmltextencoded urlencoded doubleurlencoded htmlwikified plainwikified htmlencodedplainwikified stripcomments jsencoded" variable=format>
|
||||||
|
<tr>
|
||||||
|
<td>''<<format>>''</td>
|
||||||
|
<td><$view tiddler="Saturday" format=<<format>>/></td>
|
||||||
|
</tr>
|
||||||
|
</$list>
|
||||||
|
</table>
|
||||||
|
@ -63,6 +63,6 @@ Renders as:
|
|||||||
! Importing Images
|
! Importing Images
|
||||||
|
|
||||||
Use the <<.button import>> button (under the <<.sidebar-tab Tools>> tab in the sidebar), or drag and drop.
|
Use the <<.button import>> button (under the <<.sidebar-tab Tools>> tab in the sidebar), or drag and drop.
|
||||||
See [[ImportingTiddlers]] for details.
|
See [[Importing Tiddlers]] for details.
|
||||||
|
|
||||||
<<.from-version "5.2.0">> You can also import images by dropping or pasting images into the tiddler editor.
|
<<.from-version "5.2.0">> You can also import images by dropping or pasting images into the tiddler editor.
|
||||||
|
@ -477,3 +477,5 @@ Brian Theado, @btheado, 2021-10-10
|
|||||||
Fred, @tw-FRed, 2021/12/04
|
Fred, @tw-FRed, 2021/12/04
|
||||||
|
|
||||||
Joseph Cosentino, @jc-ose, 2021-12-14
|
Joseph Cosentino, @jc-ose, 2021-12-14
|
||||||
|
|
||||||
|
@davout1806, 2021/12/17
|
||||||
|
Loading…
Reference in New Issue
Block a user