Re: [twdev] rendertiddler issues?

2014-12-07 Thread James Anderson
Hi Jeremy, I'm not sure what i was doing wrong before but it now seems to be exporting the static site with whatever theme the loaded TW is set to. Thanks for you help. I have spotted a potential issue though. When you export a static tiddler the content directly below section

Re: [twdev] rendertiddler issues?

2014-12-07 Thread James Anderson
This is great feature by the way, I write all my coding/study notes in tiddlywiki and i used to use wordpress to blog about things. Having the ability to just export anything from my notes tagged blog as a static webpage is such a time saver. Having the plugins like katex just work is also

[twdev] [TW5] how to detect tiddler closes ?

2014-12-07 Thread Rien Rien
Hi, Is there a mean to detect that a tiddler is about to close (in widget's code) ? In my widget, there is an animation with a periodic function launched every xx ms with setTimeout or with requestAnimationFrame(). I would like to stop that function when tiddler closes, to free CPU if function

Re: [twdev] rendertiddler issues?

2014-12-07 Thread Jeremy Ruston
Hi James When you export a static tiddler the content directly below section class=tc-story-river is wrapped in a p like below The problem is that TW generates a p tag to contain the content of the tiddler. In HTML p tags are only supposed to contain inline elements. When the browser

[twdev] Re: [TW5] how to detect tiddler closes ?

2014-12-07 Thread Felix Küppers
Hi Lebrun, Is there a mean to detect that a tiddler is about to close (in widget's code) ? In my widget, there is an animation with a periodic function launched every xx ms with setTimeout or with requestAnimationFrame(). I would like to stop that function when tiddler closes, to free

[twdev] Re: [TW5] how to detect tiddler closes ?

2014-12-07 Thread Felix Küppers
Sorry, Jeremy already suggested it. I completely forgot to read his comment. Felix -- You received this message because you are subscribed to the Google Groups TiddlyWikiDev group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [twdev] rendertiddler issues?

2014-12-07 Thread Tobias Beer
The problem is that TW generates a p tag to contain the content of the tiddler. Why would it do that? Best wishes, Tobias. javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWikiDev group. To unsubscribe from this group and stop receiving

Re: [twdev] rendertiddler issues?

2014-12-07 Thread Jeremy Ruston
Why would it do that? Because the target tiddler parsed in block mode, which means that paragraph elements are wrapped around paragraphs. Best wishes Jeremy. On Sun, Dec 7, 2014 at 9:58 PM, Tobias Beer beertob...@gmail.com wrote: The problem is that TW generates a p tag to contain the

Re: [twdev] rendertiddler issues?

2014-12-07 Thread Tobias Beer
Hi Jeremy, Because the target tiddler parsed in block mode, which means that paragraph elements are wrapped around paragraphs. Ok, so block-mode really means: make it a paragraph, whereever the widget is put. That, indeed, doesn't sound right. It is perhaps acceptable for simple contents

Re: [twdev] Re: Cannot save due to JavaScript error

2014-12-07 Thread Zane B Stein
I never got back to you..thank you, copying to a different folder worked fine. Now I have another question. We keep our page on a server so that everyone can read the posts from our IT Department. We'd like to make the post read-only to everyone except the people, like myself, in the IT

[twdev] Current Theme Oddities

2014-12-07 Thread James Anderson
I don't know if all of this is a bug or it is as designed so rather than raise an issue for it i thought i would ask here first on this link

[twdev] Re: Current Theme Oddities

2014-12-07 Thread James Anderson
edit : #1 $:/themes/tiddlywiki/centralised/styles.tid is empty while $:/themes/tiddlywiki/snowwhite/base **is not** On Monday, 8 December 2014 16:12:13 UTC+9, James Anderson wrote: I don't know if all of this is a bug or it is as designed so rather than raise an issue for it i thought i