> I break my tiddlers when I try to put an editfield in a template for
> use in the Viewtemplate.
> When i do this:
> <<edit fieldname>>
> then the Templatetiddler seems to be in viewmode - but It can no
> longer be edited - and I have to delete it.

The problem is that the TW core 'edit' macro doesn't know how to
handle things properly when used in a ViewTemplate (<span macro='edit
fieldname'></span>), or embedded directly in tiddler content (<<edit
fieldname>>).

In addition, because there is no saveTiddler ('done') command in the
ToolbarCommands::ViewToolbar definition, there's no way to actually
*store* any input entered into those fields.

Fortunately, I've got a plugin that addresses these issues:
   http://www.TiddlyTools.com/#EditFieldPlugin

It corrects the core handling so that pressing the 'edit' command will
still switch to edit mode, even if there are input fields displayed in
view mode.  In addition, if you've changed a value in a view mode
input field and then move the 'focus' away from the field (e.g., by
clicking somewhere else), you will be asked to confirm if the changed
value should be saved or discarded before continuing.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to