Skip to content

renderTiddler gets empty result... #6645

Answered by Jermolene
linonetwo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @linonetwo

I think there's a typo there – your map function is not doing anything with the contentHTML variable. Here's a version that works on tiddlywiki.com:

const sidebarTabTitles = $tw.wiki.filterTiddlers('[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]');
sidebarTabTitles.map((title) =>  $tw.wiki.renderTiddler('text/html', title))

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@Jermolene
Comment options

@linonetwo
Comment options

@Jermolene
Comment options

@linonetwo
Comment options

@linonetwo
Comment options

Answer selected by linonetwo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants