Skip to content
Discussion options

You must be logged in to vote

Updating and saving a new tiddler is akin to saving a new tiddler with the same title.

var oldTiddler= $tw.wiki.getTiddler(title);
var newFields = {
    parent: parentTitle
}
$tw.wiki.addTiddler(new $tw.Tiddler(oldTiddler,newFields)); //right most hashmaps take precedence

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by EvidentlyCube
Comment options

You must be logged in to vote
5 replies
@EvidentlyCube
Comment options

@saqimtiaz
Comment options

@pmario
Comment options

pmario Oct 8, 2021
Collaborator

@pmario
Comment options

pmario Oct 8, 2021
Collaborator

@EvidentlyCube
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants