From 144ec28552035d1519adfd0edcbd148bcc1d33a5 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 17 Dec 2019 12:01:59 +0000 Subject: [PATCH] Update class settings in edit template to match view template @pmario this adds the tc-tagged- classes to the edit template, do you think that's useful? --- core/ui/EditTemplate.tid | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/ui/EditTemplate.tid b/core/ui/EditTemplate.tid index f3e82fa8f..1d342ef7b 100644 --- a/core/ui/EditTemplate.tid +++ b/core/ui/EditTemplate.tid @@ -8,10 +8,7 @@ title: $:/core/ui/EditTemplate <$action-deletetiddler $tiddler=<>/> <$action-sendmessage $message="tm-save-tiddler"/> \end -\define frame-classes() -tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ -\end -
> data-tiddler-title=<>> +
> data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-edit-frame [is[tiddler]then[tc-tiddler-exists]] [is[missing]!is[shadow]then[tc-tiddler-missing]] [is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [is[system]then[tc-tiddler-system]] [{!!class}] [tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}> <$fieldmangler> <$vars storyTiddler=<> newTagNameTiddler=<> newFieldNameTiddler=<> newFieldValueTiddler=<>> <$keyboard key="((cancel-edit-tiddler))" message="tm-cancel-tiddler">