update
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
""
|
||||
]
|
||||
],
|
||||
"trigger_on_file_creation": false,
|
||||
"trigger_on_file_creation": true,
|
||||
"auto_jump_to_cursor": false,
|
||||
"enable_system_commands": false,
|
||||
"shell_path": "",
|
||||
@@ -15,11 +15,12 @@
|
||||
"enable_folder_templates": true,
|
||||
"folder_templates": [
|
||||
{
|
||||
"folder": "",
|
||||
"template": ""
|
||||
"folder": "/",
|
||||
"template": "templates/nouvelle note.md"
|
||||
}
|
||||
],
|
||||
"syntax_highlighting": true,
|
||||
"syntax_highlighting_mobile": false,
|
||||
"enabled_templates_hotkeys": [
|
||||
""
|
||||
],
|
||||
|
6
.obsidian/plugins/templater-obsidian/main.js
vendored
6
.obsidian/plugins/templater-obsidian/main.js
vendored
@@ -1671,7 +1671,7 @@ var FolderSuggest = class extends TextInputSuggest {
|
||||
folders.push(folder);
|
||||
}
|
||||
});
|
||||
return folders;
|
||||
return folders.slice(0, 1e3);
|
||||
}
|
||||
renderSuggestion(file, el) {
|
||||
el.setText(file.path);
|
||||
@@ -1791,7 +1791,7 @@ var FileSuggest = class extends TextInputSuggest {
|
||||
files.push(file);
|
||||
}
|
||||
});
|
||||
return files;
|
||||
return files.slice(0, 1e3);
|
||||
}
|
||||
renderSuggestion(file, el) {
|
||||
el.setText(file.path);
|
||||
@@ -3659,7 +3659,7 @@ var Templater = class {
|
||||
const oldSelections = doc.listSelections();
|
||||
doc.replaceSelection(output_content);
|
||||
if (active_editor.file) {
|
||||
await app.vault.append(active_editor.file, "");
|
||||
await app.vault.modify(active_editor.file, editor.getValue());
|
||||
}
|
||||
app.workspace.trigger("templater:template-appended", {
|
||||
view: active_view,
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "templater-obsidian",
|
||||
"name": "Templater",
|
||||
"version": "2.3.1",
|
||||
"version": "2.3.2",
|
||||
"description": "Create and use templates",
|
||||
"minAppVersion": "1.5.0",
|
||||
"author": "SilentVoid",
|
||||
|
Reference in New Issue
Block a user