Skip to content

Commit

Permalink
feat: ✨ ability to put multiline default template
Browse files Browse the repository at this point in the history
Closes: #68
  • Loading branch information
mrjackphil committed Jun 16, 2022
1 parent 82d73aa commit 4b4f362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ class SettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName('Default template')
.setDesc('You can specify default template')
.addText(text => {
.addTextArea(text => {
text.setValue(this.plugin.config.defaultTemplate)
.onChange(val => {
this.plugin.config.defaultTemplate = val
Expand Down

0 comments on commit 4b4f362

Please sign in to comment.