mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-24 07:56:52 +00:00
Merge branch 'master' into parameterised-transclusions
This commit is contained in:
commit
2bf9e97eb5
@ -4,5 +4,7 @@ title: $:/core/save/all-external-js
|
||||
\define saveTiddlerFilter()
|
||||
[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$
|
||||
\end
|
||||
\define coreURL() %24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js
|
||||
{{$:/core/templates/tiddlywiki5-external-js.html}}
|
||||
\define defaultCoreURL() %24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js
|
||||
<$let coreURL={{{ [[coreURL]is[variable]then<coreURL>else<defaultCoreURL>] }}}>
|
||||
{{$:/core/templates/tiddlywiki5-external-js.html}}
|
||||
</$let>
|
||||
|
@ -4,5 +4,7 @@ title: $:/core/save/offline-external-js
|
||||
\define saveTiddlerFilter()
|
||||
[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$
|
||||
\end
|
||||
\define coreURL() tiddlywikicore-$(version)$.js
|
||||
{{$:/core/templates/tiddlywiki5-external-js.html}}
|
||||
\define defaultCoreURL() tiddlywikicore-$(version)$.js
|
||||
<$let coreURL={{{ [[coreURL]is[variable]then<coreURL>else<defaultCoreURL>] }}}>
|
||||
{{$:/core/templates/tiddlywiki5-external-js.html}}
|
||||
</$let>
|
||||
|
@ -332,7 +332,7 @@ DynannotateWidget.prototype.applySnippets = function() {
|
||||
// Output the match
|
||||
container.appendChild($tw.utils.domMaker("span",{
|
||||
text: textMap.string.slice(match.startPos,match.endPos),
|
||||
"class": "tc-dynannotate-snippet-highlight " + self.getAttribute("searchClass")
|
||||
"class": "tc-dynannotate-snippet-highlight " + self.getAttribute("searchClass","")
|
||||
}));
|
||||
// Does the context of this match merge into the next?
|
||||
merged = index < matches.length - 1 && matches[index + 1].startPos - match.endPos <= 2 * contextLength;
|
||||
|
@ -1999,6 +1999,15 @@ html body.tc-body.tc-single-tiddler-window {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Make search dropdown visible on small screens. issue #7003 */
|
||||
@media (max-width: <<sidebarbreakpoint>>) {
|
||||
|
||||
.tc-sidebar-search .tc-block-dropdown-wrapper {
|
||||
position: initial;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
** Modals
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user