mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 23:26:18 +00:00
EditorToolbar: add "transclusion" and "wikilink" buttons (#3155)
* add transclusion "image" for editor button * add wikilink "image" for editor button * add wikilink editor toolbar button * add transclusion editor toolbar button * add transclusion/wikilink button styles * add transclusion/wikilink button captions & hints * add german captions/hints * revert styles not needed anymore * update transcludify icon * update linkify icon * update transcludify icon * update german * Update Buttons.multids * Delete wikilink.tid * Delete transclusion.tid
This commit is contained in:
parent
634eb222ca
commit
540cd1a286
@ -141,6 +141,8 @@ LineWidth/Caption: line width
|
||||
LineWidth/Hint: Set line width for painting
|
||||
Link/Caption: link
|
||||
Link/Hint: Create wikitext link
|
||||
Linkify/Caption: wikilink
|
||||
Linkify/Hint: Wrap selection in square brackets
|
||||
ListBullet/Caption: bulleted list
|
||||
ListBullet/Hint: Apply bulleted list formatting to lines containing selection
|
||||
ListNumber/Caption: numbered list
|
||||
@ -177,5 +179,7 @@ Subscript/Caption: subscript
|
||||
Subscript/Hint: Apply subscript formatting to selection
|
||||
Superscript/Caption: superscript
|
||||
Superscript/Hint: Apply superscript formatting to selection
|
||||
Transclusion/Caption: transclusion
|
||||
Transclusion/Hint: Wrap selection in curly brackets
|
||||
Underline/Caption: underline
|
||||
Underline/Hint: Apply underline formatting to selection
|
||||
|
14
core/ui/EditorToolbar/linkify.tid
Normal file
14
core/ui/EditorToolbar/linkify.tid
Normal file
@ -0,0 +1,14 @@
|
||||
caption: {{$:/language/Buttons/Linkify/Caption}}
|
||||
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
||||
description: {{$:/language/Buttons/Linkify/Hint}}
|
||||
icon: $:/core/images/linkify
|
||||
list-before: $:/core/ui/EditorToolbar/mono-block
|
||||
shortcuts: ((linkify))
|
||||
title: $:/core/ui/EditorToolbar/linkify
|
||||
|
||||
<$action-sendmessage
|
||||
$message="tm-edit-text-operation"
|
||||
$param="wrap-selection"
|
||||
prefix="[["
|
||||
suffix="]]"
|
||||
/>
|
14
core/ui/EditorToolbar/transcludify.tid
Normal file
14
core/ui/EditorToolbar/transcludify.tid
Normal file
@ -0,0 +1,14 @@
|
||||
caption: {{$:/language/Buttons/Transcludify/Caption}}
|
||||
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
|
||||
description: {{$:/language/Buttons/Transcludify/Hint}}
|
||||
icon: $:/core/images/transcludify
|
||||
list-before: $:/core/ui/EditorToolbar/mono-block
|
||||
shortcuts: ((transcludify))
|
||||
title: $:/core/ui/EditorToolbar/transcludify
|
||||
|
||||
<$action-sendmessage
|
||||
$message="tm-edit-text-operation"
|
||||
$param="wrap-selection"
|
||||
prefix="{{"
|
||||
suffix="}}"
|
||||
/>
|
@ -139,6 +139,8 @@ LineWidth/Caption: Zeilen Länge
|
||||
LineWidth/Hint: Wählen Sie die Zeilenlänge
|
||||
Link/Caption: Link
|
||||
Link/Hint: Erstellt einen Wiki-Link
|
||||
Linkify/Caption: Wikilink
|
||||
Linkify/Hint: Den selektierten Text in eckige Klammern wickeln
|
||||
ListBullet/Caption: Punkteliste
|
||||
ListBullet/Hint: Zeilen, die eine Markierung enthalten, werden als Punkteliste formatiert
|
||||
ListNumber/Caption: Aufzählungsliste
|
||||
@ -175,5 +177,7 @@ Subscript/Caption: Tiefsgestellt
|
||||
Subscript/Hint: Ausgewählten Text tiefgestellt darstellen
|
||||
Superscript/Caption: Hochgestellt
|
||||
Superscript/Hint: Ausgewählten Text hochgestellt darstellen
|
||||
Transcludify/Caption: Transklusion
|
||||
Transcludify/Hint: Transklusion auf den selektierten Text anwenden
|
||||
Underline/Caption: Unterstreichen
|
||||
Underline/Hint: Ausgewählten Text unterstrichen darstellen
|
Loading…
Reference in New Issue
Block a user