mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Add info about tc-tiddlylink-shadow tc-tiddlylink-resolves
to the LinkWidget (#8454)
This commit is contained in:
parent
077a747b6e
commit
4acf7a580f
@ -1,6 +1,6 @@
|
|||||||
caption: link
|
caption: link
|
||||||
created: 20131024141900000
|
created: 20131024141900000
|
||||||
modified: 20231113093304323
|
modified: 20240730065043721
|
||||||
tags: Widgets
|
tags: Widgets
|
||||||
title: LinkWidget
|
title: LinkWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -69,11 +69,13 @@ This causes the tooltip to be the ''tooltip'' field of the target tiddler. If th
|
|||||||
|
|
||||||
The link widget automatically determines and applies the following classes to links:
|
The link widget automatically determines and applies the following classes to links:
|
||||||
|
|
||||||
* `tc-tiddlylink` - applied to all links
|
* `tc-tiddlylink` - applied to ''all'' links
|
||||||
* `tc-tiddlylink-external` - applied to external, non-tiddler links
|
* `tc-tiddlylink-external` - applied to external, non-tiddler links
|
||||||
* `tc-tiddlylink-internal` - applied to tiddler links
|
* `tc-tiddlylink-internal` - applied to tiddler links
|
||||||
* `tc-tiddlylink-missing` - applied to tiddler links where the target tiddler doesn't exist
|
* `tc-tiddlylink-missing` - applied to tiddler links where the target tiddler doesn't exist
|
||||||
* `tc-tiddlylink-resolves` - applied to tiddler links when the target tiddler does exist
|
* `tc-tiddlylink-resolves` - applied to tiddler links when the target tiddler does exist
|
||||||
|
* `tc-tiddlylink-shadow` - applied to tiddler links when the target is a shadow tiddler
|
||||||
|
** `tc-tiddlylink-shadow tc-tiddlylink-resolves` - applied to ''overwritten'' shadow tiddlers
|
||||||
|
|
||||||
Use the `class` attribute to specify additional css classes, or `overrideClass` to apply only that but not the above defaults, e.g. when used in a LinkCatcherWidget:
|
Use the `class` attribute to specify additional css classes, or `overrideClass` to apply only that but not the above defaults, e.g. when used in a LinkCatcherWidget:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user