Saq Imtiaz
8f9e8c1dee
Keyboard widget: provide variable for shortcut descriptor to actions. ( #5782 )
2021-06-14 12:03:59 +01:00
jeremy@jermolene.com
9faaa31299
Extend action-createtiddler to make new title available as a variable
...
I'm not sure if the docs are clear, but this is quite a big deal, and along with 582b156d5f
makes working with action widgets a lot easier.
2021-06-01 09:41:14 +01:00
Mario Pietsch
f342fdc41d
improve setwidget examples and add a link to and from enlist operator ( #5666 )
2021-05-25 22:19:28 +01:00
Mario Pietsch
68930ceb1b
Extend keyboard widget ( #5648 )
2021-05-25 22:18:37 +01:00
Saq Imtiaz
10b20657cc
Deserializers[] filter operator ( #5673 )
2021-05-22 10:50:11 +01:00
Saq Imtiaz
270ead4701
Eventcatcher: Fixed FF and IE bugs, added stopPropagation attribute ( #5711 )
2021-05-21 09:43:20 +01:00
Saq Imtiaz
05d38054c8
Drag and drop images in the editor to import and insert ( #5699 )
...
* Merge
* Clean up
* More clean up
* Ensure image import works when type is not set, clean up post import actions
* Removed spurious new line
* For non image files insert a tiddler link
* Added documentation for new settings and features
2021-05-19 21:52:43 +01:00
Saq Imtiaz
3f98686153
Extend <-popup> to create floating popups that must be manually cleared ( #5655 )
2021-05-02 10:20:39 +01:00
jeremy@jermolene.com
4a99e0cc7d
Change "index" attribute of list widget to "counter", and use 1-based counting
...
Extends #5611
2021-04-26 14:41:26 +01:00
Saq Imtiaz
ca1cf7bb41
MessageCatcher docs: corrected typo ( #5632 )
2021-04-25 08:24:02 +01:00
Jeremy Ruston
85ba7ac041
Extend list widget with "index" attribute ( #5611 )
...
* Extend list widget with "index" attribute
* Fix refreshing bug
* Clarify performance note
2021-04-20 09:15:11 +01:00
Saq Imtiaz
7f3fed2f50
Update DropzoneWidget.tid ( #5598 )
2021-04-10 10:23:16 +01:00
Saq Imtiaz
eced60853f
Extend Dropzone widget ( #5597 )
...
* Extend dropzone widget with optional actions invoked after tm-import-tiddlers message has been sent. Allows triggering an alternative UX for the import
* Allow restricting a dropzone to specific mimeTypes via mimeTypes and mimeTypesPrefix attributes
* Use a mimeTypesFilter instead of the mimeTypes and mimeTypesPrefix attributes
* Updated refresh handling
* Syntax cleanup
* Replace references to mimeType with content type for consistency with existing documentation. Update documentation for DropZone widget
2021-04-10 09:48:50 +01:00
jeremy@jermolene.com
28521d82f3
Revert "Extend transclude widget to optionally set variables"
...
Actually a partial reversion, because we're keeping the minor refactoring of makeChildWidget() in widget.js
This reverts commit 80ee5adb14
.
2021-04-02 09:47:38 +01:00
jeremy@jermolene.com
54d3782167
Add version banner for docs for #5383
2021-04-02 09:34:27 +01:00
Cameron Fischer
ef6307a64e
Do not escape double quotes in tiddler DIVs to save space ( #5383 )
...
* double quotes are no longer escaped in html bodies
* changed tiddlyweb's html-div-tiddler; documentation
French version still needs a translation though
2021-04-02 09:32:32 +01:00
jeremy@jermolene.com
8d763f7682
Merge branch 'tiddlywiki-com'
2021-03-22 15:24:15 +00:00
twMat
0beac47243
Update SelectWidget.tid ( #5556 )
...
Placeholder value - Correction of previous attempt.
2021-03-21 16:55:18 +00:00
twMat
99bef2614c
Update SelectWidget.tid ( #5555 )
...
Added instrux for placeholder value. [Ref.](https://github.com/Jermolene/TiddlyWiki5/issues/5544 )
2021-03-20 22:43:35 +00:00
jeremy@jermolene.com
80ee5adb14
Extend transclude widget to optionally set variables
...
Partially fixes #5199
2021-03-19 15:37:59 +00:00
jeremy@jermolene.com
9eda02868f
Introduce messagecatcher widget
2021-03-09 18:07:07 +00:00
jeremy@jermolene.com
5e4430dbf9
Fix Radio widget to refresh selectively, and use the checked attribute properly
2021-03-07 15:49:07 +00:00
jeremy@jermolene.com
b58e4236b7
Docs tweaks
...
* The "tip" macro isn't designed to be used in a table cell (it generates a blockquote)
* We avoid full stops at the end of table entries or list items
It seems to be incredibly hard to police consistency with documentation but I think it's very important
2021-03-07 10:32:51 +00:00
jeremy@jermolene.com
6e93770459
Update RangeWidget and RadioWidget examples from #5158
...
@pmario we avoid using the details element because it doesn't remember its state across refreshes. It's not something that we should encourage people to use if they don't understand the limitations.
I also simplified the radio widget example because putting all the options on one line with a vertical bar separator is not a common way to display radio buttons.
2021-03-07 10:23:14 +00:00
jeremy@jermolene.com
40d21f607a
Docs: Minor formatting tweaks
...
I was cloning this docs tiddler to experiment with docs for a new widget and noticed some punctuation inconsistencies
2021-02-07 12:48:06 +00:00
CodaCoder
d5175e4fdc
Update EventCatcherWidget.tid ( #5335 )
...
* Update EventCatcherWidget.tid
Changed "JavaScript events" to "DOM-initiated Javascript events".
Removed the quotes from `"event"`.
Tightened up some of the language.
* Update EventCatcherWidget.tid
Edited/reworded as per discussion(s).
2021-01-04 08:40:35 +00:00
Saq Imtiaz
3016b3d094
Docs update for Set Widget ( #5239 )
...
* Update docs for Set Widget
This updates the docs for Set Widget to add a tip regarding a common source of misunderstanding for users, i.e. using Filtered List Variable Assignment and being confused as to why the value of the variable is in double square brackets.
* Corrected typos
2020-12-09 11:12:57 +00:00
jeremy@jermolene.com
36fe519eff
Merge branch 'tiddlywiki-com'
2020-12-06 13:56:43 +00:00
Mohammad Rahmani
15be409c42
Minor issue in example of Import Variables Widget ( #5165 )
...
an unbalanced [ was resolved.
2020-12-03 22:27:21 +00:00
Saq Imtiaz
1f5e1205ec
Extend Eventcatcher to handle multiple events ( #5185 )
...
* support multiple events
* Add variables for event type and detail. Rename types attribute to events
* Correct typo in refresh handling
2020-12-02 21:15:35 +00:00
Mario Pietsch
880930da8b
Add actions parameter to range-widget + docs! ( #5158 )
...
* add actionsStart, -Stop and actions to range-widgets
* fix indent
2020-12-01 18:11:09 +00:00
Mario Pietsch
1de747b182
add docs for radio-actions ( #5156 )
2020-11-30 18:48:48 +00:00
jeremy@jermolene.com
3406b98af6
Add "autocomplete" attribute to <$edit> and <$edit-text> widgets
2020-11-30 18:48:04 +00:00
saqimtiaz
6c98bb706a
Docs for switching layouts ( #5109 )
2020-11-24 21:38:18 +00:00
saqimtiaz
cb62c8c96d
Docs for eventcatcher ( #5097 )
2020-11-23 17:07:41 +00:00
saqimtiaz
d2f87d6200
Reveal widget allow re-positioning ( #5087 )
...
* Jeremy's original version of the event widget
* Renamed to eventcatcher, added modifier key support and mouse button support as variables
* Reveal widget: update popup position when state tiddler updates
2020-11-21 17:19:52 +00:00
saqimtiaz
c97003238b
Doc updates for ActionLog and Log widgets ( #5081 )
2020-11-20 18:37:48 +00:00
jeremy@jermolene.com
0d434583ec
Merge branch 'tiddlywiki-com'
2020-11-19 10:01:23 +00:00
saqimtiaz
d6e055368d
Added docs for action-confirm widget, added default message for widget and improved logic for disabling it. ( #5047 )
2020-11-16 17:02:22 +00:00
Robin Munn
d8d88c67e3
Fix minor mistake in ButtonWidget docs ( #5050 )
...
The ButtonWidget documentation refers to a "state" attribute, but this
should probably be "set". The name "state" appears to be an artifact
from when the setTitle, setField, and setIndex attributes were added to
the widget; at one time they were called stateTitle and so on, and then
they were renamed to setTitle instead, but not every instance of "state"
was found and renamed to "set". This is one such instance, now fixed.
2020-11-16 16:50:32 +00:00
jeremy@jermolene.com
1b31c25ea7
Introduce <$action-log> widget to help debugging action strings
2020-11-14 13:00:00 +00:00
saqimtiaz
09f7ad84b2
Added disabled attribute to input widgets ( #5014 )
...
* checkbox widget: added disabled attribute
* Range widget: added disabled attribute
* Radio widget: added disabled attribute
* EditText widget: added disabled attribute
2020-11-09 18:28:12 +00:00
saqimtiaz
71194d8767
Added disabled attribute support to ButtonWidget ( #5010 )
...
* Added disabled attribute to ButtonWidget
* Update ButtonWidget.tid
2020-11-08 22:32:27 +00:00
jeremy@jermolene.com
0027b990e4
Move tw5.com docs tiddlers to the correct folders
2020-10-04 17:36:08 +01:00
jeremy@jermolene.com
f7a626fef2
Add version tag missed off ae13a0fee1
2020-09-29 16:40:24 +01:00
jeremy@jermolene.com
ae13a0fee1
Extend Macro Call Widget to support outputting raw text
2020-09-28 11:30:28 +01:00
jeremy@jermolene.com
918e52b37b
Merge branch 'tiddlywiki-com'
2020-08-28 15:25:47 +01:00
Mario Pietsch
21f1c163d8
Update navigator widgets parameter docs ( #4828 )
...
Update navigator widgets parameter docs
2020-08-27 15:36:13 +01:00
Simon Huber
95e30138f0
Add modifier variable to linkcatcher actionstring ( #4758 )
...
* Add modifier variable to linkcatcher actionstring
* Update LinkCatcherWidget.tid
2020-07-15 12:27:14 +01:00
Simon Huber
00ff0d6fa0
Add modifier variable to button actionstring ( #4671 )
...
* Add modifier variable to button actionstring
* Update ButtonWidget.tid
* Update droppable.js
* Create getEventModifierKeyDescriptor method in keyboard.js
* Update droppable.js
* Update button.js
2020-07-14 17:04:06 +01:00
Simon Huber
0d2df34c58
Keyboard-driven dropdown inputs ( #4725 )
...
* Add shortcut descriptions to Misc.multids
* Update framed.js
* Update simple.js
* Add inputActions and refreshTitle to factory.js
* Add inputActions and refreshTitle to edit.js
* Update DefaultSearchResultList.tid
* Update search.tid
* Update ShortcutInfo.multids
* Update shortcuts.multids
* Create keyboard-driven-input.tid
* Update tag-picker.tid
* Create keyboard-driven-input_Macro.tid
* Update EditTextWidget.tid
* Update EditWidget.tid
* Update engine.js
* Update base.tid
* Use primaryListFilter, secondaryListFilter, primaryList and secondaryList
* Update tag-picker.tid
* Update search.tid
* Update DefaultSearchResultList.tid
* Update keyboard-driven-input_Macro.tid
* Fix typo udpate -> update
* Update framed.js
2020-07-13 17:42:55 +01:00
twMat
4c39db1f54
Update ActionListopsWidget.tid ( #4738 )
2020-06-27 13:13:01 +01:00
twMat
6f4f38506e
Update NavigatorWidget.tid ( #4733 )
2020-06-27 13:11:41 +01:00
saqimtiaz
d46872c061
Extend tm-import-tiddlers message ( #4741 )
...
* Allow tm-import-tiddlers event to override tv-auto-open-on-import
* Add autoOpenOnImport attribute to dropzone
* Updated DropZone docs
* Updated dropzone to support importTitle attribute
* Updated navigator to support importTitle attribute on tm-import-tiddlers
* Update dropzone docs for importTitle attribute
* Updated docs for tm-import-tiddlers
* Fixed formatting
2020-06-27 12:32:11 +01:00
jeremy@jermolene.com
fc1877dcce
Merge branch 'tiddlywiki-com'
2020-06-16 14:15:10 +01:00
twMat
2f55a8808c
Update KeyboardWidget.tid ( #4606 )
...
Add railroad for key strings.
2020-06-13 19:29:38 +01:00
twMat
1f1fd49d0b
Update LinkWidget.tid ( #4690 )
...
add image link
2020-06-11 12:11:12 +01:00
Simon Huber
e59f606566
Cancel popups when clicking within an editor ( #4658 )
...
* Add cancelPopups attribute to edit widget
* Add cancelPopups attribute to factory.js
* Cancel popups in editor/simple.js
* Cancel popups on focus in engines/framed.js
* Cancel popups on focus in CodeMirror engine
* Add cancelPopups="yes" to tag-picker
* Add cancelPopups="yes" to sidebar search
* Add cancelPopups="yes" to editor
* Add cancelPopups="yes" to fields EditTemplate
* Update body.tid
* Add cancelPopups="yes" to title EditTemplate
* Add cancelPopups="yes" to type EditTemplate
* Update EditTextWidget.tid
* Update EditWidget.tid
* Add cancelPopups="yes" to menubar plugin search
* Update tag-picker.tid
* Update tags.tid
2020-06-11 11:41:35 +01:00
jeremy@jermolene.com
a4fb57bf15
Fix typo in BrowseWidget docs
2020-04-22 12:10:34 +01:00
jeremy@jermolene.com
77a929faa3
ActionPopup widget: Add ability to cancel all popups
2020-04-21 22:19:03 +01:00
jeremy@jermolene.com
c86a621d5d
BrowseWidget: Add "accepts" attribute
...
And add docs for the 'message' and 'param' attributes
2020-04-21 22:18:34 +01:00
Jeremy Ruston
28fe82feff
Merge branch 'tiddlywiki-com'
2020-04-15 16:03:38 +01:00
Mario Pietsch
22802b4be8
Action create tiddler improvements ( #4436 )
...
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* add $template and $overwrite parameter
* documentation for new parameters + 4 new examples
* remove unwanted files
2020-04-15 15:51:21 +01:00
Mario Pietsch
de5b0062b5
Add new parameters to fields-widget and fields-operator. ( #4433 )
...
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* extend fields-widget with include/exclude/sort/reverse and fields-filter with include and exclude params plus DOCS
* remove new-line
* remove eslint settings
* restore old eslint settings
* remove typo
2020-04-15 12:36:48 +01:00
twMat
a8c55781fa
Update ViewWidget.tid ( #4441 )
...
ref https://github.com/Jermolene/TiddlyWiki5/issues/4438
2020-04-14 17:16:07 +01:00
twMat
9313d9427d
Update RevealWidget.tid ( #4451 )
2020-04-14 17:15:26 +01:00
twMat
5c3a19f298
Update RangeWidget.tid ( #4453 )
2020-04-14 17:14:59 +01:00
Jeremy Ruston
cf46b6b0ff
Add "class" attribute to dropzone widget
2020-04-03 10:33:39 +01:00
Jeremy Ruston
010483f705
Fix ActionPopupWidget example
...
Thanks @twmat
The example had been written while there was a bug that changed the state tiddler titles used by the sidebar
2020-03-30 20:43:17 +01:00
Jeremy Ruston
9ae2c15638
Merge branch 'tiddlywiki-com'
2020-03-30 14:29:55 +01:00
Jeremy Ruston
cb52d709c2
Improve ability to disable drag and drop
...
Now we disable the draggable list macros too.
2020-03-20 10:46:17 +00:00
Jeremy Ruston
bc687e5783
Add a hidden setting for disabling the page dropzone
2020-03-15 14:46:33 +00:00
twMat
2ad8d1790b
Update LinkWidget.tid ( #4489 )
2020-03-11 17:37:53 +00:00
Jeremy Ruston
24d2804799
Add action-popup widget
...
Fixes #4185
2020-03-03 12:03:32 +00:00
saqimtiaz
5b3443947e
Update documentation for tabindex support for ButtonWidget ( #4465 )
...
Documentation for changes introduced in https://github.com/Jermolene/TiddlyWiki5/pull/4442
2020-02-23 11:27:49 +00:00
twMat
9d2eff61ca
Docs: Update ViewWidget.tid ( #4437 )
2020-02-01 13:41:43 +00:00
Jeremy Ruston
b454e809f3
Docs: Fix typos in button widget docs
2020-01-31 17:15:09 +00:00
Jeremy Ruston
bfbd886a8b
Add "index" attribute to range widget
2019-11-04 18:56:22 +00:00
Matt Lauber
6e57f16517
Documentation: typo in Range widget documentation ( #4288 )
...
The documentation for the range widget refers to radio buttons, instead of range sliders.
2019-10-04 15:50:32 +01:00
Matt Lauber
a9cc292dc9
Add an example to the $fieldmangler widget ( #4287 )
...
Add an example to the field mangler widget demonstrating the `tiddler` param.
2019-10-04 15:50:00 +01:00
Jeremy Ruston
b5e4cc0cc8
Docs: Clarify reveal widget animation requirements
2019-09-10 16:07:36 +01:00
Jeremy Ruston
067e8a9f94
Merge branch 'tiddlywiki-com'
2019-08-09 10:29:46 +01:00
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
3edaa652ee
Reveal widget: add option to avoid clamping popup position
...
Fixes #4041
2019-07-04 15:58:27 +01:00
Jeremy Ruston
d8b79723cd
Docs: Remove broken example of checkbox actions attribute
...
See https://github.com/Jermolene/TiddlyWiki5/pull/3996#issuecomment-503596160
2019-06-19 15:56:07 +01:00
twMat
6fd70f9c11
Docs: Update CheckBox example ( #3996 )
2019-06-18 10:49:52 +01:00
Jeremy Ruston
f02352f6a1
Use default link text when link widget has no content
...
Fixes #3974
2019-06-10 21:04:21 +01:00
Jeremy Ruston
1e8a56768f
Update ListWidget docs
...
Fixes #3964
2019-06-08 17:34:06 +01:00
Jeremy Ruston
28c732d2be
Improve action-createtiddler to return a draft title too
2019-06-04 12:33:01 +01:00
Simon Huber
648c7ccd1f
Add documentation for edit-text tabindex attribute ( #3833 )
...
* add tabindex attr to edit-text documentation
* add tabindex to edit widget documentation
2019-03-09 17:45:59 +00:00
Jermolene
477c41f843
Add tooltip attribute to select widget
2019-03-04 12:24:16 +00:00
00SS
c5aa855ce6
Docs: add example to CountWidget.tid ( #3732 )
...
* Update CountWidget.tid
Just a simple example added.
* Update CountWidget.tid
Made a slight addition to conform with the same style used in the Examples section of the $text widget: TextWidget.tid
* Update CountWidget.tid
Modified to use the Documentation display macro:
`<<wikitext-example-without-html>>`
2019-01-27 19:28:42 +00:00
Jermolene
79eb6a5ec1
Docs typo
2019-01-18 09:19:58 +00:00
Jermolene
7c0528340d
Docs: Clarify use of "actionTiddler" variable
2019-01-18 08:57:08 +00:00
00SS
479726c46e
Update TextWidget.tid ( #3696 )
...
Used Example display method of <<wikitext-example-without-html>> and added another example.
2019-01-15 16:14:50 +00:00
twMat
9232279a79
Update EditBitmapWidget doc to reflect update in code ( #2725 )
2018-11-27 18:11:21 +00:00
Bimba Laszlo
d55a498fca
Docs: Clarify TextWidget with example ( #3564 )
2018-11-21 11:26:00 +00:00
BurningTreeC
eea034c32d
Docs: add state* documentation to button and reveal widgets ( #3553 )
...
* docs: add state* attributes to reveal widget
* docs: add state* attributes to button widget
2018-11-19 17:59:04 +00:00
Marxsal
729c1e1030
Add lt, gt, lteq, and gteq to text attribute description. ( #3470 )
2018-11-06 15:34:21 +00:00
Marxsal
7cd1c48643
Doc - additional notes re list widget behavior ( #3480 )
2018-11-06 15:33:00 +00:00