Hi, I know. That is the reason, why it works if you call the <<edit text>> macro inside the "source" tiddler. But it generates an error if you call it inside nestedSliders in a different tiddler. Nested sliders doesn't provide the right edit structure, nor does class='edit'.
But if you have a look with FireBug at the DOM sturcture at edit mode, you will see, that above the edit div there are some more divs, with attributes eg tiddler='xxx' refresh= ... If you adjust the attributs in the right way may be it will work. Have a look below "id=displayArea", which belongs to the page template allready. Compare view mode and edit mode, may be you will identify the needed attributes, may be you'll also need some special id= -m On Mar 5, 12:36 pm, whatever <[email protected]> wrote: > <div class='editor'> only specifies that the edit field is the same as > in EditTemplate. Without that class specification, the edit field is > very narrow. The code works without any HTML tags as well. > > w > > On Mar 5, 12:23 pm, PMario <[email protected]> wrote: > > > > > > > > > Hi, > > The class='edit' is not enough. The <<edit text>> macro has to be > > nested inside a special structure which is created by the core during > > edit mode. Something similar to EditTemplate, that it can work > > properly. And eventually some more stuff, that I don't know. > > -m > > > On Mar 5, 8:01 am, whatever <[email protected]> wrote: > > > > Yes, I tried that. I see the Edit link in the main tiddler, but when I > > > click it, I get the above error. When I try it from the content > > > tiddlers themselves, it works fine. > > > > w > > > > On Mar 5, 1:01 am, cmari <[email protected]> wrote: > > > > > You need the <<edit>> macro to be inside of (i.e., in the actual text > > > > of) each tiddler on your list, so that it can be seen by the > > > > <<tiddler>> macro. If each tiddler on your slider list contains: > > > > +++[Edit »]<<edit text>>=== > > > > then you should be able to edit the tiddlers from the "main" tiddler > > > > (the one with the matchtags macro). I don't think the ViewTemplate > > > > approach will work. > > > > cmari > > > > > On Mar 4, 11:14 am, whatever <[email protected]> wrote: > > > > > > When using nested sliders from a generated list (http:// > > > > > groups.google.com/group/tiddlywiki/browse_thread/thread/ > > > > > 910519450fcfaf7a#) I thought it would be nice if I could edit the > > > > > listed tiddlers directly, without having to leave the main tiddler. I > > > > > found out that if I put <html><div class='editor'>+++[Edit »]<<edit > > > > > text>>===</div></html> in a tiddler, I can edit it without going into > > > > > edit mode. However, when I try to do this from the main tiddler, I get > > > > > the following error: > > > > > # Error while executing macro <<edit>>: > > > > > # [Exception... "Index or size is negative or greater than the > > > > > allowed> > > amount" code: "1" nsresult: "0x80530001 > > > > > (NS_ERROR_DOM_INDEX_SIZE_ERR)"> location: > > > > > "file:///K:/Wikis/Stuff/Stuff.htmLine:41382"] > > > > > > Can anyone help me get this to work? Also, if this could be put into > > > > > ViewTemplate so that it would appear in all tiddlers, it would be > > > > > great. > > > > > > w -- 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.

