[twdev] Re: "document not defined" error while rendering

2020-06-02 Thread Riz
Nevermind. Solved it by using $tw.fakeDocument -- 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 tiddlywikidev+unsubscr...@googlegroups.com. To view this

[twdev] "document not defined" error while rendering

2020-06-02 Thread Riz
I wrote a simple js macro. It create a few DOM elements and returns the outerHTML as a string. This works perfectly in TW5. However when I try to render a tiddler containing a call to said macro, tw5 gives me the error "document is not defined". I did some googling and found out that document

[twdev] Re: Tiddloid - A new android editor is to be released

2019-10-11 Thread Riz
Hey donmor3000, Great fan of your work. It has become my go to solution for using tw5 in android. The app has matured really well. This is clearly the best solution in android. May I encourage you to create a PR towards the main documentation site of TW5, so that more people may get to use

Re: [twdev] Re: How to navigate to ids within a tiddler? Or How to add refresh between two steps of a widget

2019-09-19 Thread Riz
Hi Tony, Thanks for the reply. You are right, that would not have scaled well. Plus, we have a solution. Possibly something we can expand upon too! See above Sincerely, Riz On Thursday, 19 September 2019 13:33:38 UTC+5:30, TonyM wrote: > > Riz, > > I understand. This limitati

[twdev] Re: How to navigate to ids within a tiddler? Or How to add refresh between two steps of a widget

2019-09-19 Thread Riz
ySelector("h1[data-anchor=firstlink]"); element.scrollIntoView(); Sincerely Riz On Thursday, 19 September 2019 12:51:19 UTC+5:30, PMario wrote: > > Hi Riz, > > You are right. The IDs are not available at the time the widget is called > the first time. > > You cou

[twdev] How to navigate to ids within a tiddler? Or How to add refresh between two steps of a widget

2019-09-18 Thread Riz
queid"/> <$action-anchor $to="MyTiddler" $id="uniqueid"/> 2. Programmatically simulate double click on the button with document.getElementsByClassName('my-unique-class')[0].dispatchEvent(new MouseEvent('dblclick', {'bubbles': true})) I mean, it is e, but it show

[twdev] Re: My Blog is now a TW

2018-12-27 Thread Riz
ot;blog edition Tiddlywiki" as a part of core. However I cannot find it in github right now. Sincerely, Riz -- 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, s

[twdev] Re: Proposal: Changing PageTemplate list filter to be a macro

2018-03-21 Thread Riz
I agree with the CSS line of thought wrt fonts and others, as there is nothing much to gain in introducing a redundant mechanism to tie them to view-port size. However, things like page-template and editor toolbar buttons are different. Problem with CSS here is, `display:none` is inefficient.

Re: [twdev] Proposal: Changing PageTemplate list filter to be a macro

2018-03-21 Thread Riz
That would be nice to see in action. Although I am eager to see how we are going to bring the environmental variables into play. Is it going to be like: If platform is android => Visibiliy tiddlers are created at startup? -- You received this message because you are subscribed to the Google

[twdev] Proposal: Changing PageTemplate list filter to be a macro

2018-03-20 Thread Riz
Something like <$list filter=<> variable="listItem"> in the $:/core/ui/PageTemplate? It will allow complex and fine grained manipulations of display like exports.run = function() { var filter; if (window.matchMedia("(min-width: 960px)").matches) { filter =

[twdev] Re: Serving external resources from TW5 node server

2018-03-04 Thread Riz
https://github.com/Jermolene/TiddlyWiki5/tree/http-server This branch seems to solve your issue. It is not merged to the main yet. But you can fork out the TW and merge it in your local repo and use it. On Saturday, 3 March 2018 20:36:23 UTC+5:30, joearms wrote: > > I'm using TW5 node

[twdev] Re: add viewport macro to core?

2018-02-21 Thread Riz
I do not mind that either - as long as I do not have to install a plugin just to get access to this piece of info. As in, I recommend this to core - instead of a plugin. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from

[twdev] Re: add viewport macro to core?

2018-02-20 Thread Riz
IMHO, shouldn't we add them as a part of existing $:/Info tiddlers? That is where it is expected, right? If we do that, third party themes which radically changes outlook by differing Pagetemplates can make use of it. Please consider if not too late already. sincerely, Riz -- You received

[twdev] Re: Any chance for a single-tiddler story "river"?

2018-02-08 Thread Riz
Is there a problem with using zoomin storyview? Control Panel > Appearance > Story View > Zoomin On Thursday, 8 February 2018 22:36:18 UTC+5:30, TheDiveO wrote: > > Is there any chance for a single-tiddler story river, where only one > tiddler is shown in the river? > -- You received this

[twdev] Re: Small RSS feed of possible interest

2017-02-10 Thread Riz
+1 for the find !!! On Saturday, 11 February 2017 01:30:36 UTC+5:30, Mat wrote: > > https://github.com/55sketch/simple-rss/blob/master/simple-rss.js > > > <:-) > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group

Re: [twdev] Re: [TW5/TWC] Interesting new "Beaker Browser" with peer-to-peer hosting

2016-12-21 Thread Riz
Error while saving: Dat Saver Error: ProtectedFileNotWritableError Linux Mint 18 Sarah -- 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