Hi, I've started making a plugin in the browser (without nodejs), and everything went fine during the first packing. All the tiddlers included in the plugin became shadow tiddlers as expected, and the plugin works just fine.
My issue is that now each time I try to make a change to one of the
plugin shadow tiddlers and repack the plugin using
$tw.utils.repackPlugin("$:/plugins/name/plugin")
All overrides to shadow tiddlers get reverted back to the version of the
shadow tiddlers, deleting all changes I'm trying to add to the plugin.
The doc at
https://tiddlywiki.com/dev/#How%20to%20create%20plugins%20in%20the%20browser
seems to indicate that it should work though:
To make a modified copy of a plugin, one edits the constituent shadow
tiddlers (doing this actually overrides the shadow tiddler with a new
non-shadow tiddler containing the modified content). The repacking
process retrieves the current value of all the shadow tiddlers included
in the plugin, and then bundles the new values back into the original
plugin tiddler.
However this is not what I'm experiencing.
I guess I'm doing something wrong, but at that point I'm a bit stuck :-)
Thanks,
Nico
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev/87pnbvktqm.fsf%40petton.fr.
signature.asc
Description: PGP signature
