I've tried the usual route of adding this to config.js:
but the template list just comes up empty when I do that. To experiment, I tried modifying default.js, both the one in plugins/templates/templates/ and the one in _source/plugins/templates/templates. The default templates still came up. At that point, I tried DELETING both of those default.js files, and the templates still come up in the template list when I click the button! And they still work! Where are these ACTUALLY stored and how can I modify them?
config.templates_files = [ 'template_list.js' ];
but the template list just comes up empty when I do that. To experiment, I tried modifying default.js, both the one in plugins/templates/templates/ and the one in _source/plugins/templates/templates. The default templates still came up. At that point, I tried DELETING both of those default.js files, and the templates still come up in the template list when I click the button! And they still work! Where are these ACTUALLY stored and how can I modify them?