some cleanup

This commit is contained in:
Ell 2022-08-21 17:49:57 +02:00
parent b805078fb1
commit 8b7c80d218
4 changed files with 12 additions and 15 deletions

3
.gitignore vendored
View file

@ -15,5 +15,8 @@ node_modules
# Exclude sourcemaps
*.map
# obsidian
workspace
# Exclude macOS Finder (System Explorer) View States
.DS_Store

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@ export class CustomFramesSettingTab extends PluginSettingTab {
display(): void {
this.containerEl.empty();
this.containerEl.createEl("h2", { text: "Custom Frames Settings" });
this.containerEl.createEl("p", { text: "Note that Obsidian has to be restarted or reloaded for most of these settings to take effect.", cls: "mod-warning" });
this.containerEl.createEl("p", { text: "Please note that Obsidian has to be restarted or reloaded for most of these settings to take effect.", cls: "mod-warning" });
new Setting(this.containerEl)
.setName("Frame Padding")
@ -156,9 +156,7 @@ export class CustomFramesSettingTab extends PluginSettingTab {
}
this.containerEl.createEl("hr");
let info = this.containerEl.createEl("p", { text: "Create a new frame, either from a preset shipped with the plugin, or a custom one that you can edit yourself. Each frame's pane can be opened using the \"Custom Frames: Open\" command." });
info.createEl("br");
info.createSpan({ text: "Note that Obsidian has to be restarted or reloaded to activate a newly added frame.", cls: "mod-warning" });
this.containerEl.createEl("p", { text: "Create a new frame, either from a preset shipped with the plugin, or a custom one that you can edit yourself. Each frame's pane can be opened using the \"Custom Frames: Open\" command." });
let addDiv = this.containerEl.createDiv();
let dropdown = new DropdownComponent(addDiv);
@ -194,4 +192,4 @@ export class CustomFramesSettingTab extends PluginSettingTab {
this.containerEl.createEl("a", { href: "https://ellpeck.de/support" })
.createEl("img", { attr: { src: "https://ellpeck.de/res/generalsupport.png" }, cls: "custom-frames-support" });
}
}
}

File diff suppressed because one or more lines are too long