1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/core/ui/EditTemplate
Jeremy Ruston a350a76a00
Add "cascade" filter run prefix and use it to control view templates (#6168)
* Initial Commit

* Set currentTiddler and ..currentTiddler for filter evaulation

* Precompile the filters for performance

* Add explicit test for empty result when no filter passes

* Use the cascade filter run prefix to choose the view template body template

* Use the cascade mechanism to choose between the edit and view templates

* Simplify cascade filter

Thanks @saqimtiaz

* Add control panel UI for inspecting the template cascades

* Refactor import listing and plugin listing as alternate body templates

As suggested by @pmario

* Refer to $:/core/ui/{View|Edit}Template via their associated config tiddlers

* Fix typo in previous commit

* Add demo of custom story tiddler template

* Tweak control panel wording

* Standardise "Story Tiddler Template" nomenclature

* Add a cascade for the editor template body

* Add a cascade for the view template title

* Avoid unwanted whitespace

* Add a cascade for dynamically choosing tiddler icons
2021-11-15 21:06:47 +00:00
..
body Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
Preview i18n(EditorPreview) translate difference view caption (#5732) 2021-05-30 18:49:57 +01:00
body-editor.tid Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
body-toolbar-button.tid Add support for disabled editor toolbar buttons & docs (#5294) 2021-04-25 16:17:32 +01:00
body.tid Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
controls.tid Yet more fixing for the Firefox jumping toolbar problem... 2014-10-10 20:32:12 +01:00
fields.tid fix 5424 add button is in new line (#5425) 2021-03-26 09:32:12 +00:00
shadow.tid fix broken template: core/ui/EditTemplate/shadow 2015-11-25 15:22:15 +01:00
tags.tid Add tc-small-gap-right to tag-pills in tags editTemplate (#5727) 2021-05-27 14:07:50 +01:00
title.tid Display tiddler link in 'Target tiddler already exists' warning (#5672) 2021-05-06 12:25:29 +01:00
type.tid fix 5424 add button is in new line (#5425) 2021-03-26 09:32:12 +00:00