I know, it looks right, but technically it isn't. I copied the code
from your link [1] and removed the "pilcrow" stuff for better
readability.
<div class="section" id="text-html">
<p>
<div>some text</div>
</p>
<p>
<span tiddler="ptest1.a" refresh="content">
<div>paragraph 1</div>
</span>
</p>
<p>
<code>monospaced text</code>
</p>
<p>
pargraph 2<br>
</p>
<p>
some more text<br>
</p>
</div>
As you can see, <div>paragraph 1</div> is inside the
tiddler="ptest1.a" span, which is right.
But the "monospaced text" and "paragraph 2", are outside.
Which IMO is ok for now, but if you want to have some automatic update
in the future and you want to reuse some of the TW refresh code, the
<span tiddler="ptest1.a" refresh="content"> becomes important.
It may request the tiddler ptest1.a and render its content inside the
span. But "monospaced text" and "paragraph 2" get lost.
-m
PS: I have to say, that I wanted to use your code inside TW and it
deffinitely causes a refresh problem there, if you change ptest1.a. I
thouhgt I point it out, because if you think about some automatic
notification if content changes, it may be a problem. A future
problem, but a problem q;-)
[1] http://cdent.tiddlyspace.com/bags/cdent_public/tiddlers/ptest2.a.html
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.