1
0
Fork 0

Manual backup: 2023-12-12 23:17:24

This commit is contained in:
Alexander Schäferdiek 2023-12-12 23:17:24 +01:00
parent cec822a349
commit 600d4143c3
4 changed files with 16 additions and 15 deletions

View file

@ -1,4 +1,5 @@
{
"baseFontSize": 16,
"accentColor": ""
"accentColor": "",
"cssTheme": ""
}

View file

@ -70,8 +70,10 @@ var TemplaterError = class extends Error {
super(msg);
this.console_msg = console_msg;
this.name = this.constructor.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
}
};
async function errorWrapper(fn2, msg) {
try {
@ -3643,9 +3645,6 @@ var Templater = class {
const doc = editor.getDoc();
const oldSelections = doc.listSelections();
doc.replaceSelection(output_content);
if (active_view) {
await active_view.save();
}
app.workspace.trigger("templater:template-appended", {
view: active_view,
editor: active_editor,
@ -5597,8 +5596,8 @@ var TemplaterPlugin = class extends import_obsidian17.Plugin {
this.templater.execute_startup_scripts();
});
}
async unload() {
await this.templater.functions_generator.teardown();
onunload() {
this.templater.functions_generator.teardown();
}
async save_settings() {
await this.saveData(this.settings);

View file

@ -1,10 +1,11 @@
{
"id": "templater-obsidian",
"name": "Templater",
"version": "1.18.1",
"version": "1.18.3",
"description": "Create and use templates",
"minAppVersion": "0.11.13",
"author": "SilentVoid",
"authorUrl": "https://github.com/SilentVoid13",
"helpUrl": "https://silentvoid13.github.io/Templater/",
"isDesktopOnly": false
}

View file

@ -4,11 +4,11 @@
"type": "split",
"children": [
{
"id": "271ce7d7f07826e0",
"id": "d847a69113acf89d",
"type": "tabs",
"children": [
{
"id": "e51fb53f3abae387",
"id": "5808c3dac7e7fb1f",
"type": "leaf",
"state": {
"type": "empty",
@ -128,16 +128,18 @@
"templater-obsidian:Templater": false
}
},
"active": "e51fb53f3abae387",
"active": "5808c3dac7e7fb1f",
"lastOpenFiles": [
"KB/Linux/Desktop/ArchLinux/Theming Qt and Gtk.md",
"KB/Linux/Desktop/ArchLinux/sway.md",
"KB/Linux/Desktop/ArchLinux/i3.md",
"KB/Linux/Desktop/ArchLinux/Surface.md",
"KB/Linux/Desktop/ArchLinux/Audio/EQ.md",
"KB/Linux/Desktop/Mail.md",
"KB/Linux/Desktop/Steam.md",
"KB/Linux/Desktop/ArchLinux/Tweaks.md",
"KB/Linux/Desktop/ArchLinux/Theming Qt and Gtk.md",
"KB/Linux/Desktop/ArchLinux/Audio/aptx and pulseaudio.md",
"KB/Linux/Server/systemd.md",
"KB/Linux/Desktop/ArchLinux/i3.md",
"KB/Linux/Desktop/GPG - PGP.md",
"KB/Linux/Desktop/ArchLinux/Fonts.md",
"KB/Linux/Desktop/ArchLinux/Firewall.md",
@ -156,8 +158,6 @@
"KB/Linux/Server/ArchLinux/SSH Guard.md",
"KB/Linux/AMD.md",
"KB/Linux/Server/Domains.md",
"KB/Linux/DNS.md",
"KB/Linux/GNOME.md",
"KB/Linux/Desktop/Firewall"
]
}