1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 18:53:28 +00:00
Commit Graph

1224 Commits

Author SHA1 Message Date
Jeremy Ruston
654f48b14d Fix problem with modal titles 2013-10-29 15:01:36 +00:00
Jeremy Ruston
731cbb8cd6 Switch from new_pageContainer back to pageContainer 2013-10-29 15:01:27 +00:00
Jeremy Ruston
b4da65d1c9 Update fakedom to no longer add a newline after opening tags
The newline was being rendered within `<code>` elements.
2013-10-29 14:52:12 +00:00
Jeremy Ruston
14d7d5ea59 Use the new wiki.makeWidget() method where we can 2013-10-29 14:51:35 +00:00
Jeremy Ruston
4eebe7388d Add a wiki.makeWidget() method
Encapsulates some logic that has been duplicated elsewhere.
2013-10-29 14:48:24 +00:00
Jeremy Ruston
371c8ab45a Fix changed attribute detection in tiddler widget 2013-10-29 09:04:18 +00:00
Jeremy Ruston
bf48e6f8a1 Rename tiddlerTitle variable to currentTiddler 2013-10-28 23:40:45 +00:00
Jeremy Ruston
aefca26d72 Style the body tag through a CSS class
This avoids accidentally styling body tags within SVG foreignObject
elements.
2013-10-28 15:06:17 +00:00
Jeremy Ruston
b4b0eae4e5 Allow the foreignObject element in SVG to embed HTML via the body element
This change means that any `<body>` elements inside an SVG region of
the DOM tree will switch the namespace back to XHTML.
2013-10-28 15:05:19 +00:00
Jeremy Ruston
1d27760a37 Cleaner formatting for the control panel 2013-10-28 15:03:52 +00:00
Jeremy Ruston
20f03de712 The big purge of the old widget mechanism
Getting rid of the old widget mechanism files finally gives us a payoff
for all the refactoring. Still a bit of tidying up to do, and we need
to re-introduce the animation mechanisms.
2013-10-27 22:55:36 +00:00
Jeremy Ruston
5610efff01 Update typedblock parser to use new widget mechanism 2013-10-27 22:53:22 +00:00
Jeremy Ruston
d84e398d7a Fix problem when widgets don't have a parse tree node 2013-10-27 22:53:06 +00:00
Jeremy Ruston
c7d56361ee Parse and render macro attributes, rather than using the raw text 2013-10-27 22:52:34 +00:00
Jeremy Ruston
d1108c7fcc Remove inaccurate comments 2013-10-27 22:52:04 +00:00
Jeremy Ruston
b1208a8d37 Fix problem with getTiddlerLinks()
It was crashing if it encountered a link widget that didn't have a `to`
attribute.
2013-10-27 13:54:39 +00:00
Jeremy Ruston
3ad3cfd526 Bring back the bitmap editor widget 2013-10-26 13:13:55 +01:00
Jeremy Ruston
f8f524d378 Make sure the dragger cover properly covers the dragger 2013-10-26 10:29:52 +01:00
Jeremy Ruston
76faba2d9f Get rid of the old tempwidget 2013-10-26 10:29:40 +01:00
Jeremy Ruston
98da59be7a Extend the link widget to make the links draggable 2013-10-26 08:36:43 +01:00
Jeremy Ruston
05fc9848bb Extend the dropzone widget to cope with dataTransfer objects (as well as files) 2013-10-26 08:36:31 +01:00
Jeremy Ruston
068befb24f Refactor link widget with tidier event handler 2013-10-25 23:22:46 +01:00
Jeremy Ruston
ad518c181d Add jsencoded view format 2013-10-25 23:00:43 +01:00
Jeremy Ruston
925e22c46f Fix up the server command to use the new widget mechanism 2013-10-25 22:30:15 +01:00
Jeremy Ruston
bdcead624a Add a changecount macro 2013-10-25 22:29:49 +01:00
Jeremy Ruston
b3ae45cbde Invoke macros with this set to the host widget 2013-10-25 22:29:28 +01:00
Jeremy Ruston
8fbc5759ad Refactor widget.getVariable() to have better behaved parameters 2013-10-25 22:16:15 +01:00
Jeremy Ruston
46bdc52261 Fix up the new import mechanism 2013-10-25 21:16:53 +01:00
Jeremy Ruston
75231fec39 Add browse and dropzone widgets
We're splitting out the two aspects of the old import widget
2013-10-25 21:16:03 +01:00
Jeremy Ruston
c2efdfdbc4 Extend the navigator widget to handle import events 2013-10-25 21:15:32 +01:00
Jeremy Ruston
8c2fb7b8d0 Extend wiki object to have methods required for importing 2013-10-25 21:15:20 +01:00
Jeremy Ruston
62b72f6bd1 Move browser-startup module initialisation to the end of startup 2013-10-25 12:53:40 +01:00
Jeremy Ruston
11a07e71dc Move stripcomments from the classictools plugin into the core
It's a bit of a hack for the moment. The plan is to implement
stripcomments via the macro mechanism, at which point it can move back
into the plugin.
2013-10-25 12:32:57 +01:00
Jeremy Ruston
8a709a0b00 Give the edit-text widget some extensibility hooks
So that the upcoming CodeMirror plugin can do its stuff
2013-10-25 09:15:56 +01:00
Jeremy Ruston
3251aa191f Fix up saving encrypted wikis 2013-10-24 13:10:32 +01:00
Jeremy Ruston
56b2c25588 Whoops file in the wrong place 2013-10-24 12:00:32 +01:00
Jeremy Ruston
632970cd86 Get external links working again
We no longer use the `<$link>` widget for external links. Instead the
parser generates `<a>` elements. This makes things simpler, but does
mean that the `target=_blank` behaviour is baked into the parser.
Probably we should introduce a new `<$extlink>` widget that generates
an `<a>` element with a configurable `target` attribute
2013-10-24 11:54:54 +01:00
Jeremy Ruston
c95ce5ff4c Fix up the $:/ConfigInfo tiddler 2013-10-23 23:12:07 +01:00
Jeremy Ruston
3350510516 Add new modules and moduletypes filter operators 2013-10-23 23:11:41 +01:00
Jeremy Ruston
3241c2b76a Added password widget 2013-10-23 20:24:45 +01:00
Jeremy Ruston
54bed81ab9 Missed off some of the refresh logic 2013-10-23 19:46:31 +01:00
Jeremy Ruston
4e713baeee Add checkbox widget and fix up task management example 2013-10-23 19:38:36 +01:00
Jeremy Ruston
67490cbb74 Whoops console.log.alypse 2013-10-23 17:50:51 +01:00
Jeremy Ruston
f2ac04943f Fixed tag autocomplete popup on focus 2013-10-23 17:41:12 +01:00
Jeremy Ruston
dfdb34a5cc Better styling for the fields editor 2013-10-23 17:04:10 +01:00
Jeremy Ruston
6f2dbd0978 Refactor name of "findNextSiblingDomNode()" method for consistency 2013-10-22 18:14:16 +01:00
Jeremy Ruston
40c6b6cb8f Guts of the field editor
Styling is a bit squiffy
2013-10-21 23:10:20 +01:00
Jeremy Ruston
8ee2695c81 Fix up the tags editor
The dropdown doesn't yet appear when the text input is focussed
2013-10-21 22:55:43 +01:00
Jeremy Ruston
7393a296dd Add a fieldmangler widget 2013-10-21 22:54:58 +01:00
Jeremy Ruston
06af26b1c8 Give the edit-text widget support for the placeholder attribute 2013-10-21 22:54:48 +01:00