On Monday, May 3, 2021 at 2:38:54 PM UTC+2 David Gifford wrote:
3. Yesterday Charlie showed me how to grab the text of a specific tiddler
> and insert it into the new tiddler button so it would get added to a custom
> field of the new tiddler. The key component was customfieldname={{{
> [[Current chapter]get[text]] }}}. I tried to use that in an editortoolbar
> button with no success. How could I grab the text of [[Current chapter]]
> and have the prefix of the following snippet paste it into tiddlers? (as
> text, not as {{Current chapter}}, because I don't want what is pasted to
> change when I change the text of Current chapter later on)
>
Since I don't know, what you discussed yesterday ... link is missing ... I
don't understand this question.
> <$action-sendmessage
> $message="tm-edit-text-operation"
> $param="wrap-selection"
> prefix=""""""
> suffix=""""""
> />
>
I'm not sure, why you need 6 double quotes as a prefix and a suffix. .. The
above code comes from a toolbar button. ... I'm not sure how it is related
to: " customfieldname={{{ [[Current chapter]get[text]] }}}" from the
text above.
-m
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7adb45b4-8d19-4962-b2d1-49cb4f5931fen%40googlegroups.com.