OK I have found what I was bumping on: Blank lines :)
svg... \n\ntext = wiki engine = svg...ptext
In that case text or whatever gets trapped in the p becomes invisible .
On top of that the optimized SVG Save as option in inkscape which
sounded promizing at first ( removal of prolog for
Here is a wrap-up of a working flow: Inkscape to TW5:
From Inkscape:
* Select a group or a shape, Righ-Click-Menu = create link
* Keep selection, Right-Click-Menu: = link properties
* Set href: #MyTargetTiddler
* Set Target: _parent
* Save as Plain svg
From TW5:
* Import svg file in a
Good Stuff!
In tiddlywiki adding 2 newlines immeditately after an opening html tag
cause the contents to be parser in 'block mode' with results all \n\n -
p, which is a bit of a gotcha with svg.
I think it would be good to have some svg widgets
cheers
BJ
On Friday, October 10, 2014 3:39:50 PM
Hi
Could you elaborate on security reasons ? Clicking a shape or a text to
open a tiddler look the same to me.
What if I create an svg that is hosted on evilsite called Fancy stuff for
TiddlyWiki. It contains a script onclick=delete all tiddlers and save()
For sure, I would need to package
On Thursday, October 2, 2014 4:43:25 PM UTC+2, Derivation Bud wrote:
Clicking a shape or a text to open a tiddler look the same to me.
If you do it without a js script ... yes. BJ made some suggestions that
seem promising.
-m
--
You received this message because you are subscribed to the
BJ,
Your example works fine provided the tiddlers type is set to
text/vnd.tiddlywiki
All,
When I kick in a more complex drawing, it is first imported as
image/svg+xml because of the extension. At this stage the display is nice
but the links are muted.
If I edit the type to
text/vnd.tiddlywiki aims to support html5 - which includes the html5
inline svg (as elements - i.e the svg stuff). html5 does not support xml
(isn't web development fun!). When you choose the image/svg+xml type this
embeds the drawing as data in the webpage, not as an html5 element -
BJ,
Thanks , that is the answer I needed. :)
Now I know that I want to create HTML5_inline_SVG because it's the way to
go for a better integration with TW.
I see 3 ways out:
* Another tool than inkscape to draw.
* A converter plugin in inkscape.
* A TW widget SVG-HTML5
After a quick search I
Ah, that explains why setting my SVG icons to image/svg+xml does not work
as expected when setting tag pill icons and why only text/vnd.tiddlywiki
work. Thank you!
On Friday, October 3, 2014 5:04:28 PM UTC+2, BJ wrote:
text/vnd.tiddlywiki aims to support html5 - which includes the html5
When you use inline SVG in a text/vnd.tiddlywiki tiddler you are actually
just taking advantage of the way that TiddlyWiki wikitext parsing allows
for HTML elements. TiddlyWiki disables inline event handlers and script
tags for the reasons that pmario states: we want to make it impossible to
I download this image
http://www.inkscape.org/media/resources/file/kama-marting-beach.svg
and loaded it into inkscape,
I choose 'save as' and selected 'plain svg'
then I edited the svg file and remove the xml at the top leaving the first
element as is
!-- Created with Inkscape
On Thursday, October 2, 2014 9:47:58 AM UTC+2, Derivation Bud wrote:
When editing SVG ( with inkscape for example ) , it is easy to :
* set onclick attributes ( I am thinking onclick=$tw.wiki.dispatch,... )
* create a a tag arround shapes
As far as I can tell, both of these *features get
Wow,
this opens a wide world of possibilities.
El jueves, 2 de octubre de 2014 10:41:16 UTC+2, PMario escribió:
On Thursday, October 2, 2014 9:47:58 AM UTC+2, Derivation Bud wrote:
When editing SVG ( with inkscape for example ) , it is easy to :
* set onclick attributes ( I am thinking
On Thursday, October 2, 2014 9:47:58 AM UTC+2, Derivation Bud wrote:
Hi,
I'm a big fan of block diagrams and TW5/HTML5 make it is easy to embed
them as SVG tiddlers. :)
Let's imagine main diagram contains blocks A and B. I'd really like to be
able to *click on shape A and open the
Hi David,
you need to get with the times!
the support for xlink was added in 5.0.16-beta I'm afraid.
BJ
On Thursday, October 2, 2014 3:12:59 PM UTC+2, Derivation Bud wrote:
BJ,
Thank's I did'nt know about the target=_parent. When I read the doc it
should do the job ( i.e. escape from the
Mario,
Could you elaborate on security reasons ? Clicking a shape or a text to
open a tiddler look the same to me.
I don't see how transcluding can help. My guess is that transclusion is
performed first, filtering out happens after. Isn't it ?
Cheers
--
You received this message
:
Great news,
I need to catch-up
Thanks
--
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
17 matches
Mail list logo