If I understand correctly, you're trying to switch fragments of a tiddler
into edit mode? That's not going to be easy. Because raw wikitext can be
generated by macro parameter expansion there isn't a straightforward
relationship between the tiddler source text and the text that the parser
sees.

Best wishes

Jeremy.





On Thu, Nov 7, 2013 at 8:14 AM, Stephan Hradek <stephan.hra...@gmail.com>wrote:

> Thanks for the hint, Vincent.
>
> I'd still like to have the fields be editable. But additionally, being
> able to edit parts of a tiddler inline would also help. But my focus is
> more to TW5.
>
> In order not to learn (too much) Klingon and not to have too much
> overhead, I also thought about how this could be achieved. My idea is to
> have something like this:
>
> {{ InlineEditor }} <<editButtons>>
> So this is to include the Buttons which will allow editing.
>
> And then you need to mark the editable blocks like so:
> @@.editable
> This is an editable text block.
>
> 2nd paragraph of the block
> @@
>
> Or you can even mark parts of a line as editable:
> This is just one @@.editable
> word
> @@
> which is editable
>
> I updated my tiddlyspot <http://skeeve.tiddlyspot.com/>to show how the
> view mode could look like. I choose pink as background just for
> illustration puposes. Of course clicking the button doesn't do anything yet
> besides switching the buttons. And I'm still using Javascript directly in
> the onclick handler. But as long as I don't know any API, I don't want to
> put too much effort in doing it properly ;)
>
>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to