Mario Pietsch
23e0eeb556
Add default settings for styled inline SPANs ( #6877 )
...
* add default settings for styled inline SPANs
* change color names in palettes and vanilla-base
* change parser behaviour if custom class is used
* tc-inline-style will only be set if no other custom setting is appliead
* Add tests for inline-styles
* add one more test
* remove space after if
2022-10-07 18:05:49 +01:00
Maurycy Zarzycki
f33c7e2aef
Allow global keyboard shortcuts to override all other shortcuts by providing a special field ( #6735 )
...
* allow global keyboard shortcuts to override all other shortcuts by providing a special field
* rework the global shortcuts taking priority
* replace bool option with options object in KeyboardManager's keydown handler
* update keyboard shortcut documentation to add information about the new priority setting
* add support for priority global keyboard shortcuts to code mirror
* update the feature's docs to point out it was/will be introduced in 5.2.4
* rollback unnecessary change
2022-10-07 17:31:04 +01:00
jeremy@jermolene.com
12a87840fd
Merge branch 'master' into parameterised-transclusions
2022-10-07 16:57:54 +01:00
jeremy@jermolene.com
fc586481a9
Merge branch 'tiddlywiki-com'
2022-10-07 16:57:34 +01:00
jeremy@jermolene.com
09179d2f62
Deprecated macro: update text
2022-10-07 16:57:19 +01:00
jeremy@jermolene.com
dcbff82460
Docs updates
2022-10-07 16:56:21 +01:00
jeremy@jermolene.com
6be996a858
Docs update
2022-10-06 21:37:14 +01:00
jeremy@jermolene.com
bf41e08c2f
Revert change to setwidget docs
2022-10-06 10:30:40 +01:00
jeremy@jermolene.com
d6ff38095b
Docs: Fix typo
2022-10-06 10:25:14 +01:00
Maurycy Zarzycki
3bbbe77471
Update Polish translations ( #6975 )
...
* add polish translations to changes introduced in two commits:
* ca762ab7a6
* a453121e96
* add polish translations to changes introduced in d7b9e6fb02
* add polish translations to changes introduced in 0b1fc8e574
2022-10-05 15:40:23 +01:00
Maurycy Zarzycki
5657dfec0e
Add VScode user settings directory to git ignore ( #6974 )
2022-10-05 14:51:11 +01:00
jeremy@jermolene.com
9641345b92
Docs updates
2022-10-03 14:40:27 +01:00
jeremy@jermolene.com
93100a1c8f
Remove support for conditional definitions
...
It was introduced for use cases associated with the global mechanism that was dropped in e3d13696c8
2022-10-03 14:39:45 +01:00
Bram Chen
31ab6dce77
Update chinese language files ( #6972 )
...
* Revise the footer and subtitle texts in Fields.multids
2022-10-03 09:45:30 +01:00
jeremy@jermolene.com
4007610d52
Prefer "modal" over "wizard" in the core
...
See https://github.com/Jermolene/TiddlyWiki5/discussions/6965#discussioncomment-3754315
2022-10-02 18:59:05 +01:00
jeremy@jermolene.com
fb34df84ed
New image shortcut should not add journal tags
...
Fixes #6968
2022-10-02 18:55:26 +01:00
twMat
79e2e317cf
Update Styles and Classes in WikiText.tid ( #6969 )
...
Add tag to include this tiddler in the list in the tiddler
https://tiddlywiki.com/prerelease/#How%20to%20apply%20custom%20styles
2022-10-02 17:37:03 +01:00
jeremy@jermolene.com
36896c3db8
Use view template body when opening tiddler in new window
2022-10-02 17:22:48 +01:00
Joe Bordes
82de7c9b1a
i18n(ES) update translation with latest master ( #6971 )
2022-10-02 14:19:26 +01:00
jeremy@jermolene.com
b6796863e8
Merge branch 'master' into parameterised-transclusions
2022-10-01 14:05:54 +01:00
jeremy@jermolene.com
1841b0fa4f
Fix tests
2022-10-01 14:05:13 +01:00
jeremy@jermolene.com
0a309f4865
Merge branch 'master' into parameterised-transclusions
2022-10-01 10:18:34 +01:00
jeremy@jermolene.com
47f80339b2
Update transclude widget to use error widget
...
Missed off #6970
2022-10-01 10:15:14 +01:00
Jeremy Ruston
db6abb9703
Improve recursion detection for transclusion and filters ( #6970 )
2022-10-01 10:13:40 +01:00
jeremy@jermolene.com
8d1e6b5d23
Test plugin should run tests in shadow tiddlers
...
Missed off #6961 , preventing the tests introduced there from running
2022-10-01 10:03:50 +01:00
jeremy@jermolene.com
1df4c29d73
Relax the restriction on the let widget being unable to create variables starting with a dollar
2022-10-01 09:47:26 +01:00
jeremy@jermolene.com
668168dfea
Some widget.js cleanups
2022-09-27 08:58:10 +01:00
jeremy@jermolene.com
502a1ab70d
Merge branch 'master' into parameterised-transclusions
2022-09-27 08:56:58 +01:00
jeremy@jermolene.com
109edd1b76
Docs update
2022-09-24 15:09:12 +01:00
jeremy@jermolene.com
d950835e2f
Docs clarification
2022-09-24 15:05:54 +01:00
jeremy@jermolene.com
81e4745c56
Update release note contributors list
2022-09-24 14:23:36 +01:00
jeremy@jermolene.com
87597ea273
Update release note
2022-09-24 14:20:30 +01:00
jeremy@jermolene.com
a482f01352
Merge branch 'master' into parameterised-transclusions
2022-09-24 14:08:44 +01:00
Jeremy Ruston
4e9267ea58
Introduce genesis widget ( #6961 )
...
* Initial Commit
* Fix version number
* Fix docs date
2022-09-24 14:07:42 +01:00
jeremy@jermolene.com
e3d13696c8
Remove implementation of $:/globals/
...
Performance with this implementation is inherently poor because of the need to perform a wiki lookup for each child widget created.
2022-09-24 12:56:06 +01:00
jeremy@jermolene.com
1aba8a1f65
Slight optimisation to user defined widgets
2022-09-24 12:41:28 +01:00
jeremy@jermolene.com
fddaa9fdb1
Merge branch 'master' into parameterised-transclusions
2022-09-24 11:07:53 +01:00
jeremy@jermolene.com
dd66fcc759
Merge branch 'tiddlywiki-com'
2022-09-24 11:06:39 +01:00
jeremy@jermolene.com
8ebb9ef442
Typo from a981f8ccfe
...
Fixes #6955
2022-09-24 10:55:22 +01:00
jeremy@jermolene.com
81ac987484
Optimise variable prototype chain handling
...
With this improvement and 53d229592d
I'm measuring a 10-15% performance improvement between v5.2.3 and master using https://github.com/Jermolene/tiddlywiki-performance-test-rig
2022-09-24 08:28:16 +01:00
jeremy@jermolene.com
0a00da6db9
Optimise fake dom
...
Object.setPrototypeOf() appears to be significantly faster
2022-09-23 18:09:45 +01:00
jeremy@jermolene.com
53d229592d
Optimise wiki.getTiddler()
2022-09-23 18:09:16 +01:00
jeremy@jermolene.com
166a156584
Fix typo: Safe mode should prevent globally disabling parser rules
2022-09-23 18:08:28 +01:00
jeremy@jermolene.com
c5d3d4c26e
Disable wiki indexers in safe mode
2022-09-23 18:07:46 +01:00
Robin Munn
51bdf60ee8
Fix bug when using built-in list
field as listField parameter to checkbox widget ( #6897 )
...
* Fix bug with checkbox widget and `list` field
The `list` field is stored as a list and frozen against modifications,
and getFieldList() returns it directly without creating a copy. So
before we modify it, we need to make a copy so we're not modifying a
frozen list. This bug doesn't manifest with custom fields, which are
stored as strings, only with the built-in `list` field.
* Fix checkboxes referencing non-existent tiddlers
This fixes the "tiddler is undefined" error when a checkbox's listField
property references a tiddler that doesn't (yet) exist.
* Better logic for checkbox listField handling
If the field contains an array, then it's almost certainly referenced
elsewhere and needs a defensive copy made. If it contained a string,
then it's safe to modify without making a defensive copy.
2022-09-22 18:52:55 +01:00
jeremy@jermolene.com
0c88467111
Merge branch 'master' into parameterised-transclusions
2022-09-22 10:35:01 +01:00
jeremy@jermolene.com
50f54ba6ca
Merge branch 'tiddlywiki-com'
2022-09-22 10:34:41 +01:00
jeremy@jermolene.com
1a0ab68dec
Complete fix for a981f8ccfe
2022-09-22 10:34:27 +01:00
jeremy@jermolene.com
c3589357bf
Huge Documentation Update
...
Not quite finished, but definitely on the home stretch
2022-09-21 10:41:03 +01:00
jeremy@jermolene.com
0196844f17
Merge branch 'master' into parameterised-transclusions
2022-09-21 09:33:24 +01:00