Saving a tiddler from JS #6093
-
I am writing a plugin which will propagate some information about a field upwards. Specifically, I want to add to certain tiddlers a field Going up and down the tree of tags is not a problem, I've got the code done. My problem is how to trigger the tiddler save on all the updated parents? Normally save seems to be triggered by an action sending a message which is captured by NavigatorWidget, which consumes the message and does some things. On the other hand, maybe all I have to do is call |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Updating and saving a new tiddler is akin to saving a new tiddler with the same title.
|
Beta Was this translation helpful? Give feedback.
-
hmmmm, I personally would try to create a different structure or store the "has-private-child" info differently. You will get all sorts of synchronisation problems. Especially if tiddlers are renamed or the child tiddler is moved or deleted and so on. ... You are free to ignore this comment. .. Just think back when the problems start. |
Beta Was this translation helpful? Give feedback.
Updating and saving a new tiddler is akin to saving a new tiddler with the same title.