On Tuesday, June 2, 2015 at 12:28:08 PM UTC-7, mauloop wrote: > > I've played with TWC in the past and now I'm exploring the wonders of TW5. > I noticed that after having the shadow tiddler $:/core/ui/EditTemplate/body > changed it shows the textarea for editing the text of the tiddler still > while it is in view mode. I've experimented this behaviour with both the > standalone and node.js editions of TW5, using either Firefox or Chrome. > Just edit the tiddler and save it without having nothing actually changed > to reproduce this behaviour. Is it the expected behaviour? It does not > affect my tests, but let me the possibility to inadvertently modify the > tiddler text while I just wanted to view it. >
It's actually just a harmless side-effect of the way that the EditTemplate/body definition works: * The tiddler uses <$list filter="is[current]..." > to control what to display. * EditTemplate/body is initially a shadow tiddler (a built-in default). * Unless explicitly written to do so, filters don't automatically look at shadows * Thus, when you first view EditTemplate/body (as a shadow), the filters it contains don't show any content. * After you edit and save the tiddler, it becomes a "real" tiddler... * Thus, when you view EditTemplate/body (after editing), the filters it contains show you the "edit the body" definition for the current *real* tiddler. enjoy, -e Eric Shulman ELS Design Studios TiddlyTools - "Small Tools for Big Ideas!" InsideTiddlyWiki: The Missing Manuals YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/89a31033-3306-4692-aadc-4c94c6dceca8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

