On Sunday, April 15, 2018 at 7:53:48 PM UTC+9, Vytas wrote:
>
> @JD
>
> In the process of enabling myself to customize your wonderful *paragraphs*
> macro, I have analysed the code of it (actually, since I'm a newbie, it
> took me a decent amount of effort). I'm glad I was able to more or less
> understand it. Just one small question. If I get it correctly, you don't
> need "textarea" in the following:
> <style>
> textarea.full-width { width: 100%; height: auto; }
> ?
>
Hi Vytas,
It's great that you're using this to learn about markup! TW is how I
learned this stuff as well. For the CSS, yeah, you're right, you can
actually remove the "textarea" from "textarea.full-width { properties }" ,
if there's no need for too much specificity.
Another way to write it would be ".full-width textarea { properties }"
> EXTRA QUESTION. By the way, what is considered to be a "good practice"
> regarding the state tiddlers? I have noticed, that whenever you use
> RevealWidget you create those state tiddlers which are not removed
> automatically. I imagine that the amount of those state tiddlers can become
> really large (especially if you use RevealWidget inside of
> <$list>..</$list> ). Is there a way to delete state tiddlers automatically
> or should it be done, from time to time, with some delete macro?
> ------------
>
I haven't really thought about automatically deleting state tiddlers, but
you're right that the amount would gradually grow. I only ever thought of
deleting the temp tiddlers lol
I will insert this line within the macro, after the actions to delete the
temp tiddlers for the "commit changes" and "discard changes" buttons:
<$action-deletetiddler $tiddler=<<stateEditTid>>/>
If you're still using this macro, please update your copy. I corrected the
Yes-No reveals to accommodate for the above change, and also updated the
buttons so they will no longer set the statetiddler to "no" when it will be
deleted anyways :)
you can use a service like to see the differences
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/9179c90e-86b0-47a8-a513-b4456323189f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.