The transclusion is being parsed in inline mode because there's no newline
after the opening tag. So I think you just need to do this:
Some tiddler text
<$transclude tiddler="theotherone"/>
<$button message="tw-edit-tiddler" param={{!!title}}
class="btn-invisible">{{$:/core/images/edit-button}}</$button>
Best wishes
Jeremy
On Fri, Dec 20, 2013 at 7:16 PM, Stephan Hradek <[email protected]>wrote:
> Reducing the problem to the minimum…
>
> I transclude one tiddler in another and want to put an edit button at the
> end of the transclusion.
>
> At the moment I'm doing it like this:
>
> Some tiddler text
>
> <$transclude tiddler="theotherone"/> <$button message="tw-edit-tiddler"param
> ={{!!title}} class="btn-invisible">{{$:/core/images/edit-button}}</$button
> >
>
> In "theotherone" I have for example:
>
> par1
>
> par2
>
> When I transclude this without the button, it looks fine, but when I have
> the button it becomes:
>
> Some tiddler text
>
> par1 par2 (btn)
>
> Is there a way to fix it?
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.