From 3ea7cd3bf7f296f9033c7d8ab71cb0b022ddbf77 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 25 Jan 2025 11:05:13 +0000 Subject: [PATCH] Palette editors no longer need to manually recompile the palette --- core/palette-templates/TwentyTwentiesEditor.tid | 2 +- core/ui/PaletteManager.tid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/palette-templates/TwentyTwentiesEditor.tid b/core/palette-templates/TwentyTwentiesEditor.tid index 245e2fc51..e58ba239b 100644 --- a/core/palette-templates/TwentyTwentiesEditor.tid +++ b/core/palette-templates/TwentyTwentiesEditor.tid @@ -1,7 +1,7 @@ title: $:/palette-editors/TwentyTwenties \procedure entry(name,description) -<$text text=<>/>: <$edit-text tiddler={{$:/palette}} index=<> type="color" tag="input" default={{{ [function[colour],] }}} inputActions=<>/> +<$text text=<>/>: <$edit-text tiddler={{$:/palette}} index=<> type="color" tag="input" default={{{ [function[colour],] }}}/> \end entry <> diff --git a/core/ui/PaletteManager.tid b/core/ui/PaletteManager.tid index cdc382fb4..ae91d9ccc 100644 --- a/core/ui/PaletteManager.tid +++ b/core/ui/PaletteManager.tid @@ -22,7 +22,7 @@ title: $:/PaletteManager \whitespace trim <$edit-text index=<> tag="input" placeholder=<> default=""/>
-<$edit-text index=<> type="color" tag="input" class="tc-palette-manager-colour-input" inputActions=<>/> +<$edit-text index=<> type="color" tag="input" class="tc-palette-manager-colour-input"/> <$list filter="[getindexremoveprefix[<<]removesuffix[>>]] [getindexremoveprefix[<$]removesuffix[/>]]" variable="ignore"> <$set name="state" value={{{ [[$:/state/palettemanager/]addsuffixaddsuffix[/]addsuffix] }}}> <$wikify name="newColourName" text="""<$macrocall $name="resolve-colour" macrocall={{{ [getindex] }}}/>""">