1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 16:24:51 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Ruston
11c9031873 Added support for style blocks 2012-06-14 18:18:32 +01:00
Jeremy Ruston
abd510442a Typo 2012-06-14 17:28:14 +01:00
Jeremy Ruston
52f59a4eb4 Medium-sized refactoring of macro architecture
Now event handlers are attached to element nodes, not to macro nodes.
2012-06-14 17:15:38 +01:00
Jeremy Ruston
c168ec0ad4 Allow macros to specify capturing event handlers 2012-06-13 15:36:16 +01:00
Jeremy Ruston
558aaf338f Fixed issue with textnodes ignoring insertBefore parameter 2012-06-13 10:41:36 +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
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
b5f5a742f4 Added support for classes on macros 2012-06-04 12:07:39 +01:00
Jeremy Ruston
5276403e39 Make sure all tree nodes have an addClass method 2012-06-02 13:19: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
92353d37b2 First pass at a new wiki text parser
This one respects HTML paragraphs properly
2012-05-26 18:30:32 +01:00
Jeremy Ruston
d99b70e0b2 Got rid of some potentially dodgy hasOwnProperty() calls 2012-05-09 08:51:16 +01:00
Jeremy Ruston
557a7b0eba Restore the JavaScript parser 2012-05-08 19:33:04 +01:00
Jeremy Ruston
468749159d Added sort order to tiddler div attributes
So that file comparisons work better
2012-05-08 17:42:49 +01:00
Jeremy Ruston
9465da4335 Part two of turning the rabbit hole inside out 2012-05-05 22:57:21 +01:00