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/2f8d7e0a-c0e3-47b4-9b64-f764b9f3662e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to