This is really cool! I'd go with the reveal-widget (instead of a modal) to edit the paragraphs in place, unless there's a con to that method?
On Friday, April 6, 2018 at 5:40:23 PM UTC+9, Stephan Hradek wrote: > > I've created a small example for you to reproduce on tiddlywiki.com > > Create some paragraph tiddlers. I've called them A, B and C containing > some Lorem Ipsum text <http://lipsum.org>. > > Example > > AA > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eget ex > nunc. Maecenas blandit efficitur erat a malesuada. Vivamus sit. > AA > > Then I creted 2 tiddlers which are the "workhorses": > > trans-editor: > <$edit-text tiddler=<<tiddler2edit>>/> > > and trans-edit > <$list filter=<<currentTiddler>> variable="theTiddler"> > > <$button class="tc-btn-invisible tc-tiddlylink"> > <$action-sendmessage $message="tm-modal" $param="trans-editor" > tiddler2edit=<<theTiddler>> /> > {{$:/core/images/edit-button}} > </$button> <$transclude tiddler=<<theTiddler>> /> > > </$list> > > Finally create your tiddler which will transclude all your paragraph > tiddlers: > > {{ > [[A]] > [[B]] > [[C]] > || > trans-edit > }} > > > This will show all the paragraphs prepended with an edit-icon. > > When you click it, a modal window will appear allowing you to edit the > content of the paragraph. > > Tasks left for you: Create some nice CSS to make the edit window appear in > a size you like. Currently it's quite small. > > > > > > > > > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fb266421-d451-470a-8976-da90377af008%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.