1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
TiddlyWiki5/themes/tiddlywiki/vanilla
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
..
base.tid Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
metrics.multids Introduce fluid story/fixed sidebar mode 2015-05-04 19:19:40 +01:00
options.multids Fix word wrapping in code blocks 2016-04-04 17:27:55 +01:00
plugin.info Add plugin-priority fields for core plugins (#3113) 2018-03-20 21:05:07 +00:00
reset.tid Changed vanilla/reset.tid to be a css file (#6242) 2021-11-18 18:01:13 +00:00
settings.multids Update "Snow White" font-family and font-weight 2021-07-19 12:54:57 +01:00
sticky.tid Use code-body: yes for more templates 2022-02-07 16:53:36 +00:00
ThemeTweaks.tid Make image-picker in theme tweaks not dismiss popup ... (#6015) 2021-10-27 14:13:49 +01:00