You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -312,8 +304,8 @@ class PexelsBannerSettingTab extends PluginSettingTab {
312
304
awaitthis.plugin.saveSettings();
313
305
}));
314
306
315
-
newSetting(imageSettingsSection)
316
-
.setName('Image Orientation')
307
+
newSetting(mainContent)
308
+
.setName('Orientation')
317
309
.setDesc('Select the orientation of the image')
318
310
.addDropdown(dropdown=>dropdown
319
311
.addOption('landscape','Landscape')
@@ -325,8 +317,8 @@ class PexelsBannerSettingTab extends PluginSettingTab {
325
317
awaitthis.plugin.saveSettings();
326
318
}));
327
319
328
-
newSetting(imageSettingsSection)
329
-
.setName('Number of Images')
320
+
newSetting(mainContent)
321
+
.setName('Number of images')
330
322
.setDesc('Enter the number of random images to fetch (1-50)')
331
323
.addText(text=>text
332
324
.setPlaceholder('10')
@@ -346,9 +338,8 @@ class PexelsBannerSettingTab extends PluginSettingTab {
346
338
inputEl.style.width='50px';
347
339
});
348
340
349
-
// Add new setting for default keywords
350
-
newSetting(imageSettingsSection)
351
-
.setName('Default Keywords')
341
+
newSetting(mainContent)
342
+
.setName('Default keywords')
352
343
.setDesc('Enter a comma-separated list of default keywords to be used when no keyword is provided in the frontmatter, or when the provided keyword does not return any results.')
353
344
.addTextArea(text=>text
354
345
.setPlaceholder('Enter keywords, separated by commas')
@@ -365,8 +356,11 @@ class PexelsBannerSettingTab extends PluginSettingTab {
instructionsEl.createEl('h3',{text: 'How to Use'});
370
364
instructionsEl.createEl('p',{text: 'Add a "pexels-banner" field to your note\'s frontmatter with keywords for the image you want, or a direct URL to an image.'});
0 commit comments