1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 04:24:22 +00:00
Commit Graph

9108 Commits

Author SHA1 Message Date
Jeremy Ruston
8e7c0907f8 Add checkactions attribute to Checkbox widget
See discussion at https://groups.google.com/d/msgid/tiddlywiki/526754d5-8786-49cd-aaa1-c77311670116%40googlegroups.com:

The history here is that in v5.1.14 we added an "actions" attribute to the checkbox widget that specified an action string to be specified whenever the state of the checkbox changed. The same action string is executed regardless of whether the checkbox was checked or unchecked.

Then in v5.1.16 we merged https://github.com/Jermolene/TiddlyWiki5/pull/3182 which added the "uncheckactions" attribute. The difference between the two is that the uncheckactions are only executed if the checkbox is unchecked. The main "actions" attribute is executed before any actions in "uncheckactions", which makes it possible to arrange things so that the "actions" attribute sets things to the checked state while the "uncheckactions" attribute overwrites those changes to set things to the unchecked state.

In retrospect, it would have made more sense to have also added a "checkactions" attribute that was executed only if the checkbox was checked. I'll investigate adding it for v5.1.20.
2019-07-14 13:42:43 +01:00
Jeremy Ruston
f5b2599432 Make it possible to distinguish the two different sidebar elements with the class "tc-sidebar-lists" 2019-07-11 22:00:28 +01:00
Jeremy Ruston
a3a25f2453
Fix bug with popup cancelling if state is in a field other than 'text' 2019-07-11 17:07:25 +01:00
Simon Huber
ecbbe87a0d
popup cancelling - use state reference
in the google group there's a discussion: https://groups.google.com/forum/#!topic/tiddlywiki/_mDDZ1jpMgU

buttons allow setting a state-reference for popups but the popup mechanism doesn't respect that
2019-07-11 07:35:06 +02:00
Jeremy Ruston
86286c6fce Don't generate filenames starting with a period 2019-07-09 12:22:52 +01:00
Jeremy Ruston
08c900786e
Make katex toolbar (text buttons) button same color 2019-07-07 17:31:54 +01:00
Simon Huber
efa593bb50
make katex toolbar (text buttons) button same color 2019-07-07 18:00:17 +02:00
Jeremy Ruston
19f2280803
German translations 2019-07-07 13:02:47 +01:00
pmario
6721d70de5 german translations 2019-07-07 01:08:25 +02:00
Jeremy Ruston
7b3d190974
Create Hidden Setting ViewTemplate and EditTemplate.tid 2019-07-05 07:29:06 +01:00
Jeremy Ruston
3997600137
Update chinese translations 2019-07-05 07:23:11 +01:00
Jeremy Ruston
9f31867731
Update core/modules/savers/github.js 2019-07-05 07:21:53 +01:00
Bram Chen
a06acc4eb8
Update core/modules/savers/github.js
Using "$tw.utils.base64Encode()" to encode content of data instead of calling module library directly.
2019-07-05 11:03:05 +08:00
BramChen
6f3db0118e Update chinese translations
* Add hint of toggle-sidebar keyboard shortcut
2019-07-05 10:30:19 +08:00
Jeremy Ruston
f5acf3adaa
Make Using Stamp show up in Recent tab 2019-07-04 22:27:19 +01:00
Jeremy Ruston
5ac2064d18
Add toggle-sidebar keyboard shortcut 2019-07-04 22:18:40 +01:00
Jeremy Ruston
2a4c60b23d Allow tm-open-window to specify a page title 2019-07-04 15:59:34 +01:00
Jeremy Ruston
3edaa652ee Reveal widget: add option to avoid clamping popup position
Fixes #4041
2019-07-04 15:58:27 +01:00
Simon Huber
77fedf9582
fix keyboard shortcut 2019-07-04 12:00:10 +02:00
Simon Huber
cf4c4532c3
Update Buttons.multids 2019-07-04 09:00:34 +02:00
Simon Huber
ea0e1357bf
Update ShortcutInfo.multids 2019-07-04 08:59:23 +02:00
Simon Huber
ef7210adf4
add alt-shift-S to toggle sidebar 2019-07-04 08:57:49 +02:00
Simon Huber
e91fb29253
add keyboard shortcut toggle-sidebar 2019-07-04 08:56:17 +02:00
Simon Huber
f978355ea4
make Using Stamp show up in Recent tab
... just a "modified" update
2019-07-04 07:50:47 +02:00
Simon Huber
1e1b2e28b6
Create Hidden Setting ViewTemplate and EditTemplate.tid
this PR adds information about the hidden settings for View- and EditTemplate
2019-07-04 07:45:04 +02:00
Jeremy Ruston
d489f61f2a
include wiki in options sent to generateTiddlerFilePath 2019-07-03 17:54:58 +01:00
Jeremy Ruston
727d660715
Story PageTemplate: configurable View- and EditTemplates (#4051)
* Story PageTemplate: configurable View- and EditTemplates

* add $:/config/ui/ViewTemplate

* add $:/config/ui/EditTemplate
2019-07-03 17:42:13 +01:00
Simon Huber
6e5566b907 Add whitespace trim to pagetemplate, story and sidebar (#4052)
* add whitespace trim to pagetemplate

* add whitespace trim to story pagetemplate

* add whitespace trim to sidebar pagetemplate
2019-07-03 17:41:23 +01:00
Bram Chen
958b3e7b7c Improve the base64 encode/decode utility functions (#4053)
Make good use of "$:/core/modules/utils/base64-utf8/base64-utf8.module.js"
* Add a new base64Encode()
* Both of base64Encode and base64Decode work for Nodejs and Browsers
2019-07-03 17:39:32 +01:00
Simon Huber
c578566dea
add $:/config/ui/EditTemplate 2019-07-03 15:09:32 +02:00
Simon Huber
8a0aef4dcb
add $:/config/ui/ViewTemplate 2019-07-03 15:08:43 +02:00
Simon Huber
35a71ad577
Story PageTemplate: configurable View- and EditTemplates 2019-07-03 15:07:06 +02:00
jed
c202ef4201
include wiki in options sent to generateTiddlerFilePath
This adds options.wiki to the object sent to the generateTiddlerFilePath

The function generateTiddlerFilePath can take a wiki in the options object, but generateTiddlerFileInfo doesn't pass the wiki to it.
2019-07-03 12:11:10 +02:00
Jeremy Ruston
f42351e235 Add new readme build script, and update the readme build 2019-07-02 16:53:23 +01:00
Jeremy Ruston
da61917797 list-links macro: trim whitespace
Fixes #4044
2019-07-02 16:53:02 +01:00
Simon Huber
16a53ae394 Use Resources tag for escapecss examples (#4040) 2019-07-02 16:25:34 +01:00
Simon Huber
d1948621d3 Docs for stamp-button optionally wrap selection (#4047)
* make stamp-button optionally wrap selection

* Update Using Stamp.tid
2019-07-02 16:24:48 +01:00
Bram Chen
de04755a0a Fix bug with not definded variable (#4049)
Using the variable "resolveCredentialsFilepath" to provide a good debug information.
2019-07-02 15:40:07 +01:00
Simon Huber
15b576618f Docs: Add information about hidden setting EditTabIndex (#4045) 2019-07-02 15:33:43 +01:00
Simon Huber
91db09bd1e Katex dropdown: add description hint (#4048)
* katex dropdown: add description hint

* Update katex-dropdown.tid
2019-07-02 15:04:57 +01:00
Simon Huber
d2f1debf92 Make escapecss tiddlers show in recent tab (#4032)
* make escapecss show in recent tab

* make escapecss examples show in recent tab
2019-06-29 08:40:46 +01:00
Bram Chen
f6c9150d32 Add chinese translations for hint of sidebar-search keyboard shortcut (#4027) 2019-06-29 08:21:06 +01:00
Simon Huber
2f723dd85a Add docs for escapecss operator (#4028)
* Create escapecss_Operator.tid

* Create escapecss Operator (Examples).tid
2019-06-29 08:17:11 +01:00
Simon Huber
42bde75de2 Update KeyboardShortcuts.tid (#4030) 2019-06-29 08:16:35 +01:00
Simon Huber
112443c054 Update/fix nord palette notification background (#4031) 2019-06-29 08:15:46 +01:00
Jeremy Ruston
7781cb1f8b Streamline wording for sidebar search shortcut 2019-06-28 17:35:17 +01:00
Jeremy Ruston
bf51ae0019 Add keyboard shortcut for focusing sidebar search
Fixes #4020

Fixes #4025
2019-06-28 17:28:24 +01:00
Jeremy Ruston
ed67f4a88b Add new tm-focus-selector message 2019-06-28 17:27:36 +01:00
Bram Chen
274dffe750 Update chinese translations for the revised PaletteManager (#4019)
* Palette/Editor/Delete/Hint
 * Palette/Editor/Names/External/Show
2019-06-26 16:44:31 +01:00
Simon Huber
14003b0e88 Make framed editor use tiddler-editor-background color (#3611)
so we can customise it better if we don't like what we see
2019-06-26 14:53:49 +01:00