Folks,

I am experimenting on an idea, that I can share in full, If I can find a 
method wrapping content. I intend to do this in the view template and 
elsewhere.

This is very easy to do unless that which you whish to wrap has opening and 
closing tags.

For example, say I choose to target the text field in the viewTemplate

<$set name=test-value value="Content of test-value">

Display the body of the tiddler as found in the text field where test-value
=<<test-value>>

</$set>

For example modify $:/core/ui/ViewTemplate/body

<$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=<
<folded-state>> text="hide" retain="yes" animate="yes">


<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">


*{{Prefix-content}} here*


<$transclude>


<$transclude tiddler="$:/language/MissingTiddler/Hint"/>


</$transclude>


*{{Suffix-content}} here*


</$list>


</$reveal>

For reasons that may be obvious to others this does not work.

Can anyone suggest a way to permit this?

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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b6fda1e2-b196-44fd-b0c2-f3dc036e5f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to