1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00
TiddlyWiki5/core/wiki
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
..
config Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
macros Support specifying insertbefore position title as parameter (#6477) 2022-02-24 11:08:06 +00:00
tags ViewTemplateBodyCascade: Add support for code-body field 2021-12-09 20:47:51 +00:00
advancedsearch.tid First pass at an advanced search tiddler 2013-12-31 13:11:01 +00:00
allfields.tid Avoid wraping field names in field viewers 2021-12-08 19:29:02 +00:00
currpalettepreview.tid Fix #4755 - Indirect colours not shown in palette switcher (#4757) 2020-07-15 12:23:13 +01:00
debugstylesheets.tid Tweak docs for #6268 2021-11-25 18:00:32 +00:00
DefaultTiddlers.tid Simpler default defaulttiddlers 2014-08-18 10:27:48 +01:00
download-wiki-button.tid Force filenames for downloading empty and full wikis 2014-12-19 15:20:07 +00:00
language.tid Ensure we have a default language in empty.html 2014-08-14 12:00:07 +01:00
languageswitcher.tid Improve styling and reusability of palette, language, and theme switchers (#1954) 2018-04-06 17:26:54 +01:00
minifocusswitcher.tid Fix CamelCase AutoFocus in ControlPanel (#4308) 2019-10-12 15:10:24 +01:00
minilanguageswitcher.tid Use the select widget in the various switchers 2014-05-31 18:38:17 +01:00
minithemeswitcher.tid Remove "advanced" and "appearance" from control panel tab titles 2014-09-03 12:46:22 +01:00
modules.tid First pass at refactoring filter execution 2014-04-03 20:49:16 +01:00
palette.tid First pass at switchable colour palettes 2014-02-17 12:09:10 +00:00
paletteeditor.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
palettepreview.tid Improve styling and reusability of palette, language, and theme switchers (#1954) 2018-04-06 17:26:54 +01:00
paletteswitcher.tid Palette manager: sort palettes by name, not description (#3853) 2019-03-12 09:48:34 +00:00
peek-stylesheets.tid Trim whitespace is stylesheet viewer (#6241) 2021-11-18 08:43:15 +00:00
search.tid Use temporary tiddler for search text 2012-11-11 15:08:46 +00:00
themeswitcher.tid Improve styling and reusability of palette, language, and theme switchers (#1954) 2018-04-06 17:26:54 +01:00
title.tid Remove extra dashes in page title (#5370) 2021-01-05 17:35:26 +00:00
view.tid Retract inadvertant change from previous commit 2014-05-26 22:56:58 +01:00
viewswitcher.tid ViewSwitcher : use Button widget instead of LinkWidget (#5573) 2021-03-29 09:02:47 +01:00