Skip to content

Commit abc8f3b

Browse files
committed
Fix errors introduced during rebase; update supernote-typescript to match current version in main
1 parent 47084d5 commit abc8f3b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const DEFAULT_SETTINGS: SupernotePluginSettings = {
1616
showTOC: true,
1717
showExportButtons: true,
1818
collapseRecognizedText: false,
19-
noteImageMaxWidth: 0,
2019
noteImageMaxWidth: 1400, // Default to (nearly) the full width of the image
2120
}
2221

@@ -465,6 +464,9 @@ class SupernoteSettingTab extends PluginSettingTab {
465464
.setValue(this.plugin.settings.collapseRecognizedText)
466465
.onChange(async (value) => {
467466
this.plugin.settings.collapseRecognizedText = value;
467+
await this.plugin.saveSettings();
468+
})
469+
);
468470

469471
new Setting(containerEl)
470472
.setName('Max image width in .note files')

0 commit comments

Comments
 (0)