1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 15:30:47 +00:00
Commit Graph

167 Commits

Author SHA1 Message Date
Jeremy Ruston
474212dade And now the tag popups hide themselves after being used 2012-06-13 16:21:08 +01:00
Jeremy Ruston
ccfa7e1322 Fixed the appearance of tag dropdowns 2012-06-13 16:09:07 +01:00
Jeremy Ruston
161ddcb473 Made it so clicking outside a popup cancels the popup
Clicking inside still doesn't cancel it, though
2012-06-13 15:37:07 +01:00
Jeremy Ruston
c168ec0ad4 Allow macros to specify capturing event handlers 2012-06-13 15:36:16 +01:00
Jeremy Ruston
28fd037c47 Got the tag dropdowns working
They don't get dismissed correctly, though
2012-06-13 13:19:55 +01:00
Jeremy Ruston
a160fb07e4 Sort tagged tiddlers 2012-06-13 13:19:32 +01:00
Jeremy Ruston
558aaf338f Fixed issue with textnodes ignoring insertBefore parameter 2012-06-13 10:41:36 +01:00
Jeremy Ruston
0830cdac73 Mo' comments 2012-06-13 10:41:10 +01:00
Jeremy Ruston
caf32d9598 Instituted minimum height for edit textareas 2012-06-13 09:27:58 +01:00
Jeremy Ruston
e5b6d9a722 Adjusted tag dropdown
Slowly getting the tag dropdowns working properly
2012-06-13 09:12:41 +01:00
Jeremy Ruston
c3c0abd864 Add reveal macro that shows or hides content depending on the value of a tiddler 2012-06-13 09:12:09 +01:00
Jeremy Ruston
797544c1f9 Adapted button macro so that it can also toggle the value of a tiddler
We're splitting the slider macro up into its two constituent parts
2012-06-13 09:11:50 +01:00
Jeremy Ruston
fb5d7793ab Added tagging option to list macro 2012-06-13 09:11:19 +01:00
Jeremy Ruston
0641685fc8 Fixes for tags macro 2012-06-13 09:10:50 +01:00
Jeremy Ruston
84a352b804 Added wiki.getTiddlersWithTag()
We should probably use the filter mechanism for this...
2012-06-13 09:10:03 +01:00
Jeremy Ruston
d2b62eabbe Further tweaks to the still broken zooming chooser 2012-06-11 22:04:21 +01:00
Jeremy Ruston
f59c24f053 Change chooser macro to use embedded content
Not quite done with this yet.
2012-06-11 17:37:34 +01:00
Jeremy Ruston
a4a2b27749 Whitespace! 2012-06-11 17:36:40 +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
901b212a66 Fixed zooming chooser 2012-06-11 13:08:16 +01:00
Jeremy Ruston
ed70b4a34b Removed unnecessary class from PageTemplate 2012-06-11 13:07:51 +01:00
Jeremy Ruston
bf85908d5e Fixed problem with setting classes on list and story macros 2012-06-11 13:06:22 +01:00
Jeremy Ruston
6448c70984 Refactor zoomer macro to take into account CSS classes 2012-06-11 13:05:57 +01:00
Jeremy Ruston
00050c3c21 Keep JSHint happy 2012-06-11 12:46:58 +01:00
Jeremy Ruston
9f86f98cb1 Got the zooming navigator working again
Albeit, it doesn't play well with the fixed navbar
2012-06-11 12:44:10 +01:00
Jeremy Ruston
086feb31dc Make scroller work on Firefox 2012-06-11 12:01:49 +01:00
Jeremy Ruston
d0a9bfd0f0 Unhyphenate CSS property names when rendering to the DOM
Annoyingly, Chrome will happily accept `background-color` and
`backgroundColor` interchangeably, so I hadn't noticed that this was
broken...
2012-06-11 10:41:13 +01:00
Jeremy Ruston
45cf175b8b Made sorting be case insensitive 2012-06-10 22:53:29 +01:00
Jeremy Ruston
ef8b9d81de Added navbar to PageTemplate 2012-06-10 22:02:16 +01:00
Jeremy Ruston
006efb0d44 Add div around body in ViewTemplate 2012-06-10 22:01:53 +01:00
Jeremy Ruston
fc49d7dffd Added tags and color macros
Which enables us to do nice colour coded tags. Soon they'll have a drop
down on them too
2012-06-10 19:47:24 +01:00
Jeremy Ruston
2d94e466ae Bump up the version number
As we're going so fast now
2012-06-10 18:12:33 +01:00
Jeremy Ruston
18ae0c5922 Adjustments to default tiddler templates 2012-06-10 18:09:34 +01:00
Jeremy Ruston
7e2ff9e0d8 Extended the image macro to take a width and height 2012-06-10 18:09:15 +01:00
Jeremy Ruston
298b10b8f9 Fixed typo in comment 2012-06-10 18:09:00 +01:00
Jeremy Ruston
e0b630686e Refactored wikitext parser to deal better with terminated blocks 2012-06-10 17:26:54 +01:00
Jeremy Ruston
0ffa882d09 The start of better styling 2012-06-10 14:46:34 +01:00
Jeremy Ruston
4e0528e3dd Fixed typo in recipe handling 2012-06-10 13:40:35 +01:00
Jeremy Ruston
3e49513c73 Renamed class wikitext rule as a block rule 2012-06-10 13:40:19 +01:00
Jeremy Ruston
e88873e3a8 Removed mistaken suppression of trailing newlines in JS comments 2012-06-09 22:39:13 +01:00
Jeremy Ruston
ca56de0495 Add a span around the title
We can measure the dimensions of the span to get the dimensions of the
title
2012-06-09 22:25:58 +01:00
Jeremy Ruston
cde03baf24 Take newlines out of JS comments 2012-06-09 22:25:31 +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
1251a35375 Get rid of the Bootstrap JS files
JSHint really, really doesn't like this code....
2012-06-09 18:40:36 +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
9274651bfd Parse HTML tag contents as a block if it is a block tag 2012-06-09 15:08:30 +01:00
Jeremy Ruston
34311e230f Wrap the title and subtitle of tiddlers in their own divs 2012-06-09 11:25:49 +01:00
Jeremy Ruston
4a8c2d46b9 Drop jQuery
We don't want it as part of the core
2012-06-09 11:25:24 +01:00