Update the placeholder

This commit is contained in:
Simon Yang 2023-03-14 19:56:21 +11:00
parent 1116c8d185
commit c79e237e98

View file

@ -641,7 +641,7 @@ class ApiSettingTab extends PluginSettingTab {
.setName('Custom command for selected text')
.setDesc('Fill in your prompts line by line. They will appear as commands.')
.addTextArea(text => text
.setPlaceholder('Summarise the selected text\nTranslate into English')
.setPlaceholder('Summarise the text\nTranslate into English')
.setValue(this.plugin.settings.promptsForSelected)
.onChange(async (value) => {
this.plugin.settings.promptsForSelected = value;