That's a great idea! It would be helpful if it opened "taller" as well.
-- Mark On Saturday, April 7, 2018 at 2:08:26 AM UTC-7, Birthe C wrote: > > Hi Stephan, > > That is really nice, thank you. > > For trans-editor > <$edit-text tiddler=<<tiddler2edit>> class="full-width"/> > > > <style> > .full-width {width: 100%;} > </style> > > Birthe > > Den fredag den 6. april 2018 kl. 10.40.23 UTC+2 skrev Stephan Hradek: >> >> 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/29a86c8d-3af7-4d75-bb02-efbfb840580a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.