From 4b171773e2ba3f2198018ab9d277ee64ff1ac35f Mon Sep 17 00:00:00 2001 From: Elvanos Date: Sun, 13 Jun 2021 18:15:40 +0200 Subject: [PATCH] 0.1.8 - export improvements --- src/components/ObjectTree.vue | 48 +++++++++++++- src/components/dialogs/ExportProject.vue | 65 +++++++++++++++++-- src/documents/changeLog.md | 6 ++ src/interfaces/I_Blueprint.ts | 1 + .../databaseManager/blueprints/chapters.ts | 20 ++++++ .../databaseManager/blueprints/characters.ts | 20 ++++++ .../databaseManager/blueprints/conditions.ts | 21 +++++- .../databaseManager/blueprints/culture.ts | 20 ++++++ .../databaseManager/blueprints/currencies.ts | 20 ++++++ .../databaseManager/blueprints/events.ts | 20 ++++++ .../databaseManager/blueprints/guilds.ts | 20 ++++++ .../databaseManager/blueprints/items.ts | 20 ++++++ .../databaseManager/blueprints/languages.ts | 20 ++++++ .../databaseManager/blueprints/locations.ts | 20 ++++++ .../databaseManager/blueprints/loreNotes.ts | 21 +++++- .../databaseManager/blueprints/magic.ts | 20 ++++++ .../databaseManager/blueprints/myths.ts | 20 ++++++ .../blueprints/politicalGroups.ts | 20 ++++++ .../databaseManager/blueprints/professions.ts | 20 ++++++ .../databaseManager/blueprints/races.ts | 20 ++++++ .../databaseManager/blueprints/religions.ts | 20 ++++++ .../databaseManager/blueprints/resources.ts | 20 ++++++ .../blueprints/scienceTechnology.ts | 21 +++++- .../databaseManager/blueprints/skills.ts | 21 +++++- suggestionList.md | 3 - 25 files changed, 514 insertions(+), 13 deletions(-) diff --git a/src/components/ObjectTree.vue b/src/components/ObjectTree.vue index 59d083d..19b5234 100644 --- a/src/components/ObjectTree.vue +++ b/src/components/ObjectTree.vue @@ -231,14 +231,25 @@ - + Export documents belonging under this + + + + + Delete documents belonging under this - + @@ -302,6 +313,17 @@ + + Export documents belonging under this + + + + Delete this document @@ -379,6 +401,17 @@ + + Export documents belonging under this + + + + e?.extraFields) + .map((e: {_id: string}) => e._id) + /* eslint-enable */ + + this.SSET_setExportDialogState(exExportIDs) + } + /****************************************************************/ // Delete dialog /****************************************************************/ diff --git a/src/components/dialogs/ExportProject.vue b/src/components/dialogs/ExportProject.vue index a79db7c..d754963 100644 --- a/src/components/dialogs/ExportProject.vue +++ b/src/components/dialogs/ExportProject.vue @@ -22,7 +22,7 @@
+ + + + + Determines if the export should append a unique text string +
+ at the end of the output files to prevent overriding +
+ of the file content if multiple documents with the same name exist. +
+
+
+ + + +
+ @@ -79,6 +102,27 @@ + + + + + Determines if the spoiler fields +
+ should be included in the export. +
+
+
+ + + +
+ @@ -527,6 +571,8 @@ export default class ExportProject extends DialogBase { selectedExportFormat = "Adobe Reader - PDF" + useCompatibilityMode = true + exportWholeProject = false writerMode = false @@ -541,6 +587,8 @@ export default class ExportProject extends DialogBase { includeIsDead = true + includeSpoilers = false + useFallbackFont = false useSafetyMode = true @@ -816,6 +864,7 @@ export default class ExportProject extends DialogBase { .filter(field => field.id !== "documentBackgroundColor") .filter(field => field.id !== "breakDocumentSettings") .filter(field => !field.isLegacy) + .filter(field => !field.isSpoiler || this.includeSpoilers) .filter(field => { if (input.extraFields.find(e => e.id === "categorySwitch")?.value) { if (catIgnoreList.includes(field.id)) { @@ -1131,7 +1180,10 @@ export default class ExportProject extends DialogBase { const { documentDirectory, exportFileName } = this.fixExportPaths(exportPath, input) // Write the file - fs.writeFileSync(`${documentDirectory}/${exportFileName}.md`, mdContent) + const finalExportPath = (this.useCompatibilityMode) + ? `${documentDirectory}/${exportFileName}-${input.id}.md` + : `${documentDirectory}/${exportFileName}.md` + fs.writeFileSync(finalExportPath, mdContent) } exportFile_PDF (input: I_ExportObject, exportPath: string, normalFontContents : any, boldFontContents: any) { @@ -1155,7 +1207,12 @@ export default class ExportProject extends DialogBase { doc.registerFont("Roboto-Bold", boldFontContents) // Start stream - doc.pipe(fs.createWriteStream(`${documentDirectory}/${exportFileName}.pdf`)) + + // Write the file + const finalExportPath = (this.useCompatibilityMode) + ? `${documentDirectory}/${exportFileName}-${input.id}.pdf` + : `${documentDirectory}/${exportFileName}.pdf` + doc.pipe(fs.createWriteStream(finalExportPath)) // Name/Title let title = input.name @@ -1593,7 +1650,7 @@ export default class ExportProject extends DialogBase { } .exportSettings { - max-height: calc(100vh - 405px); + max-height: calc(100vh - 420px); overflow-x: auto; padding-right: 20px; diff --git a/src/documents/changeLog.md b/src/documents/changeLog.md index 316d05b..3812ca2 100644 --- a/src/documents/changeLog.md +++ b/src/documents/changeLog.md @@ -23,10 +23,16 @@ - **Added document preview in split-view mode** - **Added mass document deletion tool** - **Added support for showing of last opened document list** +- **Added first iteration of the Project settings** +- Added project renaming support from inside the app - Added export functionality to relationships inside document previews - Added option: Aggressive relationships selection - Fantasia (the mascot) learned how to cook! +- Added unique-identified option for exports +- Added new spoiler/secrets/DM notes field to all document types +- Added spoiler-free export option for exports - Added support for custom subtitles in list fields +- Added support for mass-exports to the hierarchy tree - Added context, right-click menu to the hierarchy tree to tags - Preview in split-view mode - Collapse/Expand all diff --git a/src/interfaces/I_Blueprint.ts b/src/interfaces/I_Blueprint.ts index de6801a..ed02175 100644 --- a/src/interfaces/I_Blueprint.ts +++ b/src/interfaces/I_Blueprint.ts @@ -5,6 +5,7 @@ export interface I_ExtraFields { sizing: number tooltip?: string isLegacy?: boolean + isSpoiler?: boolean type: "text" | "number" | diff --git a/src/scripts/databaseManager/blueprints/chapters.ts b/src/scripts/databaseManager/blueprints/chapters.ts index 0dc1fce..3c8bdc0 100644 --- a/src/scripts/databaseManager/blueprints/chapters.ts +++ b/src/scripts/databaseManager/blueprints/chapters.ts @@ -170,6 +170,26 @@ export const chaptersBlueprint: I_Blueprint = { type: "wysiwyg", icon: "mdi-book-open-page-variant-outline", sizing: 12 + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/characters.ts b/src/scripts/databaseManager/blueprints/characters.ts index b252ba8..09cf22d 100644 --- a/src/scripts/databaseManager/blueprints/characters.ts +++ b/src/scripts/databaseManager/blueprints/characters.ts @@ -1642,6 +1642,26 @@ export const charactersBlueprint: I_Blueprint = { connectedObjectType: "resources", connectedField: "pairedCharacter" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/conditions.ts b/src/scripts/databaseManager/blueprints/conditions.ts index a46b0bb..e8dce22 100644 --- a/src/scripts/databaseManager/blueprints/conditions.ts +++ b/src/scripts/databaseManager/blueprints/conditions.ts @@ -630,7 +630,26 @@ export const conditionsBlueprint: I_Blueprint = { connectedObjectType: "resources", connectedField: "pairedConditionsOther" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } - ] } diff --git a/src/scripts/databaseManager/blueprints/culture.ts b/src/scripts/databaseManager/blueprints/culture.ts index bfee645..9220282 100644 --- a/src/scripts/databaseManager/blueprints/culture.ts +++ b/src/scripts/databaseManager/blueprints/culture.ts @@ -416,6 +416,26 @@ export const cultureBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "pairedConnectedCultures" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/currencies.ts b/src/scripts/databaseManager/blueprints/currencies.ts index fbf1730..2fda817 100644 --- a/src/scripts/databaseManager/blueprints/currencies.ts +++ b/src/scripts/databaseManager/blueprints/currencies.ts @@ -271,6 +271,26 @@ export const currenciesBlueprint: I_Blueprint = { connectedObjectType: "loreNotes", connectedField: "localCurrencies" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] diff --git a/src/scripts/databaseManager/blueprints/events.ts b/src/scripts/databaseManager/blueprints/events.ts index caa15a6..8bdac8e 100644 --- a/src/scripts/databaseManager/blueprints/events.ts +++ b/src/scripts/databaseManager/blueprints/events.ts @@ -423,6 +423,26 @@ export const eventsBlueprint: I_Blueprint = { connectedObjectType: "conditions", connectedField: "pairedEventsOther" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] diff --git a/src/scripts/databaseManager/blueprints/guilds.ts b/src/scripts/databaseManager/blueprints/guilds.ts index 6e35412..b6ec375 100644 --- a/src/scripts/databaseManager/blueprints/guilds.ts +++ b/src/scripts/databaseManager/blueprints/guilds.ts @@ -678,6 +678,26 @@ export const guildsBlueprint: I_Blueprint = { connectedObjectType: "conditions", connectedField: "pairedOtherGroups" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/items.ts b/src/scripts/databaseManager/blueprints/items.ts index ed6ad5b..d35a66e 100644 --- a/src/scripts/databaseManager/blueprints/items.ts +++ b/src/scripts/databaseManager/blueprints/items.ts @@ -537,6 +537,26 @@ export const itemsBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "pairedConnectedItems" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/languages.ts b/src/scripts/databaseManager/blueprints/languages.ts index 656cba4..007ff95 100644 --- a/src/scripts/databaseManager/blueprints/languages.ts +++ b/src/scripts/databaseManager/blueprints/languages.ts @@ -334,6 +334,26 @@ export const languagesBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "localLanguages" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/locations.ts b/src/scripts/databaseManager/blueprints/locations.ts index 078b4d9..5b05090 100644 --- a/src/scripts/databaseManager/blueprints/locations.ts +++ b/src/scripts/databaseManager/blueprints/locations.ts @@ -615,6 +615,26 @@ export const locationsBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "connectedLocations" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/loreNotes.ts b/src/scripts/databaseManager/blueprints/loreNotes.ts index dcac3ef..bf8cd2b 100644 --- a/src/scripts/databaseManager/blueprints/loreNotes.ts +++ b/src/scripts/databaseManager/blueprints/loreNotes.ts @@ -414,7 +414,26 @@ export const loreNotesBlueprint: I_Blueprint = { connectedObjectType: "currencies", connectedField: "pairedConnectedNotes" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } - ] } diff --git a/src/scripts/databaseManager/blueprints/magic.ts b/src/scripts/databaseManager/blueprints/magic.ts index e230b73..9285f3a 100644 --- a/src/scripts/databaseManager/blueprints/magic.ts +++ b/src/scripts/databaseManager/blueprints/magic.ts @@ -727,6 +727,26 @@ export const magicBlueprint: I_Blueprint = { connectedObjectType: "professions", connectedField: "pairedConnectedMagicGroups" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/myths.ts b/src/scripts/databaseManager/blueprints/myths.ts index 5d4ab5f..1af2e2b 100644 --- a/src/scripts/databaseManager/blueprints/myths.ts +++ b/src/scripts/databaseManager/blueprints/myths.ts @@ -379,6 +379,26 @@ export const mythsBlueprint: I_Blueprint = { connectedObjectType: "resources", connectedField: "pairedMyths" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] diff --git a/src/scripts/databaseManager/blueprints/politicalGroups.ts b/src/scripts/databaseManager/blueprints/politicalGroups.ts index c0a1bb8..e375605 100644 --- a/src/scripts/databaseManager/blueprints/politicalGroups.ts +++ b/src/scripts/databaseManager/blueprints/politicalGroups.ts @@ -699,6 +699,26 @@ export const politicalGroupsBlueprint: I_Blueprint = { connectedObjectType: "conditions", connectedField: "pairedRacesPoliticalGroups" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] diff --git a/src/scripts/databaseManager/blueprints/professions.ts b/src/scripts/databaseManager/blueprints/professions.ts index a4f052b..b90f937 100644 --- a/src/scripts/databaseManager/blueprints/professions.ts +++ b/src/scripts/databaseManager/blueprints/professions.ts @@ -469,6 +469,26 @@ export const professionsBlueprint: I_Blueprint = { connectedObjectType: "items", connectedField: "pairedConnectedProfessions" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/races.ts b/src/scripts/databaseManager/blueprints/races.ts index 0d4d708..b958a56 100644 --- a/src/scripts/databaseManager/blueprints/races.ts +++ b/src/scripts/databaseManager/blueprints/races.ts @@ -628,6 +628,26 @@ export const racesBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "connectedRaces" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/religions.ts b/src/scripts/databaseManager/blueprints/religions.ts index 2f4b539..9e1137b 100644 --- a/src/scripts/databaseManager/blueprints/religions.ts +++ b/src/scripts/databaseManager/blueprints/religions.ts @@ -690,6 +690,26 @@ export const religionsBlueprint: I_Blueprint = { connectedObjectType: "conditions", connectedField: "pairedReligiousGroups" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/resources.ts b/src/scripts/databaseManager/blueprints/resources.ts index 39bb774..3fdc492 100644 --- a/src/scripts/databaseManager/blueprints/resources.ts +++ b/src/scripts/databaseManager/blueprints/resources.ts @@ -597,6 +597,26 @@ export const resourcesBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "pairedConnectedResources" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } ] } diff --git a/src/scripts/databaseManager/blueprints/scienceTechnology.ts b/src/scripts/databaseManager/blueprints/scienceTechnology.ts index a183f92..267fe25 100644 --- a/src/scripts/databaseManager/blueprints/scienceTechnology.ts +++ b/src/scripts/databaseManager/blueprints/scienceTechnology.ts @@ -723,7 +723,26 @@ export const techBlueprint: I_Blueprint = { connectedObjectType: "professions", connectedField: "pairedConnectedTechGroups" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } - ] } diff --git a/src/scripts/databaseManager/blueprints/skills.ts b/src/scripts/databaseManager/blueprints/skills.ts index 2d913ac..c9fd611 100644 --- a/src/scripts/databaseManager/blueprints/skills.ts +++ b/src/scripts/databaseManager/blueprints/skills.ts @@ -562,7 +562,26 @@ export const skillsBlueprint: I_Blueprint = { connectedObjectType: "tech", connectedField: "pairedSkills" } + }, + { + id: "breakDetails", + name: "Secrets/Spoilers/DM notes", + type: "break", + sizing: 12, + isSpoiler: true + }, + { + id: "spoilerNotes", + name: "Secrets/Spoilers/DM notes", + type: "wysiwyg", + icon: "fas fa-mask", + sizing: 12, + isSpoiler: true, + tooltip: + `This field will not export by default when using the Export document functionality. +
+ Instead it needs to be manually included if the user wishes to export it. + ` } - ] } diff --git a/suggestionList.md b/suggestionList.md index 03793f7..3b550d9 100644 --- a/suggestionList.md +++ b/suggestionList.md @@ -1,9 +1,6 @@ ## PROJECT SETTINGS BATCH 1 START - 0.1.8 -- Project setting dialog/options -- Project rename - - Selective export per field basis - Templates for exports