mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-12-22 13:19:24 +01:00
some cleanup
This commit is contained in:
parent
b805078fb1
commit
8b7c80d218
4 changed files with 12 additions and 15 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -15,5 +15,8 @@ node_modules
|
|||
# Exclude sourcemaps
|
||||
*.map
|
||||
|
||||
# obsidian
|
||||
workspace
|
||||
|
||||
# Exclude macOS Finder (System Explorer) View States
|
||||
.DS_Store
|
||||
|
|
8
main.js
8
main.js
File diff suppressed because one or more lines are too long
|
@ -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
Loading…
Reference in a new issue