mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-02-14 05:59:48 +00:00
Compare commits
12 Commits
flexoki-pa
...
testing-st
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6db61ac4dd | ||
|
|
6b13614a6a | ||
|
|
c9f816fb53 | ||
|
|
d3cea5d730 | ||
|
|
fb9459a0dd | ||
|
|
98cd4a09b4 | ||
|
|
fa423e508f | ||
|
|
bcae5cc2ef | ||
|
|
6264aa22d0 | ||
|
|
6d05afebc4 | ||
|
|
890b48ce91 | ||
|
|
cd362c78c3 |
@@ -133,6 +133,7 @@ Excise/Caption/Replace/Link: link
|
|||||||
Excise/Caption/Replace/Transclusion: transclusion
|
Excise/Caption/Replace/Transclusion: transclusion
|
||||||
Excise/Caption/Tag: Tag new tiddler with the title of this tiddler
|
Excise/Caption/Tag: Tag new tiddler with the title of this tiddler
|
||||||
Excise/Caption/TiddlerExists: Warning: tiddler already exists
|
Excise/Caption/TiddlerExists: Warning: tiddler already exists
|
||||||
|
Excise/DefaultTitle: New Excision
|
||||||
Excise/Hint: Excise the selected text into a new tiddler
|
Excise/Hint: Excise the selected text into a new tiddler
|
||||||
Heading1/Caption: heading 1
|
Heading1/Caption: heading 1
|
||||||
Heading1/Hint: Apply heading level 1 formatting to lines containing selection
|
Heading1/Hint: Apply heading level 1 formatting to lines containing selection
|
||||||
|
|||||||
@@ -14,11 +14,12 @@ Text editor operation to excise the selection to a new tiddler
|
|||||||
|
|
||||||
exports["excise"] = function(event,operation) {
|
exports["excise"] = function(event,operation) {
|
||||||
var editTiddler = this.wiki.getTiddler(this.editTitle),
|
var editTiddler = this.wiki.getTiddler(this.editTitle),
|
||||||
editTiddlerTitle = this.editTitle;
|
editTiddlerTitle = this.editTitle,
|
||||||
|
excisionBaseTitle = $tw.language.getString("Buttons/Excise/DefaultTitle");
|
||||||
if(editTiddler && editTiddler.fields["draft.of"]) {
|
if(editTiddler && editTiddler.fields["draft.of"]) {
|
||||||
editTiddlerTitle = editTiddler.fields["draft.of"];
|
editTiddlerTitle = editTiddler.fields["draft.of"];
|
||||||
}
|
}
|
||||||
var excisionTitle = event.paramObject.title || this.wiki.generateNewTitle("New Excision");
|
var excisionTitle = event.paramObject.title || this.wiki.generateNewTitle(excisionBaseTitle);
|
||||||
this.wiki.addTiddler(new $tw.Tiddler(
|
this.wiki.addTiddler(new $tw.Tiddler(
|
||||||
this.wiki.getCreationFields(),
|
this.wiki.getCreationFields(),
|
||||||
this.wiki.getModificationFields(),
|
this.wiki.getModificationFields(),
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ var PutSaver = function(wiki) {
|
|||||||
callback: function(err,data,xhr) {
|
callback: function(err,data,xhr) {
|
||||||
// Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1
|
// Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1
|
||||||
if(!err) {
|
if(!err) {
|
||||||
self.serverAcceptsPuts = xhr.status === 200 && !!xhr.getResponseHeader("dav");
|
self.serverAcceptsPuts = xhr.status >= 200 && xhr.status < 300 && !!xhr.getResponseHeader("dav");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ caption: {{$:/language/Search/Standard/Caption}}
|
|||||||
</$keyboard>
|
</$keyboard>
|
||||||
</$keyboard>
|
</$keyboard>
|
||||||
</$keyboard>
|
</$keyboard>
|
||||||
|
 
|
||||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||||
<$button class="tc-btn-invisible">
|
<$button class="tc-btn-invisible">
|
||||||
<<cancel-search-actions>>
|
<<cancel-search-actions>>
|
||||||
@@ -57,15 +58,15 @@ caption: {{$:/language/Search/Standard/Caption}}
|
|||||||
configTiddler={{{ [[$:/state/advancedsearch/standard/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}
|
configTiddler={{{ [[$:/state/advancedsearch/standard/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}
|
||||||
searchListState="$:/temp/advancedsearch/selected-item">
|
searchListState="$:/temp/advancedsearch/selected-item">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]">
|
||||||
|
<$list-empty>
|
||||||
|
<$list filter='[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]'><$transclude mode="block"/></$list>
|
||||||
|
</$list-empty>
|
||||||
<$macrocall $name="tabs"
|
<$macrocall $name="tabs"
|
||||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]"
|
tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]"
|
||||||
default={{$:/config/SearchResults/Default}}
|
default={{$:/config/SearchResults/Default}}
|
||||||
actions="<$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=<<currentTab>>/>"
|
actions="<$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=<<currentTab>>/>"
|
||||||
explicitState="$:/state/tab/search-results/advancedsearch" />
|
explicitState="$:/state/tab/search-results/advancedsearch" />
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]] :else[[]]">
|
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]"><$transclude mode="block"/></$list>
|
|
||||||
</$list>
|
|
||||||
</$vars>
|
</$vars>
|
||||||
</$list>
|
</$list>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ tags: $:/tags/SideBarSegment
|
|||||||
<$macrocall $name="keyboard-driven-input" tiddler=<<editTiddler>> storeTitle=<<searchTiddler>>
|
<$macrocall $name="keyboard-driven-input" tiddler=<<editTiddler>> storeTitle=<<searchTiddler>>
|
||||||
selectionStateTitle=<<searchListState>> refreshTitle="$:/temp/search/refresh" type="search"
|
selectionStateTitle=<<searchListState>> refreshTitle="$:/temp/search/refresh" type="search"
|
||||||
tag="input" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify "$:/state/popup/search-dropdown">>
|
tag="input" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify "$:/state/popup/search-dropdown">>
|
||||||
class="tc-popup-handle" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<<cancel-search-actions>>
|
class="tc-tiny-gap-right tc-popup-handle" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<<cancel-search-actions>>
|
||||||
inputAcceptActions=<<input-accept-actions>> inputAcceptVariantActions=<<input-accept-variant-actions>> cancelPopups="yes"
|
inputAcceptActions=<<input-accept-actions>> inputAcceptVariantActions=<<input-accept-variant-actions>> cancelPopups="yes"
|
||||||
configTiddlerFilter="[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]"/>
|
configTiddlerFilter="[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]"/>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ type: text/vnd.tiddlywiki
|
|||||||
<$link to={{{ [<__version__>addprefix[Release ]] }}} class="doc-from-version">{{$:/core/images/warning}} New in: <$text text=<<__version__>>/></$link>
|
<$link to={{{ [<__version__>addprefix[Release ]] }}} class="doc-from-version">{{$:/core/images/warning}} New in: <$text text=<<__version__>>/></$link>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\define .deprecated-since(version, superseded:"TODO-Link")
|
\define .deprecated-since(version, superseded:"")
|
||||||
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/></$link> (see <$link to=<<__superseded__>>><$text text=<<__superseded__>>/></$link>)
|
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated from v<$text text=<<__version__>>/></$link> <%if [<__superseded__>else[]!match[]] %>(see <$link to=<<__superseded__>>><$text text=<<__superseded__>>/></$link>)<%endif%>
|
||||||
\end
|
\end
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki
|
|||||||
\end
|
\end
|
||||||
|
|
||||||
\define .deprecated-since(version, superseded:"TODO-Link")
|
\define .deprecated-since(version, superseded:"TODO-Link")
|
||||||
<$button to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Obsolète depuis<<:>> $version$ </$button>. Utilisez [[$superseded$]] à la place
|
<$button to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Obsolète depuis<<:>> $version$ </$button>. <%if [<__superseded__>else[]!match[]] %>Utilisez [[$superseded$]] à la place<%endif%>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
<pre><$view field="text"/></pre>
|
<pre><$view field="text"/></pre>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
caption: 5.3.6
|
caption: 5.3.6
|
||||||
created: 20240710120027897
|
created: 20240810120027897
|
||||||
modified: 20240710120027897
|
modified: 20240810120027897
|
||||||
tags: ReleaseNotes
|
tags: ReleaseNotes
|
||||||
title: Release 5.3.6
|
title: Release 5.3.6
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|||||||
@@ -15,4 +15,6 @@ In the example above, a comma appears between each occurrence of the `repeated`
|
|||||||
|
|
||||||
Characters in round boxes are literal, i.e. they denote themselves. A name in a rectangular box denotes a further railroad diagram.
|
Characters in round boxes are literal, i.e. they denote themselves. A name in a rectangular box denotes a further railroad diagram.
|
||||||
|
|
||||||
|
The TW [[Filter Syntax]] documentation makes extensive use of railroad diagrams.
|
||||||
|
|
||||||
The railroad diagrams in ~TiddlyWiki's documentation are generated with the [[Railroad Plugin]].
|
The railroad diagrams in ~TiddlyWiki's documentation are generated with the [[Railroad Plugin]].
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ tags: OfficialPlugins [[Plugin Editions]]
|
|||||||
title: Railroad Plugin
|
title: Railroad Plugin
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
!! Railroad Diagrams
|
||||||
|
|
||||||
|
{{Railroad Diagrams}}
|
||||||
|
|
||||||
|
!! Plugin
|
||||||
|
|
||||||
{{$:/plugins/tiddlywiki/railroad/readme}}
|
{{$:/plugins/tiddlywiki/railroad/readme}}
|
||||||
|
|
||||||
{{$:/plugins/tiddlywiki/railroad/syntax}}
|
Learn more about the [[Railroad Plguin Syntax Description|$:/plugins/tiddlywiki/railroad/syntax]]
|
||||||
|
|||||||
@@ -26,13 +26,15 @@ type: text/vnd.tiddlywiki
|
|||||||
<% endif %>
|
<% endif %>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\procedure .deprecated-since(version, superseded:"TODO-Link")
|
\procedure .deprecated-since(version, superseded:"")
|
||||||
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">
|
<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">
|
||||||
{{$:/core/images/warning}}
|
{{$:/core/images/warning}}
|
||||||
<span class="tc-tiny-gap">Deprecated since:</span>
|
<span class="tc-tiny-gap">Deprecated from </span>
|
||||||
<$text text=<<version>>/>
|
v<$text text=<<version>>/>
|
||||||
</$link>
|
</$link>
|
||||||
<span class="tc-tiny-gap-left">
|
<%if [<superseded>else[]!match[]] %>
|
||||||
(see <$link class="tc-tiny-gap-left" to=<<superseded>>><$text text=<<superseded>>/></$link>)
|
<span class="tc-tiny-gap-left">
|
||||||
</span>
|
(see <$link class="tc-tiny-gap-left" to=<<superseded>>><$text text=<<superseded>>/></$link>)
|
||||||
|
</span>
|
||||||
|
<%endif%>
|
||||||
\end
|
\end
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ Excise/Caption/Replace/Link: 链接
|
|||||||
Excise/Caption/Replace/Transclusion: 嵌入
|
Excise/Caption/Replace/Transclusion: 嵌入
|
||||||
Excise/Caption/Tag: 将新条目的标签设为此条目的名称
|
Excise/Caption/Tag: 将新条目的标签设为此条目的名称
|
||||||
Excise/Caption/TiddlerExists: 提醒:条目已经存在
|
Excise/Caption/TiddlerExists: 提醒:条目已经存在
|
||||||
|
Excise/DefaultTitle: 新的剪切
|
||||||
Excise/Hint: 剪切所选文本到一个新条目
|
Excise/Hint: 剪切所选文本到一个新条目
|
||||||
Heading1/Caption: 标题 1
|
Heading1/Caption: 标题 1
|
||||||
Heading1/Hint: 套用标题级别 1 的格式于包含所选文本的列
|
Heading1/Hint: 套用标题级别 1 的格式于包含所选文本的列
|
||||||
|
|||||||
@@ -199,6 +199,12 @@ Settings/TitleLinks/Caption: 条目标题
|
|||||||
Settings/TitleLinks/Hint: 可选地显示条目标题为链接
|
Settings/TitleLinks/Hint: 可选地显示条目标题为链接
|
||||||
Settings/TitleLinks/No/Description: 不显示条目标题为链接
|
Settings/TitleLinks/No/Description: 不显示条目标题为链接
|
||||||
Settings/TitleLinks/Yes/Description: 显示条目标题为链接
|
Settings/TitleLinks/Yes/Description: 显示条目标题为链接
|
||||||
|
SocialCard/Caption: 社交媒体卡
|
||||||
|
SocialCard/Domain/Prompt: 显示链接的网域名称(例如 ''tiddlywiki.com'')
|
||||||
|
SocialCard/Hint: 社交和消息服务使用此信息来显示在线托管时指向此 TiddlyWiki 的链接的预览卡
|
||||||
|
SocialCard/PreviewUrl/Prompt: 用于预览此 TiddlyWiki 图像的完整网址
|
||||||
|
SocialCard/PreviewUrl/Preview: 预览图像:
|
||||||
|
SocialCard/Url/Prompt: 此 TiddlyWiki 的完整网址
|
||||||
StoryTiddler/Caption: 故事条目
|
StoryTiddler/Caption: 故事条目
|
||||||
StoryTiddler/Hint: 此规则级联用于动态选择模板,以便在故事河中显示条目。
|
StoryTiddler/Hint: 此规则级联用于动态选择模板,以便在故事河中显示条目。
|
||||||
StoryView/Caption: 视图模式
|
StoryView/Caption: 视图模式
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ Excise/Caption/Replace/Link: 鏈接
|
|||||||
Excise/Caption/Replace/Transclusion: 嵌入
|
Excise/Caption/Replace/Transclusion: 嵌入
|
||||||
Excise/Caption/Tag: 將新條目的標籤設為此條目的名稱
|
Excise/Caption/Tag: 將新條目的標籤設為此條目的名稱
|
||||||
Excise/Caption/TiddlerExists: 警示:條目已經存在
|
Excise/Caption/TiddlerExists: 警示:條目已經存在
|
||||||
|
Excise/DefaultTitle: 新的剪切
|
||||||
Excise/Hint: 剪切所選文字到一個新條目
|
Excise/Hint: 剪切所選文字到一個新條目
|
||||||
Heading1/Caption: 標題 1
|
Heading1/Caption: 標題 1
|
||||||
Heading1/Hint: 套用標題級別 1 的格式於包含所選文字的列
|
Heading1/Hint: 套用標題級別 1 的格式於包含所選文字的列
|
||||||
|
|||||||
@@ -199,6 +199,12 @@ Settings/TitleLinks/Caption: 條目標題
|
|||||||
Settings/TitleLinks/Hint: 可選地顯示條目標題為鏈接
|
Settings/TitleLinks/Hint: 可選地顯示條目標題為鏈接
|
||||||
Settings/TitleLinks/No/Description: 不顯示條目標題為鏈接
|
Settings/TitleLinks/No/Description: 不顯示條目標題為鏈接
|
||||||
Settings/TitleLinks/Yes/Description: 顯示條目標題為鏈接
|
Settings/TitleLinks/Yes/Description: 顯示條目標題為鏈接
|
||||||
|
SocialCard/Caption: 社交媒體卡
|
||||||
|
SocialCard/Domain/Prompt: 顯示連結的網域名稱(例如 ''tiddlywiki.com'')
|
||||||
|
SocialCard/Hint: 社交和訊息服務使用此資訊來顯示線上託管時指向此 TiddlyWiki 的連結的預覽卡
|
||||||
|
SocialCard/PreviewUrl/Prompt: 用於預覽此 TiddlyWiki 圖像的完整網址
|
||||||
|
SocialCard/PreviewUrl/Preview: 預覽圖像:
|
||||||
|
SocialCard/Url/Prompt: 此 TiddlyWiki 的完整網址
|
||||||
StoryTiddler/Caption: 故事條目
|
StoryTiddler/Caption: 故事條目
|
||||||
StoryTiddler/Hint: 此規則級聯用於動態選擇範本,以便在故事河中顯示條目。
|
StoryTiddler/Hint: 此規則級聯用於動態選擇範本,以便在故事河中顯示條目。
|
||||||
StoryView/Caption: 檢視模式
|
StoryView/Caption: 檢視模式
|
||||||
|
|||||||
@@ -71,10 +71,20 @@ $else$
|
|||||||
|
|
||||||
{{$:/themes/tiddlywiki/vanilla/reset}}
|
{{$:/themes/tiddlywiki/vanilla/reset}}
|
||||||
|
|
||||||
*, input[type="search"] {
|
input[type="search"] {
|
||||||
box-sizing: border-box;
|
outline-offset: initial;
|
||||||
-moz-box-sizing: border-box;
|
}
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
|
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
|
||||||
|
outline: 2px solid <<colour primary>>;
|
||||||
|
outline-offset: -2px;
|
||||||
|
border-radius: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:-moz-focusring, input:-moz-focusring, textarea:-moz-focusring, select:-moz-focusring {
|
||||||
|
outline: 2px solid <<colour primary>>;
|
||||||
|
outline-offset: -2px;
|
||||||
|
border-radius: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -157,7 +167,7 @@ code {
|
|||||||
color: <<colour code-foreground>>;
|
color: <<colour code-foreground>>;
|
||||||
background-color: <<colour code-background>>;
|
background-color: <<colour code-background>>;
|
||||||
border: 1px solid <<colour code-border>>;
|
border: 1px solid <<colour code-border>>;
|
||||||
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
white-space: pre-wrap;
|
||||||
padding: 0 3px 2px;
|
padding: 0 3px 2px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
||||||
@@ -293,10 +303,13 @@ form.tc-form-inline {
|
|||||||
Markdown likes putting code elements inside pre elements
|
Markdown likes putting code elements inside pre elements
|
||||||
*/
|
*/
|
||||||
pre > code {
|
pre > code {
|
||||||
padding: 0;
|
display: block;
|
||||||
|
padding: 0.5em;
|
||||||
border: none;
|
border: none;
|
||||||
|
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -707,7 +720,7 @@ html body.tc-body .tc-btn-rounded:hover svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button svg.tc-image-button, button .tc-image-button img {
|
button svg.tc-image-button, button .tc-image-button img {
|
||||||
height: 1em;
|
height: auto;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2819,7 +2832,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-sta
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tc-language-chooser .tc-image-button img {
|
.tc-language-chooser .tc-image-button img {
|
||||||
width: 2em;
|
width: auto;
|
||||||
vertical-align: -0.15em;
|
vertical-align: -0.15em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user