1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-01 08:03:00 +00:00

Introduce text editor toolbar (#2315)

Tada!
This commit is contained in:
Jeremy Ruston
2016-04-22 08:36:29 +01:00
parent 4dd701c2dd
commit 2adf09129d
234 changed files with 3899 additions and 999 deletions

View File

@@ -62,6 +62,10 @@ NewJournal/Caption: new journal
NewJournal/Hint: Create a new journal tiddler
NewJournalHere/Caption: new journal here
NewJournalHere/Hint: Create a new journal tiddler tagged with this one
NewImage/Caption: new image
NewImage/Hint: Create a new image tiddler
NewMarkdown/Caption: new Markdown tiddler
NewMarkdown/Hint: Create a new Markdown tiddler
NewTiddler/Caption: new tiddler
NewTiddler/Hint: Create a new tiddler
OpenWindow/Caption: open in new window
@@ -88,3 +92,81 @@ TagManager/Caption: tag manager
TagManager/Hint: Open tag manager
Theme/Caption: theme
Theme/Hint: Choose the display theme
Bold/Caption: bold
Bold/Hint: Apply bold formatting to selection
Clear/Caption: clear
Clear/Hint: Clear image to solid colour
EditorHeight/Caption: editor height
EditorHeight/Caption/Auto: Automatically adjust height to fit content
EditorHeight/Caption/Fixed: Fixed height:
EditorHeight/Hint: Choose the height of the text editor
Excise/Caption: excise
Excise/Caption/Excise: Perform excision
Excise/Caption/MacroName: Macro name:
Excise/Caption/NewTitle: Title of new tiddler:
Excise/Caption/Replace: Replace excised text with:
Excise/Caption/Replace/Macro: macro
Excise/Caption/Replace/Link: link
Excise/Caption/Replace/Transclusion: transclusion
Excise/Caption/Tag: Tag new tiddler with the title of this tiddler
Excise/Caption/TiddlerExists: Warning: tiddler already exists
Excise/Hint: Excise the selected text into a new tiddler
Heading1/Caption: heading 1
Heading1/Hint: Apply heading level 1 formatting to lines containing selection
Heading2/Caption: heading 2
Heading2/Hint: Apply heading level 2 formatting to lines containing selection
Heading3/Caption: heading 3
Heading3/Hint: Apply heading level 3 formatting to lines containing selection
Heading4/Caption: heading 4
Heading4/Hint: Apply heading level 4 formatting to lines containing selection
Heading5/Caption: heading 5
Heading5/Hint: Apply heading level 5 formatting to lines containing selection
Heading6/Caption: heading 6
Heading6/Hint: Apply heading level 6 formatting to lines containing selection
Italic/Caption: italic
Italic/Hint: Apply italic formatting to selection
LineWidth/Caption: line width
LineWidth/Hint: Set line width for painting
ListBullet/Caption: bulleted list
ListBullet/Hint: Apply bulleted list formatting to lines containing selection
ListNumber/Caption: numbered list
ListNumber/Hint: Apply numbered list formatting to lines containing selection
MonoBlock/Caption: monospaced block
MonoBlock/Hint: Apply monospaced block formatting to lines containing selection
MonoLine/Caption: monospaced
MonoLine/Hint: Apply monospaced character formatting to selection
Opacity/Caption: opacity
Opacity/Hint: Set painting opacity
Paint/Caption: paint colour
Paint/Hint: Set painting colour
Picture/Caption: picture
Picture/Hint: Insert picture
Preview/Caption: preview
Preview/Hint: Show preview pane
PreviewType/Caption: preview type
PreviewType/Hint: Choose preview type
Quote/Caption: quote
Quote/Hint: Apply quoted text formatting to lines containing selection
Redo/Caption: redo
Redo/Hint: Redo the last action to be undone
Size/Caption: image size
Size/Caption/Height: Height:
Size/Caption/Resize: Resize image
Size/Caption/Width: Width:
Size/Hint: Set image size
Stamp/Caption: stamp
Stamp/Caption/New: Add your own
Stamp/Hint: Insert a preconfigured snippet of text
Stamp/New/Title: Name as shown in menu
Stamp/New/Text: Text of snippet. (Remember to add a descriptive title in the caption field).
Strikethrough/Caption: strikethrough
Strikethrough/Hint: Apply strikethrough formatting to selection
Subscript/Caption: subscript
Subscript/Hint: Apply subscript formatting to selection
Superscript/Caption: superscript
Superscript/Hint: Apply superscript formatting to selection
Underline/Caption: underline
Underline/Hint: Apply underline formatting to selection
Undo/Caption: undo
Undo/Hint: Undo the last action

View File

@@ -27,6 +27,19 @@ EditorTypes/Hint: These tiddlers determine which editor is used to edit specific
EditorTypes/Type/Caption: Type
Info/Caption: Info
Info/Hint: Information about this TiddlyWiki
KeyboardShortcuts/Add/Prompt: Type shortcut here
KeyboardShortcuts/Add/Caption: add shortcut
KeyboardShortcuts/Caption: Keyboard Shortcuts
KeyboardShortcuts/Hint: Manage keyboard shortcut assignments
KeyboardShortcuts/NoShortcuts/Caption: No keyboard shortcuts assigned
KeyboardShortcuts/Remove/Hint: remove keyboard shortcut
KeyboardShortcuts/Platform/All: All platforms
KeyboardShortcuts/Platform/Mac: Macintosh platform only
KeyboardShortcuts/Platform/NonMac: Non-Macintosh platforms only
KeyboardShortcuts/Platform/Linux: Linux platform only
KeyboardShortcuts/Platform/NonLinux: Non-Linux platforms only
KeyboardShortcuts/Platform/Windows: Windows platform only
KeyboardShortcuts/Platform/NonWindows: Non-Windows platforms only
LoadedModules/Caption: Loaded Modules
LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
Palette/Caption: Palette
@@ -136,6 +149,8 @@ Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in ed
Toolbars/Hint: Select which toolbar buttons are displayed
Toolbars/PageControls/Caption: Page Toolbar
Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar
Toolbars/EditorToolbar/Caption: Editor Toolbar
Toolbars/EditorToolbar/Hint: Choose which buttons are displayed in the editor toolbar. Note that some buttons will only appear when editing tiddlers of a certain type
Toolbars/ViewToolbar/Caption: View Toolbar
Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode
Tools/Download/Full/Caption: Download full wiki

View File

@@ -1,11 +1,7 @@
title: $:/language/EditTemplate/
Body/External/Hint: This is an external tiddler stored outside of the main TiddlyWiki file. You can edit the tags and fields but cannot directly edit the content itself
Body/Hint: Use [[wiki text|http://tiddlywiki.com/static/WikiText.html]] to add formatting, images, and dynamic features
Body/Placeholder: Type the text for this tiddler
Body/Preview/Button/Hide: hide preview
Body/Preview/Button/Show: show preview
Body/Preview/Type: preview type:
Body/Preview/Type/Output: output
Field/Remove/Caption: remove field
Field/Remove/Hint: Remove field

View File

@@ -11,7 +11,7 @@ Before you start storing important information in ~TiddlyWiki it is important to
|<$link to="$:/SiteTitle"><<lingo Title/Prompt>></$link> |<$edit-text tiddler="$:/SiteTitle" default="" tag="input"/> |
|<$link to="$:/SiteSubtitle"><<lingo Subtitle/Prompt>></$link> |<$edit-text tiddler="$:/SiteSubtitle" default="" tag="input"/> |
|<$link to="$:/DefaultTiddlers"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/><br>//<<lingo DefaultTiddlers/BottomHint>>// |
|<$link to="$:/DefaultTiddlers"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit tag="textarea" tiddler="$:/DefaultTiddlers"/><br>//<<lingo DefaultTiddlers/BottomHint>>// |
</div>
See the [[control panel|$:/ControlPanel]] for more options.

View File

@@ -5,6 +5,7 @@ BinaryWarning/Prompt: This tiddler contains binary data
ClassicWarning/Hint: This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See http://tiddlywiki.com/static/Upgrading.html for more details.
ClassicWarning/Upgrade/Caption: upgrade
CloseAll/Button: close all
ColourPicker/Recent: Recent:
ConfirmCancelTiddler: Do you wish to discard changes to the tiddler "<$text text=<<title>>/>"?
ConfirmDeleteTiddler: Do you wish to delete the tiddler "<$text text=<<title>>/>"?
ConfirmOverwriteTiddler: Do you wish to overwrite the tiddler "<$text text=<<title>>/>"?

View File

@@ -0,0 +1,6 @@
title: $:/language/Snippets/ListByTag
tags: $:/tags/TextEditor/Snippet
caption: List of tiddlers by tag
mode: wikified
<<list-links "[tag[task]sort[title]]">>

View File

@@ -0,0 +1,8 @@
title: $:/language/Snippets/MacroDefinition
tags: $:/tags/TextEditor/Snippet
caption: Macro definition
mode: wikified
\define macroName(param1:"default value",param2)
Text of the macro
\end

View File

@@ -0,0 +1,9 @@
title: $:/language/Snippets/Table4x3
tags: $:/tags/TextEditor/Snippet
caption: Table with 4 columns by 3 rows
mode: wikified
|! |!Alpha |!Beta |!Gamma |!Delta |
|!One | | | | |
|!Two | | | | |
|!Three | | | | |

View File

@@ -0,0 +1,10 @@
title: $:/language/Snippets/TableOfContents
tags: $:/tags/TextEditor/Snippet
caption: Table of Contents
mode: wikified
<div class="tc-table-of-contents">
<<toc-selective-expandable 'TableOfContents'>>
</div>