{{||$:/core/ui/Buttons/new-here}}
$:/core/ui/Buttons" too. They can get replaced by a placeholder when you use "Open In New Window" from a Tiddler. This works, but I noticed that if I Pop-Out this tiddler into a new window, the icon doesn't appear. I can still click in that spot and it acts as if the icon is there, but I can't see it. Any ideas why this happens and how to fix it?
I put the following in several tiddlers as a shortcut to the "New Here" button. I didn't want to put it permanently in the toolbar, but these particular tiddlers generate index table of tiddlers tagged with this one. So I thought it would be convenient to put a "New Here" icon at the bottom of the table.{{||$:/core/ui/Buttons/new-here}}
This works, but I noticed that if I Pop-Out this tiddler into a new window, the icon doesn't appear. I can still click in that spot and it acts as if the icon is there, but I can't see it. Any ideas why this happens and how to fix it?
I suppose you mean the tiddler toolbar command: "Open in new window"
This command renders the tiddler content and opens it in a new tab. That's it.
There is no js code. So this tiddler is a "static" representation of the tiddler. ... It has no idea about other tiddlers.
That's the intended behaviour.
eg:
This is a test: {{||$:/core/ui/Buttons/new-here}}
creates:
<html>
<head>
<style>...a lot of tw CSS...</style>
<title>New Tiddler</title>
</head>
<body class="tc-body tc-single-tiddler-window">
<p>This is a test: <button class="" title="Create a new tiddler tagged with this one" aria-label="new here"></button>
</p>
</body>
</html>
Since the CSS is exported, it's possible to see the content in a formatted way. ... But there is no interaction.
have fun!
mario
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/57e2850f-f9e4-4fd5-a38b-f6cf1b7dd497%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Over here: https://groups.google.com/d/msg/tiddlywiki/A9DTfpJyzuQ/e49qdXffAQAJ an interesting point was raised about the LINGO of "Open in new window."
Jeremy (or others), can you give further advice on reasons and hints to fix these effects?
You can play with my app here: https://tid.li/tw5/hacks.html#ToDoNow
All the best,
Thomas
*Here’s my fixed code for the save button:
\define teBigSaveButton(class:"te-third")
<$vars tv-config-toolbar-icons="yes">
@@.te-btn-big.$class$ {{$:/core/ui/Buttons/save-wiki}}@@
</$vars>
\end