1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 11:00:27 +00:00
TiddlyWiki5/core/ui
FlashSystems b529e69289
Add a cascade for rendering fields within the Edit Template (#6511)
* Allow the rendering of fields to be extended

This commit extends the `$:/core/ui/EditTemplate/fields` tiddler to
use a new cascade (Field Editor Cascade) to allow customizing the
rendering of the field editor.
It provides a default element for the cascade that displays the standard
EditTextWidget as a fallback. That way, the implementation is completely
backwards compatible. The `currentTiddler` and `currentField` variables
are available in the transcluded tiddler. This has the additional
benefit, that not only the `EditTextWidget` can be used. The user can
use a dropdown-list or even something completely crazy. As long as it
can be put into a tiddler that updates the field, it will be fine.

* Make `select` Tags in Fields look like the rest

This patch updates the CSS to make `tc-edit-texteditor` usable on
`select`-tags as well.

I'm not sure what `-webkit-appearance: none;` is for, but it hides the
DropDown-arrow in Chrome and makes the select-tag hard to discover. I've
changed the css to only apply it to the input tag. Maybe it can be
removed altogether.

* Add documentation for the Field Editor Cascade
2022-03-17 17:06:24 +00:00
..
AboveStory Fix tw2-plugin-check warning so that more than one plugin is displayed 2016-09-30 18:27:45 +01:00
Actions Partial fix for issue #4721 (#5060) 2020-11-17 19:08:14 +00:00
AdvancedSearch Make navigating and editing Shadow tiddlers work again (#5004) 2020-11-08 13:26:02 +00:00
Components Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
ControlPanel Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
EditorToolbar Make editor-preview open on a per-tiddler basis (#5998) 2021-10-28 19:17:15 +01:00
EditTemplate Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
EditToolbar Add whitespace trims to EditToolbar Buttons (#5076) 2020-11-19 16:37:36 +00:00
Filters Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
ImportPreviews Fix broken import previews 2018-05-16 17:40:15 +01:00
KeyboardShortcuts Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
Manager Add Pop Storyview to Manager Tags Section (#5034) 2020-11-14 12:32:39 +00:00
MoreSideBar Sort sidebar language, plugin and theme list by name rather than description (#6501) 2022-03-01 09:23:19 +00:00
PageControls Revert some of the UI changes for downloading external-js 2021-09-12 10:48:17 +01:00
PageTemplate Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
SideBar Support specifying insertbefore position title as parameter (#6477) 2022-02-24 11:08:06 +00:00
SideBarSegments Make editTiddler in sidebarsegments/search available as variable (#5218) 2020-12-06 17:15:40 +00:00
TiddlerInfo fix viewtemplate quirks (#5224) 2020-12-07 15:58:28 +00:00
TopRightBar Menubar plugin: make sidebar-scrollable top margin adjust ... (#4974) 2020-11-08 11:50:15 +00:00
ViewTemplate Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
ViewToolbar Fix ViewToolbar items inconsistent spacing (#5473) 2021-05-24 19:24:37 +01:00
AdvancedSearch.tid Update core "tabs" macros to use explicitState (#4985) 2020-11-08 09:31:39 +00:00
AlertTemplate.tid Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
BinaryWarning.tid Add download button/link to binary tiddler warning banners in view and edit mode (#4423) 2020-01-31 09:13:28 +00:00
ControlPanel.tid Update core "tabs" macros to use explicitState (#4985) 2020-11-08 09:31:39 +00:00
DefaultSearchResultList.tid Fix #4826 - Keyboard-driven-inputs clashes with customized search results. (#4875) 2020-10-23 15:58:34 +01:00
EditTemplate.tid Fix #5039 - Tag input, Type input and Fields inputs don't delete their state tiddlers on tiddler-cancel/delete (#5049) 2020-11-16 16:54:29 +00:00
ExportTiddlyWikiCore.tid Revert some of the UI changes for downloading external-js 2021-09-12 10:48:17 +01:00
ImportListing.tid allow us to import formerly blocked system tiddlers (#5479) 2021-05-25 22:21:57 +01:00
LayoutSwitcher.tid Update LayoutSwitcher.tid (#5125) 2020-11-27 21:52:26 +00:00
ListItemTemplate.tid Remove unwanted whitespace from sidebar links (#4552) 2020-04-15 12:35:35 +01:00
ListTaggedCascade.tid Add "cascade" filter run prefix and use it to control view templates (#6168) 2021-11-15 21:06:47 +00:00
Manager.tid Introduce tiddler manager 2016-11-29 08:36:07 +00:00
MissingTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
PageControls.tid Fix currentTiddler in pagecontrol buttons 2019-10-03 12:13:29 +01:00
PageStylesheet.tid Typos missed from a9dd8c2 2018-09-28 18:18:07 +01:00
PageTemplate.tid Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
PaletteManager.tid Fix broken aria-label in $:/PaletteManager (#5397) 2021-01-13 10:18:27 +00:00
PluginInfo.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
PluginInfoDefaultContents.tid Remove unwanted whitespace from sidebar links (#4552) 2020-04-15 12:35:35 +01:00
PluginListItemTemplate.tid Improve sidebar plugin listing 2021-12-07 13:17:15 +00:00
RootTemplate.tid Ensure root template contents is parsed in block mode 2020-11-09 17:08:34 +00:00
SearchResults.tid Fix #4826 - Keyboard-driven-inputs clashes with customized search results. (#4875) 2020-10-23 15:58:34 +01:00
SideBarLists.tid Modularize the sidebar 2018-08-02 13:22:21 +01:00
StoryTiddlerTemplate.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
SwitcherModal.tid Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
TagManager.tid Add "none" as an option in the icon dropdown in tag manager (#4361) 2020-01-30 15:52:33 +00:00
TagPickerTagTemplate.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
TagTemplate.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
TiddlerFields.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerFieldTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerIcon.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
TiddlerInfo.tid Update core "tabs" macros to use explicitState (#4985) 2020-11-08 09:31:39 +00:00
UntaggedTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
ViewTemplate.tid Update view template to use whitespace trim 2021-10-02 17:22:10 +01:00