Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions np.Templating/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

See Plugin [Documentation](https://noteplan.co/templates/docs) for details on available commands and use case.

## [2.0.18] 2025-08-06 @dwertheimer
- add pluginID for iphone settings editing

## [2.0.17] 2025-08-06 @dwertheimer
- Fix bug where non-fm-body templates which started with -- were being treated as frontmatter

Expand Down
19 changes: 15 additions & 4 deletions np.Templating/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"noteplan.minAppVersion": "3.9.10",
"plugin.id": "np.Templating",
"plugin.name": "📒 Templating",
"plugin.version": "2.0.17 ",
"plugin.lastUpdateInfo": "2.0.17: - Fix bug where non-fm-body templates which started with -- were being treated as frontmatter",
"plugin.version": "2.0.18",
"plugin.lastUpdateInfo": "2.0.18: - add pluginID for iphone settings editing",
"plugin.description": "Templating Plugin for NotePlan",
"plugin.author": "Mike Erickson ( codedungeon)",
"plugin.dependencies": [],
Expand Down Expand Up @@ -210,12 +210,23 @@
{
"NOTE": "DO NOT EDIT THIS COMMAND/TRIGGER",
"name": "Templating: Update Plugin Settings",
"description": "Preferences",
"jsFunction": "editSettings"
"description": "Templating Preferences",
"jsFunction": "editSettings",
"alias": [
"np:settings",
"templating:settings",
"template:settings",
"tsettings"
]
}

],
"plugin.settings": [
{
"type": "hidden",
"key": "pluginID",
"default": "np.Templating"
},
{
"type": "heading",
"title": "np.Templating Settings"
Expand Down
2 changes: 1 addition & 1 deletion np.Templating/src/Templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function onUpdateOrInstall(config: any = { silent: false }): Promis
try {
logDebug(pluginJson, `${pluginJson['plugin.id']} :: onUpdateOrInstall running`)
await updateSettingData(pluginJson)
await pluginUpdated(pluginJson, { code: 2, message: `Plugin Installed.` })
await pluginUpdated(pluginJson, { code: 2, message: `Plugin Installed.` }, true)
} catch (error) {
logError(pluginJson, `onUpdateOrInstall: ${JSP(error)}`)
}
Expand Down
Loading