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:
BurningTreeC 2018-03-06 13:44:42 +01:00 committed by Jeremy Ruston
parent 634eb222ca
commit 540cd1a286
4 changed files with 37 additions and 1 deletions

View File

@ -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

View 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="]]"
/>

View 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="}}"
/>

View File

@ -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
Underline/Hint: Ausgewählten Text unterstrichen darstellen