<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.

Reply via email to