Hi Okido

Widgets are the components that encapsulate DOM access in TiddlyWiki5.
Chris Hunt has written a useful guide to writing widgets as part of his
guide to coding for TiddlyWiki5:

http://cjhunt.github.io

I don't intend to support anything like the inline javascript plugin within
TW5. I believe that JavaScript and wikitext should be more strictly
separated, to ensure that content can be safely shared. Having said that,
right now TW5 does nothing to prevent inline JavaScript. Try creating a new
tiddler and inserting this:

<script type="text/javascript">alert("foo");</script>

But it's not guaranteed to work in the future.

Best wishes

Jeremy



On Thu, Dec 26, 2013 at 12:44 PM, okido <bkn...@gmail.com> wrote:

> Season's Greeting to All,
>
> Today I tried to make a start with moving some of my TWc to TW5.
> In TWc I use inlinejavascript plugin to build graphs straight into an SVG
> element that is appended to .viewer the DOM.
> Essentially the code to build the graph is stored in a tiddler and the
> data for the graph in an other tiddler, styling is done trough css in a
> separate tiddler.
> This makes it very easy to copy and improve etc. I use d3, crossfilter,
> flot or jsx.
> I tried a macro today and this could be working but before exploring this
> further I would like to now how you would approach this?
>
> Best regards, Okido
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to