Hi Jeremy

Am Freitag, 29. November 2013 08:45:18 UTC+1 schrieb Jeremy Ruston:
 

> You mean you wish you could import macros?
>

That would help tremendously! At the moment I have to paste the same macro 
into each and every tiddler I create for this :(

 

>
> It's a bug, setTextReference() should create the tiddler if required.
>

Shall I create a non-working example for you to check?
 

>  
>
>> I also have no idea how to create the tiddler in such a case, based on a 
>> skeleton so that it has, for example, also some default tags set.
>>
>
> Like this:
>
> var skeleton = {title: "HelloThere", text: "Sometext", tags: "one two 
> [[three four]]"};
>
> var newTiddler = wiki.addTiddler(new $tw.Tiddler(skeleton,{title: 
> "NewTItle"}))
>  
> The $tw.Tiddler constructor flattens the provided tiddler field objects, 
> with the later fields taking precedence over the earlier.
>
>
Hmm… So I will have to create a plugin to achieve this!?
 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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