Create a tiddler at tiddlywiki.com with below content

\define macx()
<$set name=x value={{temp}}>
<$list filter="[<x>!match[x]]">
This is a test
<$button 
 set="temp" setTo="x"
 class="tc-btn-invisible tc-tiddlylink">&times;</$button>
</$list>
</$set> 
\end

<<macx>>


Save and see the result!

It shows

This is a test ×

On click on x, the content will be disappeared! That is what I want!

Then: I like to reload the wiki (or next time I visit the wiki) and see the 
This 
is a test ×  again!
How it can be done? Note user may use single file wiki or node.js version 
($:/state tiddlers are cleared)!

--Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/36e20e5e-ccdb-4326-a059-5a90128b550b%40googlegroups.com.

Reply via email to