mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	Text-slicer: reorganise plugin shadow tiddler titles
This commit is contained in:
		| @@ -1,4 +0,0 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/export-full-doc | ||||
| tags: $:/tags/ViewTemplate | ||||
|  | ||||
| <$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/template-tiddler" listItem="item"/> | ||||
							
								
								
									
										4
									
								
								plugins/tiddlywiki/text-slicer/exporters/full-doc.tid
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								plugins/tiddlywiki/text-slicer/exporters/full-doc.tid
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/exporters/full-doc | ||||
| tags: $:/tags/ViewTemplate | ||||
|  | ||||
| <$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/> | ||||
| @@ -5,7 +5,7 @@ tags: $:/tags/Image | ||||
|     <g fill-rule="evenodd" sketch:type="MSPage"> | ||||
|         <path d="M64,0 L118.5596,32 L118.5596,96 L64,128 L9.44039956,96 L9.44039956,32 L64,0 Z" ></path> | ||||
|         <g transform="translate(32.000000, 32.000000) scale(2.19)" fill="#ffffff"> | ||||
|             {{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}} | ||||
|             {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} | ||||
|         </g> | ||||
|     </g> | ||||
| </svg> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/text-slicer-icon | ||||
| title: $:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon | ||||
| tags: $:/tags/Image | ||||
| 
 | ||||
| <svg class="tc-image-text-slicer tc-image-button" width="22pt" height="22pt" viewBox="0 0 128 128"> | ||||
| @@ -1,5 +1,5 @@ | ||||
| /*\ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/slicer.js | ||||
| title: $:/plugins/tiddlywiki/text-slicer/modules/slicer.js | ||||
| type: application/javascript | ||||
| module-type: startup | ||||
| 
 | ||||
| @@ -1,3 +0,0 @@ | ||||
| title: $:/tags/TextSlicerToolbar | ||||
| list: $:/plugins/tiddlywiki/text-slicer/toolbar/title $:/plugins/tiddlywiki/text-slicer/toolbar/tags $:/plugins/tiddlywiki/text-slicer/toolbar/rename $:/plugins/tiddlywiki/text-slicer/toolbar/edit $:/plugins/tiddlywiki/text-slicer/toolbar/cancel $:/plugins/tiddlywiki/text-slicer/toolbar/done | ||||
|  | ||||
| @@ -1,6 +0,0 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/view-document | ||||
|  | ||||
| <$button> | ||||
| <$action-sendmessage $message="tm-open-window" $param=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/export-full-doc"/> | ||||
| View document | ||||
| </$button> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-document | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/document | ||||
| 
 | ||||
| \define config-show-toolbar() | ||||
| $:/config/plugins/tiddlywiki/text-slicer/show-toolbar/$(currentTiddler)$ | ||||
| @@ -21,7 +21,7 @@ $:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$ | ||||
| 
 | ||||
| <$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar</$checkbox> | ||||
| 
 | ||||
| {{||$:/plugins/tiddlywiki/text-slicer/templates/view-document}} | ||||
| {{||$:/plugins/tiddlywiki/text-slicer/ui/view-document-button}} | ||||
| 
 | ||||
| </div> | ||||
| 
 | ||||
| @@ -29,7 +29,7 @@ $:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$ | ||||
| 
 | ||||
| <$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}> | ||||
| 
 | ||||
| <$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/template-tiddler" listItem="item"/> | ||||
| <$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/> | ||||
| 
 | ||||
| </$set> | ||||
| 
 | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-heading | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/heading | ||||
| 
 | ||||
| \define config-heading-status() | ||||
| $(tv-heading-status-config-title)$/$(currentTiddler)$ | ||||
| @@ -27,7 +27,7 @@ $(tv-heading-status-config-title)$/$(currentTiddler)$ | ||||
| <$view field="text"/> | ||||
| </$link> | ||||
| <$reveal type="nomatch" state=<<tv-heading-status-config-title>> text="open" default=<<tv-default-heading-state>>> | ||||
| <$list filter="[tag<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/template-tiddler" listItem="item"/> | ||||
| <$list filter="[tag<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/> | ||||
| </$reveal> | ||||
| </div> | ||||
| </$set> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-item | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/item | ||||
| 
 | ||||
| <$link tag="li" class="tc-document-tiddler-link"> | ||||
| 
 | ||||
| @@ -1,8 +1,8 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-list | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/list | ||||
| 
 | ||||
| \define body(type:"ul") | ||||
| <$type$> | ||||
| <$list filter={{!!text}} template="$:/plugins/tiddlywiki/text-slicer/templates/template-tiddler" listItem="item"/> | ||||
| <$list filter={{!!text}} template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/> | ||||
| </$type$> | ||||
| \end | ||||
| 
 | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-paragraph | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/paragraph | ||||
| 
 | ||||
| <$link tag="div" class="tc-document-tiddler-link"> | ||||
| 
 | ||||
| @@ -1,25 +1,25 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/template-tiddler | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler | ||||
| 
 | ||||
| <$list filter="[<tv-show-toolbar>prefix[yes]]" variable="hasToolbar"> | ||||
| {{||$:/plugins/tiddlywiki/text-slicer/templates/tiddler-toolbar}} | ||||
| {{||$:/plugins/tiddlywiki/text-slicer/ui/toolbar/tiddler-toolbar}} | ||||
| </$list> | ||||
| 
 | ||||
| <$reveal type="match" state="!!toc-type" text="document"> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-document" mode="block"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/document" mode="block"/> | ||||
| </$reveal> | ||||
| 
 | ||||
| <$reveal type="match" state="!!toc-type" text="heading"> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-heading" mode="block"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/heading" mode="block"/> | ||||
| </$reveal> | ||||
| 
 | ||||
| <$reveal type="match" state="!!toc-type" text="paragraph"> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-paragraph" mode="block"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/paragraph" mode="block"/> | ||||
| </$reveal> | ||||
| 
 | ||||
| <$reveal type="match" state="!!toc-type" text="list"> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-list" mode="block"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/list" mode="block"/> | ||||
| </$reveal> | ||||
| 
 | ||||
| <$reveal type="match" state="!!toc-type" text="item"> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-item" mode="block"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/item" mode="block"/> | ||||
| </$reveal> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/preview-column | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/preview-column | ||||
| tags: $:/tags/AboveStory | ||||
| 
 | ||||
| <$scrollable fallthrough="no" class="tc-document-preview-column"> | ||||
| @@ -7,7 +7,7 @@ tags: $:/tags/AboveStory | ||||
| 
 | ||||
| <$set name="tv-show-gadgets" value="yes"> | ||||
| 
 | ||||
| <$list filter="[toc-type[document]!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/template-document"/> | ||||
| <$list filter="[toc-type[document]!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/document"/> | ||||
| 
 | ||||
| </$set> | ||||
| 
 | ||||
| @@ -1,7 +1,7 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/slice-button | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button | ||||
| tags: $:/tags/ViewToolbar | ||||
| list-before: $:/core/ui/Buttons/edit | ||||
| caption: {{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}} Slice tiddler | ||||
| caption: {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} Slice tiddler | ||||
| description: Slice this tiddler by headings and lists | ||||
| 
 | ||||
| \define hint() | ||||
| @@ -10,7 +10,7 @@ Slice this tiddler by headings and lists | ||||
| 
 | ||||
| <$button message="tm-slice-tiddler" param=<<currentTiddler>> tooltip=<<hint>> aria-label=<<hint>> class=<<tv-config-toolbar-class>>> | ||||
| <$list filter="[<tv-config-toolbar-icons>prefix[yes]]"> | ||||
| {{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}} | ||||
| {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} | ||||
| </$list> | ||||
| <$list filter="[<tv-config-toolbar-text>prefix[yes]]"> | ||||
| <span class="tc-btn-text">Slice tiddler</span> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/tiddler-toolbar | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/toolbar/tiddler-toolbar | ||||
| 
 | ||||
| <$list filter="[<tv-show-gadgets>prefix[yes]]" variable="hasToolbar"> | ||||
| <div class="tc-slice-toolbar"> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/toolbar/title | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/toolbar/title | ||||
| tags: $:/tags/TextSlicerToolbar | ||||
| 
 | ||||
| \define renameProxyTitle() | ||||
| @@ -0,0 +1,6 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/view-document-button | ||||
|  | ||||
| <$button> | ||||
| <$action-sendmessage $message="tm-open-window" $param=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/exporters/full-doc"/> | ||||
| View document | ||||
| </$button> | ||||
| @@ -1,4 +1,4 @@ | ||||
| title: $:/plugins/tiddlywiki/text-slicer/templates/view-template-tiddler | ||||
| title: $:/plugins/tiddlywiki/text-slicer/ui/view-template-segment | ||||
| tags: $:/tags/ViewTemplate | ||||
| 
 | ||||
| <$reveal type="nomatch" state="!!toc-type" text=""> | ||||
| @@ -15,7 +15,7 @@ tags: $:/tags/ViewTemplate | ||||
| 
 | ||||
| <$set name="tv-show-gadgets" value="yes"> | ||||
| 
 | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/template-tiddler"/> | ||||
| <$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler"/> | ||||
| 
 | ||||
| </$set> | ||||
| 
 | ||||
		Reference in New Issue
	
	Block a user
	 Jermolene
					Jermolene