-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tag-tiddler to tag-pill drag & drop import, add hidden setting fo…
…r TagPillDragFilter (#8182) * add tag-tiddler to tag-pill drag & drop import, add hidden setting for TagPillDragFilter * update docs to make Be Aware clearer * exclude the tag tiddler and update hidden docs accordingly
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: $:/core/config/TagPillDragFilter | ||
text: [all[current]tagging[]] +[!is[draft]] |
22 changes: 22 additions & 0 deletions
22
editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Tag Pill Drag Filter.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
created: 20240508093242925 | ||
modified: 20240728134955433 | ||
tags: [[Hidden Settings]] | ||
title: Hidden Setting: Tag Pill Drag Filter | ||
type: text/vnd.tiddlywiki | ||
|
||
The ''~$:/core/config/TagPillDragFilter'' defines the filter string, that is used to drag & drop a tap-pill eg: <<tag HelloThere>> from 1 wiki to an other wiki. | ||
|
||
* By default the set contains all tiddlers that are ''tagged:'' HelloThere ''without'' the HelloThere tag-tiddler itself | ||
** Core Default: <code><$transclude $tiddler="$:/core" $subtiddler="$:/core/config/TagPillDragFilter" output="text/plain" /></code> | ||
* If you do want to include the tag-tiddler use the following filter: | ||
** Tagged tiddlers only: `[all[current]tagging[]] [all[current]is[tiddler]] +[!is[draft]]` | ||
|
||
Your $:/core/config/TagPillDragFilter | ||
<%if [[$:/core/config/TagPillDragFilter]is[tiddler]] %> | ||
''has been overwritten'' and contains: | ||
<%else%> | ||
defaults to: | ||
<%endif%> | ||
<code>{{$:/core/config/TagPillDragFilter}}</code> | ||
|
||
<<.note title:"Be Aware" _:"The core default filter does //not// include shadow-tiddlers. It will //include overwritten// shadow tiddlers. See: [[is Operator]] for details about the `is[tiddler]` and other possibilities.">> |