From f4979dcdfd64cacc469d064c8e5347150199d918 Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Sun, 8 Jun 2025 23:16:55 +0800 Subject: [PATCH 01/33] Update ViewWidget.tid (#9082) --- editions/tw5.com/tiddlers/widgets/ViewWidget.tid | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/editions/tw5.com/tiddlers/widgets/ViewWidget.tid b/editions/tw5.com/tiddlers/widgets/ViewWidget.tid index ca5231d83..5821420c0 100644 --- a/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ViewWidget.tid @@ -55,6 +55,15 @@ The following example will view the core version of the tiddler [[$:/DefaultTidd '>> +To transclude a subtiddler with codeblock visual style, wrap it with pre, and set the mode and format attributes: + +< +<$view tiddler="$:/core" subtiddler="$:/core/ui/ControlPanel/ViewTemplateTags" mode=block format=text/> + + +'>> + ! Examples Given this [[Saturday]] example tiddler: From 7b9153122cbe983cc0344c7b834139a140921efa Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 9 Jun 2025 13:15:20 +0100 Subject: [PATCH 02/33] Remove unneeded plugins from prerelease --- editions/prerelease/tiddlywiki.info | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editions/prerelease/tiddlywiki.info b/editions/prerelease/tiddlywiki.info index c469dcf99..9b37efef3 100644 --- a/editions/prerelease/tiddlywiki.info +++ b/editions/prerelease/tiddlywiki.info @@ -3,20 +3,16 @@ "plugins": [ "tiddlywiki/browser-sniff", "tiddlywiki/help", - "tiddlywiki/stacked-view", "tiddlywiki/powered-by-tiddlywiki", "tiddlywiki/internals", "tiddlywiki/highlight", "tiddlywiki/bibtex", - "tiddlywiki/savetrail", - "tiddlywiki/external-attachments", "tiddlywiki/dynaview", "tiddlywiki/dynannotate", "tiddlywiki/codemirror", "tiddlywiki/menubar", "tiddlywiki/jszip", "tiddlywiki/confetti", - "tiddlywiki/dynannotate", "tiddlywiki/tour" ], "themes": [ From 29f0a91f4bad09b3f06dd93db34f10cbdac5e365 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Mon, 9 Jun 2025 15:12:16 +0200 Subject: [PATCH 03/33] solarized light palette, adjust stability badges, download button, (#9020) --- core/palettes/SolarizedLight.tid | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/palettes/SolarizedLight.tid b/core/palettes/SolarizedLight.tid index 226b861f2..ce2354fb0 100644 --- a/core/palettes/SolarizedLight.tid +++ b/core/palettes/SolarizedLight.tid @@ -27,7 +27,7 @@ diff-insert-foreground: #eee8d5 diff-invisible-background: #b58900 diff-invisible-foreground: #eee8d5 dirty-indicator: #dc322f -download-background: #859900 +download-background: #00910b download-foreground: #eee8d5 dragger-background: #eee8d5 dragger-foreground: #657b83 @@ -56,6 +56,7 @@ modal-footer-background: #eee8d5 modal-footer-border: #93a1a1 modal-header-border: #93a1a1 muted-foreground: #586e75 +network-activity-foreground: <> notification-background: #fdf6e3 notification-border: #93a1a1 page-background: #eee8d5 @@ -81,10 +82,10 @@ sidebar-tab-foreground-selected: #586e75 sidebar-tiddler-link-foreground: #2aa198 sidebar-tiddler-link-foreground-hover: #002b36 site-title-foreground: #d33682 -stability-deprecated: #dc322f -stability-experimental: #b58900 -stability-legacy: #268bd2 -stability-stable: #859900 +stability-deprecated: #d21a1a +stability-experimental: #771e00 +stability-legacy: #227abb +stability-stable: #576400 static-alert-foreground: #586e75 tab-background: #eee8d5 tab-background-selected: #fdf6e3 From c25df5ce50e469f20d506fd81d58ddc8fb5da9c2 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Mon, 9 Jun 2025 15:12:39 +0200 Subject: [PATCH 04/33] =?UTF-8?q?solarized-dark=20palette,=20adjust=20stab?= =?UTF-8?q?ility=20badges,=20ext=20link=20on=20hover,=20d=E2=80=A6=20(#901?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * solarized-dark palette, adjust stability badges, ext link on hover, download background contrast * solarized-dark palette, adjust stability badges, ext link on hover, download background contrast * revert download button colour change --- core/palettes/SolarizedDark.tid | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/palettes/SolarizedDark.tid b/core/palettes/SolarizedDark.tid index ce73b1746..2069797f1 100644 --- a/core/palettes/SolarizedDark.tid +++ b/core/palettes/SolarizedDark.tid @@ -40,7 +40,7 @@ external-link-background: inherit external-link-background-hover: inherit external-link-background-visited: inherit external-link-foreground: #268bd2 -external-link-foreground-hover: +external-link-foreground-hover: #1d669c external-link-foreground-visited: #268bd2 footnote-target-background: #073642 foreground: #839496 @@ -56,6 +56,7 @@ modal-footer-background: #073642 modal-footer-border: #586e75 modal-header-border: #586e75 muted-foreground: #93a1a1 +network-activity-foreground: <> notification-background: #002b36 notification-border: #586e75 page-background: #073642 @@ -81,10 +82,10 @@ sidebar-tab-foreground-selected: #93a1a1 sidebar-tiddler-link-foreground: #2aa198 sidebar-tiddler-link-foreground-hover: #eee8d5 site-title-foreground: #d33682 -stability-deprecated: #dc322f -stability-experimental: #b58900 -stability-legacy: #268bd2 -stability-stable: #859900 +stability-deprecated: #aa1a9f +stability-experimental: #806000 +stability-legacy: #1d669c +stability-stable: #00df11 static-alert-foreground: #93a1a1 tab-background: #073642 tab-background-selected: #002b36 @@ -126,4 +127,4 @@ toolbar-new-button: #839496 toolbar-options-button: #839496 toolbar-save-button: inherit untagged-background: #586e75 -very-muted-foreground: #586e75 +very-muted-foreground: #586e75 \ No newline at end of file From a3b8c7c5868c7ff4e4e003a27ff430718de964db Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Mon, 9 Jun 2025 15:12:49 +0200 Subject: [PATCH 05/33] nord palette, improved accessibility contrast, make editor border visible (#9016) * nord palette, improved accessibility contrast, make editor border visible * revert download-background --- core/palettes/Nord.tid | 47 +++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/core/palettes/Nord.tid b/core/palettes/Nord.tid index 8143d44f5..b662c2bfa 100644 --- a/core/palettes/Nord.tid +++ b/core/palettes/Nord.tid @@ -7,15 +7,15 @@ type: application/x-tiddler-dictionary license: MIT, arcticicestudio, https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md alert-background: #D08770 -alert-border: #D08770 -alert-highlight: #B48EAD -alert-muted-foreground: #4C566A +alert-border: <> +alert-highlight: #a3436f +alert-muted-foreground: #495367 background: #3b4252 blockquote-bar: <> button-foreground: <> code-background: #2E3440 code-border: #2E3440 -code-foreground: #BF616A +code-foreground: #c7747c diff-delete-background: #BF616A diff-delete-foreground: <> diff-equal-background: @@ -48,31 +48,32 @@ menubar-background: #2E3440 menubar-foreground: #d8dee9 message-background: #2E3440 message-border: #2E3440 -message-foreground: #547599 -modal-backdrop: <> +message-foreground: #6485aa +modal-backdrop: #435678 modal-background: <> modal-border: #3b4252 modal-footer-background: #3b4252 modal-footer-border: #3b4252 modal-header-border: #3b4252 -muted-foreground: #4C566A +muted-foreground: #687693 +network-activity-foreground: <> notification-background: <> notification-border: #EBCB8B page-background: #2e3440 pre-background: #2E3440 pre-border: #2E3440 -primary: #5E81AC +primary: #7b98bb select-tag-background: #3b4252 select-tag-foreground: <> -selection-background: #5E81AC +selection-background: #52749e selection-foreground: <> sidebar-button-foreground: <> sidebar-controls-foreground-hover: #D8DEE9 -sidebar-controls-foreground: #4C566A +sidebar-controls-foreground: #5e6a84 sidebar-foreground-shadow: transparent sidebar-foreground: #D8DEE9 -sidebar-muted-foreground-hover: #4C566A -sidebar-muted-foreground: #4C566A +sidebar-muted-foreground-hover: #9fa8bb +sidebar-muted-foreground: #6c7b97 sidebar-tab-background-selected: #ECEFF4 sidebar-tab-background: #4C566A sidebar-tab-border-selected: <> @@ -83,17 +84,17 @@ sidebar-tab-foreground: <> sidebar-tiddler-link-foreground-hover: #A3BE8C sidebar-tiddler-link-foreground: #81A1C1 site-title-foreground: <> -stability-deprecated: #bf616a -stability-experimental: #d08770 -stability-legacy: #88c0d0 -stability-stable: #a3be8c +stability-deprecated: #ff595e +stability-experimental: #f29d00 +stability-legacy: #2ddbca +stability-stable: #04ff04 static-alert-foreground: #B48EAD tab-background-selected: #ECEFF4 tab-background: #4C566A tab-border-selected: #4C566A -tab-border: #4C566A +tab-border: #5c6883 tab-divider: #4C566A -tab-foreground-selected: #4C566A +tab-foreground-selected: #6c7a97 tab-foreground: #D8DEE9 table-border: #4C566A table-footer-background: #2e3440 @@ -105,18 +106,18 @@ tiddler-background: <> tiddler-border: <> tiddler-controls-foreground-hover: tiddler-controls-foreground-selected: #EBCB8B -tiddler-controls-foreground: #4C566A +tiddler-controls-foreground: #5e6a84 tiddler-editor-background: #2e3440 tiddler-editor-border-image: #2e3440 -tiddler-editor-border: #3b4252 +tiddler-editor-border: #232732 tiddler-editor-fields-even: #2e3440 -tiddler-editor-fields-odd: #2e3440 +tiddler-editor-fields-odd: #424a5b tiddler-info-background: #2e3440 tiddler-info-border: #2e3440 tiddler-info-tab-background: #2e3440 tiddler-link-background: <> tiddler-link-foreground: <> -tiddler-subtitle-foreground: #4C566A +tiddler-subtitle-foreground: #5c6881 tiddler-title-foreground: #81A1C1 toolbar-new-button: toolbar-options-button: @@ -139,4 +140,4 @@ wikilist-button-open-hover: #A3BE8C wikilist-button-reveal: #81A1C1 wikilist-button-reveal-hover: #81A1C1 wikilist-button-remove: #B48EAD -wikilist-button-remove-hover: #B48EAD +wikilist-button-remove-hover: #B48EAD \ No newline at end of file From dae6ae85ca84c029da9b5c52b643a2bb3035a2bf Mon Sep 17 00:00:00 2001 From: s793016 Date: Wed, 11 Jun 2025 04:43:23 +0800 Subject: [PATCH 06/33] Add CLA signature for s793016 (#9089) --- licenses/cla-individual.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index 28ebe9d1f..7e6f98a62 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -616,4 +616,6 @@ Galen Huntington, @galenhuntington, 2025/01/19 Matthew Salmon, @matthewsalmon, 2025/04/24 -@jbaldus, 2025/05/28 \ No newline at end of file +@jbaldus, 2025/05/28 + +Wu Peiyuan, @s793016, 2025/06/10 From e1d6b4863cb57e53356a21c6458fe208ca00a101 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Tue, 10 Jun 2025 22:46:15 +0200 Subject: [PATCH 07/33] ContrastDark, values resolvable, general improved contrast (#9009) --- core/palettes/ContrastDark.tid | 59 ++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/core/palettes/ContrastDark.tid b/core/palettes/ContrastDark.tid index ad2c5dbad..cb40e015b 100644 --- a/core/palettes/ContrastDark.tid +++ b/core/palettes/ContrastDark.tid @@ -5,11 +5,11 @@ description: High contrast and unambiguous (dark version) tags: $:/tags/Palette type: application/x-tiddler-dictionary -alert-background: #f00 +alert-background: #ff0000 alert-border: <> alert-highlight: <> -alert-muted-foreground: #800 -background: #000 +alert-muted-foreground: #880000 +background: #000000 blockquote-bar: <> button-background: <> button-foreground: <> @@ -17,24 +17,24 @@ button-border: <> code-background: <> code-border: <> code-foreground: <> -dirty-indicator: #f00 -download-background: #080 +dirty-indicator: #ff0000 +download-background: #48ff48 download-foreground: <> dragger-background: <> dragger-foreground: <> dropdown-background: <> dropdown-border: <> -dropdown-tab-background-selected: <> -dropdown-tab-background: <> -dropzone-background: rgba(0,200,0,0.7) +dropdown-tab-background-selected: #868686 +dropdown-tab-background: #515151 +dropzone-background: #1aff1a external-link-background-hover: inherit external-link-background-visited: inherit external-link-background: inherit external-link-foreground-hover: inherit -external-link-foreground-visited: #00a -external-link-foreground: #00e +external-link-foreground-visited: #5353ff +external-link-foreground: #9595ff footnote-target-background: #4c4c4c -foreground: #fff +foreground: #ffffff highlight-background: #ffff00 highlight-foreground: #000000 message-background: <> @@ -52,11 +52,11 @@ notification-border: <> page-background: <> pre-background: <> pre-border: <> -primary: #00f +primary: #8a8aff select-tag-background: select-tag-foreground: sidebar-button-foreground: <> -sidebar-controls-foreground-hover: <> +sidebar-controls-foreground-hover: #ffff00 sidebar-controls-foreground: <> sidebar-foreground-shadow: rgba(0,0,0, 0) sidebar-foreground: <> @@ -72,6 +72,10 @@ sidebar-tab-foreground: <> sidebar-tiddler-link-foreground-hover: <> sidebar-tiddler-link-foreground: <> site-title-foreground: <> +stability-stable: #00f400 +stability-experimental: #ffaf1c +stability-deprecated: #ff2b2b +stability-legacy: #ceceff static-alert-foreground: #aaaaaa tab-background-selected: <> tab-background: <> @@ -81,15 +85,15 @@ tab-divider: <> tab-foreground-selected: <> tab-foreground: <> table-border: #dddddd -table-footer-background: #a8a8a8 -table-header-background: #f0f0f0 -tag-background: #fff -tag-foreground: #000 +table-footer-background: #444444 +table-header-background: #444444 +tag-background: #ffffff +tag-foreground: #000000 testcase-accent-level-1: #144a8c tiddler-background: <> tiddler-border: <> tiddler-controls-foreground-hover: #ddd -tiddler-controls-foreground-selected: #fdd +tiddler-controls-foreground-selected: #ae0000 tiddler-controls-foreground: <> tiddler-editor-background: <> tiddler-editor-border-image: <> @@ -103,14 +107,15 @@ tiddler-link-background: <> tiddler-link-foreground: <> tiddler-subtitle-foreground: <> tiddler-title-foreground: <> -toolbar-new-button: -toolbar-options-button: -toolbar-save-button: -toolbar-info-button: -toolbar-edit-button: -toolbar-close-button: -toolbar-delete-button: -toolbar-cancel-button: -toolbar-done-button: +toolbar-new-button: +toolbar-options-button: +toolbar-save-button: +toolbar-info-button: +toolbar-edit-button: +toolbar-close-button: +toolbar-delete-button: +toolbar-cancel-button: +toolbar-done-button: untagged-background: <> very-muted-foreground: #888888 +network-activity-foreground: <> \ No newline at end of file From 75e89a150d147438385ea0f8256d944bca1c6489 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 12 Jun 2025 09:52:10 +0100 Subject: [PATCH 08/33] New tagline for HelloThere See https://talk.tiddlywiki.org/t/lets-brainstorm-a-name-for-the-next-version-of-tiddlywiki/3378/211 --- .../tiddlers/hellothere/HelloThere.tid | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid index bbbec39f0..511b63818 100644 --- a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +++ b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid @@ -6,7 +6,27 @@ tags: Welcome title: HelloThere type: text/vnd.tiddlywiki -!!.tc-hero-heading ''Welcome to TiddlyWiki, a unique [[non-linear|Philosophy of Tiddlers]] notebook for [[capturing|Creating and editing tiddlers]], [[organising|Structuring TiddlyWiki]] and [[sharing|Sharing your tiddlers with others]] complex information'' +

+Make More of Your Notes with ~TiddlyWiki +

+ +

+''Welcome to TiddlyWiki, a unique [[non-linear|Philosophy of Tiddlers]] notebook for [[capturing|Creating and editing tiddlers]], [[organising|Structuring TiddlyWiki]] and [[sharing|Sharing your tiddlers with others]] complex information'' +

Use it to keep your [[to-do list|TaskManagementExample]], to plan an [[essay or novel|"TiddlyWiki for Scholars" by Alberto Molina]], or to organise your wedding. Record every thought that crosses your brain, or build a flexible and responsive website. From cc1a01c08f4ac76321475c4bb39a12eb0f475669 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 16 Jun 2025 11:36:57 +0100 Subject: [PATCH 09/33] Update release note --- editions/prerelease/tiddlers/Release 5.3.7.tid | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/editions/prerelease/tiddlers/Release 5.3.7.tid b/editions/prerelease/tiddlers/Release 5.3.7.tid index 02e42fc1f..5a82d2a44 100644 --- a/editions/prerelease/tiddlers/Release 5.3.7.tid +++ b/editions/prerelease/tiddlers/Release 5.3.7.tid @@ -23,7 +23,8 @@ description: Under development ! Widget Improvements -* +* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8816">> 'disabled' attribute to SelectWidget and BrowseWidget +* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8819">> 'tabindex' attribute to BrowseWidget, RangeWidget, CheckboxWidget and RadioWidget ! Filter Improvements @@ -32,19 +33,27 @@ description: Under development ! Usability Improvements * <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8783"> (and <<.link-badge-here "https://github.com/TiddlyWiki/TiddlyWiki5/commit/028c80782d105beb90f5d58a7f22e865c7e8c6f4">>) [[Hidden Setting: Default Type for Missing Tiddlers]] +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8837">> [[incorrect|https://localizejs.com/articles/why-using-flag-icons-can-confuse-your-users/]] use of national flags to represent languages +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8078">> vertical spacing of sidebar "Tools" tab when displayed in the story river, and add some utility CSS classes + +! Palette Improvements + * <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8661">> DiffTextWidget colours to several core palettes * <<.link-badge-improved "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8807">> (and <<.link-badge-here "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8911">>) Flexoki palette with additional colours -* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8837">> [[incorrect|https://localizejs.com/articles/why-using-flag-icons-can-confuse-your-users/]] use of national flags to represent languages +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9007">> Vanilla palette with resolvable #RRGGBB values +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9053">> test case palette entries to the remaining core palettes +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9020">> (and <<.link-badge-here "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9020">>) ~SolarizedLight and ~SolarizedDark palettes to improve readability of stability badges and the download button +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9016">> Nord palette to improve accessibility and make the editor border visible +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9009">> ~ContrastDark palette to improve accessibility ! Hackability Improvements * <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8768">> several macros such as [[colour-picker Macro]], [[dumpvariables Macro]], [[image-picker Macro]], [[translink Macro]], [[tree Macro]] and [[list-links-draggable Macro]] to use the newer syntax * <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8780">> rendered plain text template to support more languages -* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8816">> 'disabled' attribute to SelectWidget and BrowseWidget -* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8819">> 'tabindex' attribute to BrowseWidget, RangeWidget, CheckboxWidget and RadioWidget * <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8821">> the editor link dropdown to use newer syntax * <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8911">> support for images in AVIF format * <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8912">> support for custom MIME types to the [[WidgetMessage: tm-copy-to-clipboard]] +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9076">> a CSS class to the import table ! Bug Fixes @@ -71,6 +80,7 @@ description: Under development * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9026">> some download file types not being specified * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9032">> configuration filter in $:/AdvancedSearch "Standard" tab * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/9025">> stringification of derived fields for [[tiddlywiki.files Files]] +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8739">> broken tag pill styling in edit mode after v5.3.3 ! Node.js Improvements From ee55ab636b886f9d2a022118c12ccce0261e00ac Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 17 Jun 2025 09:56:59 +0100 Subject: [PATCH 10/33] Update HelloThere tagline --- editions/tw5.com/tiddlers/hellothere/HelloThere.tid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid index 511b63818..e290a9074 100644 --- a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +++ b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid @@ -15,9 +15,9 @@ style=" text-align: center; border-radius: 0.5em; box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5; - background-image: linear-gradient(90deg, rgb(224, 63, 34), rgb(255, 133, 133), rgb(224, 63, 34)); + background-image: linear-gradient(90deg, rgb(34, 132, 224), rgb(95, 174, 248), rgb(34, 132, 224)); "> -Make More of Your Notes with ~TiddlyWiki +Make Something of Your Notes

-''Welcome to TiddlyWiki, a unique [[non-linear|Philosophy of Tiddlers]] notebook for [[capturing|Creating and editing tiddlers]], [[organising|Structuring TiddlyWiki]] and [[sharing|Sharing your tiddlers with others]] complex information'' +Welcome to TiddlyWiki, a unique [[non-linear|Philosophy of Tiddlers]] notebook for [[capturing|Creating and editing tiddlers]], [[organising|Structuring TiddlyWiki]] and [[sharing|Sharing your tiddlers with others]] complex information

Use it to keep your [[to-do list|TaskManagementExample]], to plan an [[essay or novel|"TiddlyWiki for Scholars" by Alberto Molina]], or to organise your wedding. Record every thought that crosses your brain, or build a flexible and responsive website. From 7a93126b1ef45fae08d5d7260fae385df719137b Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 17 Jun 2025 16:00:59 +0100 Subject: [PATCH 11/33] Revert #8912 and #8916 See https://github.com/TiddlyWiki/TiddlyWiki5/issues/9081#issuecomment-2973372994 --- core/modules/startup/rootwidget.js | 5 ++--- core/modules/utils/dom/dom.js | 15 ++++----------- core/wiki/macros/copy-to-clipboard.tid | 18 ++++++++---------- .../macros/copy-to-clipboard Macro.tid | 6 +----- .../copy-to-clipboard Macro (Examples).tid | 10 ++-------- .../WidgetMessage_ tm-copy-to-clipboard.tid | 4 +--- 6 files changed, 18 insertions(+), 40 deletions(-) diff --git a/core/modules/startup/rootwidget.js b/core/modules/startup/rootwidget.js index b30e03e7b..30a6c960c 100644 --- a/core/modules/startup/rootwidget.js +++ b/core/modules/startup/rootwidget.js @@ -74,9 +74,8 @@ exports.startup = function() { $tw.rootWidget.addEventListener("tm-copy-to-clipboard",function(event) { $tw.utils.copyToClipboard(event.param,{ successNotification: event.paramObject && event.paramObject.successNotification, - failureNotification: event.paramObject && event.paramObject.failureNotification, - plainText: event.paramObject && event.paramObject.plainText - },event.paramObject && event.paramObject.type); + failureNotification: event.paramObject && event.paramObject.failureNotification + }); }); // Install the tm-focus-selector message $tw.rootWidget.addEventListener("tm-focus-selector",function(event) { diff --git a/core/modules/utils/dom/dom.js b/core/modules/utils/dom/dom.js index a5b14ff78..849c5a88b 100644 --- a/core/modules/utils/dom/dom.js +++ b/core/modules/utils/dom/dom.js @@ -265,10 +265,9 @@ exports.copyStyles = function(srcDomNode,dstDomNode) { /* Copy plain text to the clipboard on browsers that support it */ -exports.copyToClipboard = function(text,options,type) { - var text = text || ""; - var options = options || {}; - var type = type || "text/plain"; +exports.copyToClipboard = function(text,options) { + options = options || {}; + text = text || ""; var textArea = document.createElement("textarea"); textArea.style.position = "fixed"; textArea.style.top = 0; @@ -281,16 +280,10 @@ exports.copyToClipboard = function(text,options,type) { textArea.style.outline = "none"; textArea.style.boxShadow = "none"; textArea.style.background = "transparent"; + textArea.value = text; document.body.appendChild(textArea); textArea.select(); textArea.setSelectionRange(0,text.length); - textArea.addEventListener("copy",function(event) { - event.preventDefault(); - if (options.plainText) { - event.clipboardData.setData("text/plain",options.plainText); - } - event.clipboardData.setData(type,text); - }); var succeeded = false; try { succeeded = document.execCommand("copy"); diff --git a/core/wiki/macros/copy-to-clipboard.tid b/core/wiki/macros/copy-to-clipboard.tid index f299cf955..d05d014e2 100644 --- a/core/wiki/macros/copy-to-clipboard.tid +++ b/core/wiki/macros/copy-to-clipboard.tid @@ -3,11 +3,9 @@ tags: $:/tags/Macro \whitespace trim -\procedure copy-to-clipboard(src,class:"tc-btn-invisible",style,type:"text/plain",plain) -\procedure copy-to-clipboard-actions() -<$action-sendmessage $message="tm-copy-to-clipboard" $param=<> type=<> plainText=<>/> -\end copy-to-clipboard-actions -<$button actions=<> +\procedure copy-to-clipboard(src,class:"tc-btn-invisible",style) +<$button message="tm-copy-to-clipboard" + param=<> class=<> style=<