Folks, I am not an expert but believe I understand the architecture of tiddlywiki sufficiently to ask this question.
- No need to respond with an explanation of why it can't be done, perhaps only if you see a way it can be done. (I value your time) - Please keep an open mind to the possibility of Legitimate introduction of Javascript snipits. - I have no expectation of a detailed response to this, especially if it is not possible (I value your time) My interest is simple extensions to tiddlywiki to allow designer to leverage at least a subset of javascript (for that matter HTML <https://groups.google.com/d/msg/tiddlywiki/BJe7X-0jhSc/ZkLgc35vAgAJ>) functions freely available Can we develop a method by which we can Legitimately introduce Javascript to Tiddlywiki without plugification? Although it will still have some constraints. Here is an example of a simple javascript snipit <https://www.w3schools.com/js/tryit.asp?filename=tryjs_timing_clock> that it seems we should be able to introduce. - Of course this is not interacting with the tiddlywiki DOM (that's what plugins are for) - It would only work if loaded from disk as with javascript plugins - It could be introduced via raw markup or similar method - We need a way to reference it, the javascript function, from within wikitext, perhaps via a widget. - E <https://www.w3schools.com/js/tryit.asp?filename=tryjs_timing_clock>g in the example snipit we need a Tiddlywiki way to replace this `<body onload="startTime()">` and trivially the equivalent of `<div id="txt"></div>` in tiddlers. Background, - The TiddlyWIki Platform is unique in its leveraging internet standards such as html, css and javascript. - Understandably the platform must retain control of the mechanisms that give it, its features refreshes the tiddlers etc... - However there are options to open more of the standard technologies for use within tiddlywiki - The current approach is gradual introduction with each release of tiddlywiki or specific plugins - This approach is suggesting there may be a way to allow some extensibility without forcing it through the Tiddlywiki mechanisms and release process. Please forgive my contribution to strategic tiddlywiki ideas, given my gap in expertise, why would I dare to raise this anyway?, because I am committed to tiddlywiki as a platform to the level of obsession, for personal and professional use, I believe in tiddlywiki and its almost limitless potential to democratise coding and internet publishing. Given the time I spend with tiddlywiki it is inevitable I will speculate on the possibilities, and sometimes it is the somewhat naive (like me) that will see things a different way than others, even differently to myself in the future, when I have a deeper understanding. I believe it is a responsibility as a community member to raise even potentially crazy ideas should it add value to tiddlywiki. Thanks for you time, if you read this far. Regards Tony -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/6304ce92-9486-4aca-89c3-1a0421ded49d%40googlegroups.com.
