Jeremy Ruston
6b6def8725
Fixed the view macro to fail silently if the target tiddler doesn't exist
2012-10-10 10:45:58 +01:00
Jeremy Ruston
1d6eba3071
Add "transclude" format for the view macro
...
Uses the value of the field as the title of a tiddler to transclude
2012-08-23 12:31:16 +01:00
Jeremy Ruston
9c26f04928
Extraneous line break
2012-07-10 23:18:17 +01:00
Jeremy Ruston
9d39e9a5f1
A better fix for refreshing nested macros
2012-06-19 16:56:55 +01:00
Jeremy Ruston
b17a43707d
Ensure that the view macro doesn't generate a pair of nested macros
...
Because that will stop the refresh mechanism from working
2012-06-19 16:46:50 +01:00
Jeremy Ruston
e5ba101ebe
Fixed problem with view macro generating null content
...
Avoids errors better to generate empty content
2012-06-11 17:36:28 +01:00
Jeremy Ruston
b90688042c
Set block status of link macro created by view macro
2012-06-09 22:25:13 +01:00
Jeremy Ruston
199d2acb5a
Stop the view macro returning extraneous elements
2012-06-09 19:04:42 +01:00
Jeremy Ruston
9247bb0186
Tweaked mechanism so that macros can be nested directly inside other macros
2012-06-09 18:50:01 +01:00
Jeremy Ruston
04e91245cb
Refactored macro mechanism
...
Now there is now longer a dummy DOM element corresponding to the macro
itself. Instead, macros must create a single element child. This allows
us to more easily fit Bootstrap's requirements for HTML layout (eg,
that problem with links in navbars not being recognised). The
refactoring isn't complete, there are still a few bugs to chase down
2012-06-09 18:36:32 +01:00
Jeremy Ruston
49a3cb8ede
Allow for macros and classes at both run level and block level
...
Involving a bit of a refactoring of the parameters to the
$tw.Tree.Macro constructor
2012-05-28 15:51:52 +01:00
Jeremy Ruston
34edb48784
A quick sweep for missing or inaccurate code comments
2012-05-19 18:23:14 +01:00
Jeremy Ruston
9465da4335
Part two of turning the rabbit hole inside out
2012-05-05 22:57:21 +01:00