jeremy@jermolene.com
e59f97b9c5
Add editor panel to tiddler manager
2023-03-12 16:02:30 +00:00
jeremy@jermolene.com
964993f879
New-here: Fix unwanted double braces around tags specified in $:/config/NewTiddler/Tags
...
Fixes #7354
2023-03-11 11:13:35 +00:00
jeremy@jermolene.com
f247686970
Remove "const" accidentally included in #7290
...
See #7350
2023-03-10 12:32:52 +00:00
jeremy@jermolene.com
589813f233
Improved fix for #7270
2023-03-10 09:41:36 +00:00
jeremy@jermolene.com
007b759421
Undefined variables in let widget: Revert fix for #7270
...
Reverts 8c378e0d24
and adds a test
2023-03-10 09:41:18 +00:00
Jeremy Ruston
11ffc83493
Introduce new levenshtein, makepatches, applypatches operators ( #7290 )
...
* Initial Commit
* Fix crash with invalid patches
See https://github.com/Jermolene/TiddlyWiki5/pull/7290#issuecomment-1453155311
Thanks @yaisog
* Add words and lines options to makepatches (#7326 )
* Prevent infinite loop for single-word texts (#7327 )
* Add docs and examples for the new operators (#7328 )
* Create makepatches Operator.tid
* Improve wording
* Doc and examples for the new operators
---------
Co-authored-by: yaisog <m@rcuswinter.de>
2023-03-04 21:16:26 +00:00
Mario Pietsch
7f1064d14b
Add dollar sign to HTML entities ( #7323 )
2023-03-03 21:34:30 +00:00
Maurycy Zarzycki
3a9f848ea0
Report ZoomIn issues when using tiddler template that starts with a text node ( #7007 )
...
* add alert when zoomin error occurs plus protection to avoid TW getting stuck when it happens
* Reverted additional logging and made the zoomin just silently and safely ignore the issue
2023-03-01 16:18:41 +00:00
Saq Imtiaz
5bce35d90b
Fix: add twEditor attribute to paste events handled by codemirror ( #7281 )
2023-02-28 08:35:15 +00:00
lin onetwo
8d39ce95eb
FieldIndexer performance: use isShadowTiddler
instead of allTitles
( #7299 )
...
* feat: use `isShadowTiddler` insteadof `allTitles`
* fix: use `tiddlerExists` instead
2023-02-27 17:32:20 +00:00
Jeremy Ruston
e313857822
Use sticky flag to improve regexp search performance ( #7297 )
2023-02-27 15:12:07 +00:00
btheado
6479c26b59
Removes datauri triggered save instructions modal ( #7296 )
...
* Do not trigger a save instructions modal when viewing through data uri
* Removed all instances of the no longer used SaveInstructions tiddler
2023-02-26 21:42:10 +00:00
Jeremy Ruston
2271f6885a
Add focusSelectFromStart/focusSelectFromEnd attributes to <$edit-text> widget ( #7222 )
...
* Initial commit
* WIP
* Align implementation with @yaisog's suggestion
See https://github.com/Jermolene/TiddlyWiki5/pull/7222#issuecomment-1410194593
* Commit missing from 3262b8d77d
Thanks @pmario
* Fix version number
Thanks @yaisog
* Add two examples for text selection (#7286 )
---------
Co-authored-by: yaisog <m@rcuswinter.de>
2023-02-25 18:25:46 +00:00
jeremy@jermolene.com
8c378e0d24
Let widget should specify a default value for variables
...
Fixes #7270
2023-02-25 13:41:13 +00:00
andrigamerita
925ce2b505
Add meta viewport to StaticRiver ( #6953 )
...
StaticRiver HTML didn't feature a <meta name="viewport" line, which made single-page full wiki static exports look bad on mobile.
2023-02-24 16:51:30 +00:00
jeremy@jermolene.com
51a4d39c19
Refresh text editors when the palette changes
...
Fixes #7276
2023-02-23 10:13:13 +00:00
btheado
95dc56d850
Fix importTitle and autoOpenOnImport in the tm-import-tiddler message ( #7243 )
...
* Add initial tm-import-tiddler test
* Add failing test for tm-import-tiddlers importTitle #7234
* Add failing test for tm-import-tiddlers autoOpenOnImport #7234
* Use event.paramObject instead of event to access tm-import-tiddlers options. Fixes #7234 .
* Added a clarifying comment
* Allow mixing tm-import-tiddler params in both event and event.paramObject
* Added import test using tv-auto-open-on-import variable
* Removed stray punctuation
2023-02-11 09:15:44 +00:00
Cameron Fischer
028dfe39b7
Fixed issue where $genesis didn't pass isBlock ( #7230 )
...
* Fixed issue where $genesis didn't pass isBlock
* Added $mode attribute for genesis
* Added documentation for $mode attribute
2023-02-10 10:17:32 +00:00
jeremy@jermolene.com
3da3318396
Node.js: Prefer .tid format when a _canonical_uri field present
...
Fixes #7238
2023-02-03 19:22:43 +00:00
jeremy@jermolene.com
89fd8871b6
Add encodebase64/decodebase64 operators
...
Proposed by @ericshulman
2023-02-02 09:55:54 +00:00
jeremy@jermolene.com
f249b79e81
Fix edit toolbar button classes
...
Appears to have been broken at least as far back as v5.1.10
2023-02-01 19:04:46 +00:00
Jeremy Ruston
d70b6a7d6c
Make save wiki button be accessible to users without colour vision ( #7232 )
...
* Make save wiki button be accessible to users without colour vision
* Make the dynamic button be a separate button
For backwards compatibility
2023-01-28 09:51:25 +00:00
Mario Pietsch
3faadd69c0
Fix #7227 control panel parser rule checkbox text spacing ( #7228 )
2023-01-23 22:20:35 +00:00
Mario Pietsch
fb8e5d1417
Improve readability of the editor save-button ( #7225 )
2023-01-23 13:23:25 +00:00
Mario Pietsch
2426cc668d
Fix #7220 whitespace issue with editor save button ( #7224 )
2023-01-23 13:22:27 +00:00
Télumire
6718f82b4c
Small gap fix for the updated toc macro (alternative to tc-tiny-gap-left) ( #7219 )
2023-01-20 10:15:35 +00:00
jeremy@jermolene.com
8ef6d78bef
Filesystemadaptor: Use json format for tiddlers with fieldnames containing hash
...
Fixes #7144
2023-01-19 21:16:46 +00:00
Mario Pietsch
e6189078ff
Make tag-picker and keyboard-driven-input macros human readable ( #7118 )
...
* make tag-picker and keyboard-driven-input macros human readable
* fix indentation as requested
2023-01-19 20:44:00 +00:00
Cameron Fischer
c20c35c0a6
Fully committing core to the $genesis widget ( #7129 )
2023-01-19 17:48:23 +00:00
Télumire
1441138d5c
Correction of the toc and toc-body macro ( #7121 )
...
* correction of the toc and toc-body macro: tiddler without toc-link field can now be overriden + nested the macros
* reverted macro nesting
.. to be able to override the toc-body macro
* reverted tabs to spaces
2023-01-19 17:46:50 +00:00
Jeremy Ruston
a5894946de
Extend encodeuricomponent to process additional characters ( #7128 )
...
* First commit
* Fix version number in docs
* Add code comment
2023-01-19 17:45:54 +00:00
Matthias Bilger
a3a1eceb4a
Use iframe to embed PDF ( #7102 )
...
`<iframe>` is kind of preferred over `<embed>` and widely supported.
2023-01-19 17:01:53 +00:00
cdruan
aa8f7f77d6
External.js: Allow boot code to remain as tiddlers in tiddlywikicore.js ( #7210 )
...
* Allow boot code to remain as tiddlers
* Sync up with tiddlywiki5.html
* Add \whitespace trim
* Add download-full-wiki button
* Simplify ExportTiddlyWikiCore code
No longer needs the if-boot-code-is-missing part of the code.
* Replace space btw icon and button text with CSS
2023-01-19 16:52:12 +00:00
jeremy@jermolene.com
5d650e87dd
Remove savers for Beaker Browser now it is archived
...
See https://github.com/beakerbrowser/beaker/blob/master/archive-notice.md
2023-01-19 16:45:30 +00:00
jeremy@jermolene.com
586d44f6ce
Allow missing tiddlers to be deleted (ie closed)
...
Fixes #7217
2023-01-18 16:50:58 +00:00
Mario Pietsch
c51816e826
Fix pasting of multiple types at once ( #6622 )
...
* wip fix dropzone closure variable problem
* just a new commit to autocreate at test wiki
2023-01-17 15:02:57 +00:00
Mario Pietsch
e41511c652
make core/ui/MoreSideBar/Tags look nice in the story river ( #7212 )
2023-01-17 14:57:49 +00:00
jeremy@jermolene.com
fecb7edca4
Fix typo in messagecatcher widget
...
I think this was a copy-paste error, but would appreciate other eyes on this...
2023-01-16 19:34:02 +00:00
jeremy@jermolene.com
34643a4279
Add icon to default page layout and show in switcher
...
Thanks @linonetwo
Fixes #7197
2023-01-16 13:21:40 +00:00
Saq Imtiaz
dd6e00687b
Adds support for indenting pragmas with whitespace ( #7185 )
...
* feat: first pass at allowing pragmas to be indented
* Added documentation
2023-01-08 13:17:01 +00:00
Cameron Fischer
7b7063a7b2
Added documentation for neglected core fields ( #7191 )
2023-01-08 13:13:04 +00:00
jeremy@jermolene.com
8ca0bf10e4
Lazy loading a tiddler should trigger a sync
...
Fixes #7138
2023-01-03 14:28:48 +00:00
btheado
6f9cf20e77
Fixes reduce, filter, and sortsub operators undefined variable exception ( #7156 )
...
* Added failing tests for #7155
* Pass getVariable options through to the widget method. Fixes #7155
* Whitespace fix
* Added tests to verify macro parameters work inside filter, reduce, and sortsub operators
2023-01-03 13:48:20 +00:00
jeremy@jermolene.com
04810667e6
It's 2023
2023-01-02 15:47:24 +00:00
jeremy@jermolene.com
42a408146d
Empty or missing type on genesis widget should not render an element/widget
...
Fixes #7153
2022-12-30 21:42:07 +00:00
jeremy@jermolene.com
3bdc18ab84
Fix json operators retrieving properties of strings and numbers
...
Fixes #7160
2022-12-30 15:28:34 +00:00
Jeffrey Zhang
18d3ea9d14
Support obsidian external link ( #7149 )
2022-12-24 15:56:46 +00:00
jeremy@jermolene.com
95e6168839
Fix logout triggering 404 error
...
See https://talk.tiddlywiki.org/t/logout-error-xmlhttprequest-error-code-404/5590/5 for details
We can't POST to the logout endpoint without triggering authentication, so we report in advance whether logout is supported.
2022-12-24 12:13:01 +00:00
jeremy@jermolene.com
a5afed9384
Fix crash with illegal tag names for element widget
...
Fixes #7122
2022-12-20 17:31:51 +00:00
jeremy@jermolene.com
b37a356b5e
Crash with <$genesis $type="" />
...
Fixes #7140
2022-12-20 16:45:29 +00:00