1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 06:14:53 +00:00
TiddlyWiki5/core/ui/EditTemplate
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
..
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 Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
controls.tid Yet more fixing for the Firefox jumping toolbar problem... 2014-10-10 20:32:12 +01:00
fieldEditor-default.tid Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
fields.tid Add a cascade for rendering fields within the Edit Template (#6511) 2022-03-17 17:06:24 +00:00
shadow.tid fix broken template: core/ui/EditTemplate/shadow 2015-11-25 15:22:15 +01:00
tags.tid Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
title.tid Display tiddler link in 'Target tiddler already exists' warning (#5672) 2021-05-06 12:25:29 +01:00
type.tid Edit type dropdown: Add whitespace between description and MIME type 2021-12-08 21:25:44 +00:00