1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 06:14:53 +00:00
Commit Graph

242 Commits

Author SHA1 Message Date
Marxsal
94d460ef20 CheckboxWidget actions documentation (#2673)
* Add example of how to use action parameter in Checkbox Widget

* Doc: CheckboxWidget actions
2016-12-30 17:46:48 +00:00
Tobias Beer
e5b432a86b Allows checkbox widget to worth with indexes within data tiddlers (#2103) 2016-12-17 11:59:59 +00:00
Tobias Beer
d6d3aab36a Allow radio widget to work with indexes in a data tiddler (#2104)
* allow radio widget to set an index in a data tiddler

* updated RadioWidget docs, with same demo macro as for CheckboxWidget
in #2103
* removed docs in widget code (seems the wrong place)

* added from version to docs

* revert doc maros to master

* using wikitext-example-without-html and .tip macro now

* fix quotes
2016-12-17 11:51:24 +00:00
Marxsal
4d3d7de3b5 Add example of using a text reference with a field in RevealWidget (#2660)
* Adding example of how to use a field's text references to control the RevealWidget.

* Attempting to add field "jeremy".
2016-12-16 17:38:29 +00:00
Jermolene
3bceb98119 Add support for actions attribute to CheckboxWidget 2016-11-26 08:21:58 +00:00
Jermolene
c72a0b7a67 Add action-createtiddler widget
Basically the same as sending a tm-new-tiddler message except that the
newly created tiddler is not added to the story.
2016-10-21 11:26:26 +01:00
Jermolene
b35544bf49 Extend set widget to support returning a single result from a filter
This solves the problem with extraneous double square brackets when
using the filtered set widget.
2016-10-18 09:16:47 +01:00
Jermolene
d9f301f755 Add 'formattedtext' output type to Wikify widget 2016-10-18 09:13:52 +01:00
Jermolene
ee9d19d299 Fix problem with highlight plugin language brushes
TiddlyWiki passes the MIME type of the tiddler to highlight.js as the
"language brush", but it turns out that highlight.js doesn't actually
understand MIME types. This commit introduces a configuration mapping
between common MIME types and highlight.js language brushes

Fixes #2535
2016-08-18 09:07:06 +01:00
nameanyone
12e3e8b489 Fix a link to GroupedTiddlers (#2537) 2016-08-15 18:42:26 +01:00
Myeongjin
80256b4dab Update document in tiddlywiki.com edition
* Add string '.htm' to 'Saving with TiddlyIE'
* Change external links to match locale with wiki language
* Add instructions for use to 'Saving on Android'
* Change string in 'task'
* Change instructions for use in 'Saving on iPad/iPhone'
* Add newline to 'TiddlyDesktop Releases'
* Remove caption from 'Serving TW5 from Android'
* Change link to external in tiddlers which tagged 'Editions'
* Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki'
* Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community'
* Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community'
* Change string 'done' to 'Upgrade' in 'UpgradeMechanism'
* Change buttons to images in 'How to export tiddlers'
* Add images about buttons to tiddlers
* Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement'
* Rename 'UsingSVG' to 'Using SVG'
* Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG'
* Add tiddler 'Using Stamp'
* Add 'rel="noopener noreferrer"' to external links
* Add description about 'rel="noreferrer"' to 'HTML in WikiText'
* Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language'
* Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library'
* Add download button to 'Empty Edition'
2016-07-06 01:10:51 +09:00
Jermolene
3d5885f5a5 Extend view widget with plainwikified format 2016-06-23 16:28:59 +01:00
Jermolene
3c20f2396e Add support for assigning action widgets via the actions attribute
This is quite a big change: a new way to invoke action widgets.

The advantage is that it solves #2217 and #1564, a long running problem
that prevented us from adding action widgets to widgets that modify the
store.

This commit adds the new technique for the button and keyboard widgets,
but also extends the select widget to trigger action widgets for the
first time
2016-04-29 18:54:44 +01:00
Jermolene
39f0c19c9a Allow "yes" as a synonym of "true"
For consistency
2016-04-29 18:54:44 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
nome
9e01a30dc7 Small documentation fixes
* Copy example from  ActionSendMessageWidget to tm-new-tiddler

It is counter-intuitive that the ActionSendMessageWidget documentation has more information on tm-new-tiddler than the more specific one.

* Fix link in reference docs

* Fix some typos
2016-04-04 12:45:31 +01:00
Jeremy Ruston
677e100ea2 Merge pull request #2185 from matabele/patch-8
Fixed typos in docsof ActionListops widget
2016-01-06 09:45:14 +00:00
Jermolene
3fa5ba52f9 Revert "Merge pull request #2183 from matabele/patch-7"
This reverts commit cd36ad582b, reversing
changes made to 83c54f4bb5.
2016-01-06 09:38:12 +00:00
William Jackson
366cdb608d Fixed typos in docsof ActionListops widget 2016-01-06 07:32:33 +02:00
William Jackson
152c3db9a1 Updated docs to include setting of TextReferences
Can now accept any number of attributes of the form TextReference="value" -- these may be fields "(Tiddler!!field="value") or indices (Tiddler##index="value.)
2016-01-05 21:02:18 +02:00
Jermolene
0cbe97615a Add size attribute to select widget for multiple selection mode 2016-01-05 18:48:21 +00:00
Jeremy Ruston
540354a693 Merge pull request #2162 from matabele/patch-4
Updated docs of the ActionListops widget to reflect changes to attribute names
2016-01-05 15:30:27 +00:00
William Jackson
91b970e422 Updated docs of the ListOps widget to reflect changes to attribute names 2015-12-28 10:42:46 +02:00
Tobias Beer
456e7abc5d add rows attribute to edittext, plus docs 2015-12-24 15:40:00 +01:00
Jermolene
3a426dfd2a Docs for #2049 2015-12-24 14:12:53 +00:00
Jeremy Ruston
dcc53b8e96 Merge pull request #2074 from mklauber/master
Manage a list field by allowing the <$select> widget to select multiple items.
2015-12-24 13:48:43 +00:00
Tobias Beer
c2dea12f1c documentation for "tc-popup-keep" 2015-12-23 23:28:47 +01:00
Jermolene
c2105de49c Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
Jeremy Ruston
da36f1c728 Merge pull request #2037 from matabele/Listops
ActionListopsWidget
2015-12-06 19:04:26 +00:00
Matt Lauber
1569090046 typo 2015-11-13 07:53:47 -05:00
Matt Lauber
75380c56cc Oops, deleted metadata 2015-11-13 07:53:19 -05:00
Matt Lauber
c535dd605c Grant the select widget the ability to select multiple values.
Multiple values are placed in a given tiddler-field combination as if
that field were a list field.
2015-11-13 07:50:34 -05:00
William Jackson
5877a26855 Create ListopsData.tid
Data tiddler for Extended Listops documentation examples
2015-11-08 10:40:49 +02:00
William Jackson
7370d61602 Create The Extended Listops Filters.tid
Supplementary documentation for the ActionListops widget -- examples using the extended filters
2015-11-08 09:59:41 +02:00
William Jackson
ac9aa78859 Create ActionListopsWidget.tid
Primary documentation for ActionListops widget
2015-11-08 09:56:37 +02:00
Jeremy Ruston
9d7a850e83 Merge pull request #1943 from Spangenhelm/patch-1
Fix the title
2015-10-26 18:14:57 +00:00
afeldspar
7492086f31 add explanation on 'set' attribute
Attempted a fix for the problem I raised in #2038, by adding an explanation of why a TextReference in a button widget's 'set' attribute will lack the curly braces seen nearly anywhere else a TextReference is used as a widget attribute.
2015-10-20 21:15:58 -04:00
Tony Grosinger
2e1ad771d6 Whitespace clean up and missing close tag
Clean up for CodeblockWidget documentation.
2015-10-04 13:05:46 -07:00
Tony Grosinger
650a9a76df Add documentation to tw5.com for CodeBlock widget
Partial fix for #1985
2015-10-03 16:48:47 -07:00
Tobias Beer
1b2d54b4bf wording for docs 2015-09-25 15:43:31 +02:00
Tobias Beer
6b3fc8d538 updated #1480 "undefined value removes field or index"
when $value is unspecified, $action-setfield removes field or index...

modified

setText() — $:/core/modules/wiki.js
invokeAction() — $:/core/modules/widgets/action-setfield

demo

http://tobibeer.github.io/tw/batch/#ActionSetField-RemoveIndex
2015-09-25 15:20:37 +02:00
Florent V.
bbc802e228 Fix the title
to match the one required by the "FieldManglerWidget" tiddler's link to examples, broken for now. (pointing to a non existant tiddler because of the wrong name)
2015-09-16 04:55:07 +02:00
Jermolene
e5cd8313a0 Update actionsetfield widget to allow timestamp to be preserved 2015-08-06 18:17:09 +01:00
Jeremy Ruston
d327d6fbed Merge pull request #1868 from idoine/patch-44
Update FieldManglerWidget.tid
2015-07-08 16:29:46 +01:00
Marc Viot
5be980c64e Rename FieldMangler Widget (Examples) to FieldMangler Widget (Examples).tid 2015-07-06 19:52:11 +02:00
Marc Viot
5924616ee9 Create FieldMangler Widget (Examples) 2015-07-06 19:46:21 +02:00
Marc Viot
caeb736c2b Update FieldManglerWidget.tid
Add a link to example
2015-07-06 19:09:17 +02:00
Richard Smith
f3d915f578 changed the tag value used in the final example
Because "Introduction" is no longer used on Tiddlywiki.com, so the example is a bit confusing
2015-07-03 14:09:59 +10:00
Jermolene
63f802efda Rename checkbox "invert" attribute to "invertTag"
And update docs
2015-06-26 10:18:15 +01:00
Jermolene
b31803608b Refactor navigator widget configuration
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
61a722c7fd Docs updates 2015-06-19 16:39:47 +01:00
Jermolene
4a30d8772c Update button widget docs 2015-06-19 12:12:41 +01:00
Devin Weaver
f7b2e41f3a Make EditTextWidget docs clearer
This is my attempt to make the EditTextWidget clearer. I found it was
confusing and sent me down the wrong path prompting me to open
issue #1776.

Fixes #1776
2015-06-07 12:02:36 -04:00
Jermolene
09debe56c1 Clarify use of "slider" terminology
Fixes #1735
2015-05-18 17:34:03 +01:00
Jermolene
6942efa628 Add styling for <kbd> elements 2015-05-14 10:16:33 +01:00
nameanyone
29db528d74 RevealWidget state can be a text reference 2015-05-10 03:58:09 -07:00
Vouko
e0ec325afa Update SetWidget.tid 2015-05-02 10:56:24 +02:00
Jermolene
df84e93283 Add position: relative to scrollable widget
So that popups within the scrollable behave correctly.

Fixes #1679
2015-04-27 13:38:20 +01:00
Jermolene
e518c0e88e Fix typo #1681
Thanks @Ishindri
2015-04-27 13:25:43 +01:00
Jermolene
bd6472c1d1 Add style attribute to reveal widget 2015-03-23 15:28:26 +00:00
Jeremy Ruston
e4cc5dca77 Merge pull request #1545 from aelocson/variable-docs
Document the tv-* variables
2015-03-11 21:44:32 +00:00
Jermolene
1808b1597e Support custom HTML element tags for reveal widget 2015-03-10 12:44:47 +00:00
Astrid Elocson
27e6c7bb8d Add links to tv-* variables in LinkWidget.tid 2015-02-28 14:45:22 +00:00
Astrid Elocson
61b8180562 Resolve merge conflict in LinkWidget.tid 2015-02-25 12:53:57 +00:00
Astrid Elocson
e4525a95c5 Try again to resolve merge conflict in LinkWidget.tid 2015-02-25 08:01:38 +00:00
Astrid Elocson
40c6362fbe Resolve merge conflict in LinkWidget.tid 2015-02-25 07:57:55 +00:00
Astrid Elocson
ad9aa58528 Overhaul the macro and variable documentation 2015-02-21 23:03:24 +00:00
Jermolene
74f423af2a Restoring some of @tobibeer's other edits to ListWidget docs 2015-02-13 22:56:28 +00:00
Jermolene
68165af081 Revert #1330 ("implements list iterator variables")
As discussed on the ticket, there is a problem:

https://github.com/Jermolene/TiddlyWiki5/pull/1330#issuecomment-74339195
2015-02-13 22:42:36 +00:00
danielo515
f20a09532a templates are not clear
The template description is too ambiguous. I tried to use template tiddlers just to realize that the template should be a string. For example a date format.
2015-02-08 20:11:07 +01:00
Roma Hicks
687d6350d4 Added class mechanism to checkbox widget. #1463 2015-02-06 01:02:01 -06:00
Jermolene
3300ed9602 Update action widget docs for 4cd8466adb 2015-01-28 16:31:49 +00:00
Tobias Beer
80631b35ea updated NestedLists, renamed to GroupedLists added tw-code macro
Didn't implement the codeblock widget as suggested here...

https://github.com/Jermolene/TiddlyWiki5/pull/1332#discussion_r22762157

...because it would only return `undefined`.
2015-01-11 11:55:22 +01:00
Tobias Beer
3d61dd1aa9 documentation for #1330
heavily modified ListWidget
extracted NestedLists

added IteratorVariables
2015-01-06 21:18:28 +01:00
Jermolene
95897103ef Update edit-text widget docs 2015-01-04 14:10:13 +00:00
Jermolene
785e1c7789 Tweaks to tiddler widget docs 2015-01-02 17:11:37 +00:00
Tobias Beer
31c9998c62 fixes example and improves readability 2014-12-31 12:38:15 +01:00
Jermolene
d7cd94dbd6 Fix state tiddler used for examples
Putting it in the `$:/state/` namespace ensures that it doesn’t dirty
the wiki

Fixes #1247
2014-12-21 16:21:19 +00:00
Jermolene
5d8dc1dcd9 Update docs for 5.1.6
Also preparing for 5.1.7-prerelease
2014-12-19 15:51:56 +00:00
Tobias Beer
2317840ce6 updated documentation for link-button 2014-12-16 15:36:20 +01:00
Tobias Beer
05a794d5b8 documentation for making buttons look like links
added instructions to button widget documentation
2014-12-15 17:55:56 +01:00
Jermolene
cbc8a6b785 Tweak SelectWidget docs 2014-12-03 17:29:32 +00:00
Erwan Moreau
da541b656c missing verb
also added the begining of the sentence to make it clearer, but maybe not necessary.
2014-11-29 18:59:31 +00:00
Jermolene
7d46afc7b2 Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
Evolena
217614b7c6 Update selectWidget example (the tag was deleted) 2014-10-28 17:13:00 +01:00
Jermolene
3d07b11894 Docs update
Fixes #1014 raised by @erwanm
2014-10-27 19:39:41 +00:00
Jermolene
3fea51a08b Reorganise docs updates for 5.1.5 additions
We’ll keep the docs for the new features in the prerelease edition
until the release of 5.1.5. This means that we can continue to build
the tw5.com edition without including the 5.1.5-specific content.
2014-10-25 14:24:01 +01:00
Jermolene
d8248cfba7 Introduce action-setfield widget 2014-10-25 14:02:34 +01:00
Jermolene
c724439a08 Docs update 2014-10-25 14:02:21 +01:00
Jermolene
4a17212576 Enhance height control for edit-text widget
Added the option to disable automatic resizing, and the ability to
specify the minimum height.
2014-10-25 10:09:17 +01:00
Jermolene
da86664a53 Update docs for select widget 2014-10-24 16:52:20 +01:00
Jermolene
1b620387dd Extend the view widget to work with subtiddlers 2014-10-22 14:12:49 +01:00
Jermolene
ba81008951 Docs typos 2014-10-21 13:25:27 +01:00
Jermolene
5c137b9002 Docs for update to browse widget 2014-10-20 16:57:06 +01:00
Jermolene
12e26009ee Allow percentage width and height on image widget 2014-10-19 13:21:20 +01:00
Jermolene
ad13d57523 Use separate state for each slider demo
Fixes #988
2014-10-17 10:02:21 +01:00
Evolena
2fe095fcd1 Fix bad links 2014-10-12 13:59:26 +02:00
Jermolene
03defe4256 Docs cleanup 2014-10-10 10:35:36 +01:00
Jermolene
0dcf54c3b5 Add support for action widgets
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
fghhfg
f2e97eeb25 add a example 2014-10-07 00:38:12 +08:00