bump. Didn't get an answer. By email Yoni Balkind said it looks like the 
static exporter is closing the <p> before the <div>. Any ideas?

On Friday, May 8, 2020 at 8:24:02 AM UTC-5, David Gifford wrote:
>
> Hi all
>
> I recently came up with a way to transclude tiddlers within popups in a 
> way that works when exporting tiddlers to static htmls. 
>
> https://giffmex.org/gifts/transclusioninpopups.html
>
> Now I realize there is a problem: I tested the popup on its own line, but 
> not within a paragraph. Within a paragraph, since the solution is a <div>, 
> it breaks the paragraph and the link appears below on a separate line. Here 
> is the original snippet:
>
> <div class="tooltip"><a href="https://giffmex.org";>Giffmex</a><div 
> class="tooltiptext"><$transclude tiddler="New Tiddler" 
> mode="block"/></div></div>
>
> I tried changing the outer <div> to a <span> twice, once with the inner 
> div, and once with the inner as a span. But in both cases, the transclusion 
> happens on the page, not as a popup.
>
> I even tried changing the stylesheet $:/.giffmex/.Stylesheet4popups 
> <https://giffmex.org/gifts/transclusioninpopups.html#%24%3A%2F.giffmex%2F.Stylesheet4popups>
>  
> tooltip from display:inline-block to display:inline.
>
> Any ideas? Is the problem found in one of the static shadow tiddlers? Or 
> am I doing something wrong? Or is the very <div> that makes it work on a 
> separate line in static HTML also the thing that keeps it from working 
> within a paragraph?
>
> I was pleased that I came up with something viable for Anne-Laure and her 
> subscribers, who are using these popups in their "mind gardens", but now am 
> disappointed it is not working as planned. I would appreciate any help you 
> can give me.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df2071db-f1a7-468f-bf27-bf8fdd8e0e5f%40googlegroups.com.

Reply via email to