mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-27 14:48:19 +00:00
b529e69289
* 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 |
||
---|---|---|
.. | ||
Cascades.tid | ||
ColourPalettes.tid | ||
Concepts.tid | ||
Current Tiddler.tid | ||
Customizing EditTemplate Field Rendering.tid | ||
DataTiddlers.tid | ||
Date Fields.tid | ||
DefaultTiddlers.tid | ||
DictionaryTiddlers.tid | ||
Dominant Append.tid | ||
Edit Template Body Cascade.tid | ||
ExternalImages.tid | ||
Field Editor Cascade.tid | ||
Filters.tid | ||
Hard and Soft Links.tid | ||
InfoPanel.tid | ||
JSONTiddlers.tid | ||
KeyboardShortcutTiddler.tid | ||
Macros.tid | ||
Messages.tid | ||
Modules.tid | ||
ModuleType.tid | ||
Order of Tagged Tiddlers.tid | ||
PermaLinks.tid | ||
Pragma.tid | ||
Railroad Diagrams.tid | ||
Selection Constructors.tid | ||
ShadowTiddlers.tid | ||
Story River.tid | ||
Story Tiddler Template Cascade.tid | ||
Story Tiddler Template.tid | ||
SystemTags.tid | ||
SystemTiddlers.tid | ||
TagTiddlers.tid | ||
TemplateTiddlers.tid | ||
TextReference.tid | ||
Tiddler Colour Cascade.tid | ||
Tiddler Icon Cascade.tid | ||
TiddlerFields.tid | ||
TiddlerLinks.tid | ||
Tiddlers.tid | ||
TiddlyWiki5.tid | ||
TiddlyWiki.tid | ||
TiddlyWikiFolders.tid | ||
Title List.tid | ||
Title Selection.tid | ||
Transclusion.tid | ||
View Template Body Cascade.tid | ||
View Template Title Cascade.tid | ||
Wiki.tid | ||
WikiText.tid |