This uses a really neat callback update function that changes depending on if the target is an index or a tiddler/field. Unfortunately, that skips around TW's other write mechanisms, so I missed it. Will probably need a Mod-loader Patch or an entirely new $:/core/modules/editor/factory.js.
Note to self: Pull request to @Jermolene/TiddlyWiki5 that makes these read/write methods part of $tw.utils. so that they can be overwritten (thus no patches)?? Need to read up on how that would work.
$:/core/modules/editor/factory.js
This uses a really neat callback
update
function that changes depending on if the target is an index or a tiddler/field. Unfortunately, that skips around TW's other write mechanisms, so I missed it. Will probably need a Mod-loader Patch or an entirely new $:/core/modules/editor/factory.js.Note to self: Pull request to @Jermolene/TiddlyWiki5 that makes these read/write methods part of $tw.utils. so that they can be overwritten (thus no patches)?? Need to read up on how that would work.