feat: add a full markdown editor to messages page, close #578 (#592)

This commit is contained in:
Xylight authored and GitHub committed 2025-06-20 15:28:20 -07:00
1 parent 56ac2631b5
commit 04a9b37c6f
3 files changed
+93 -30

No files matched your search

+7 -1
View File
@@ -100,10 +100,13 @@ interface Settings {
logoColorMonth: number | null
absoluteDates: boolean
messages: {
fullMarkdown: boolean
}
}
export const defaultSettings: Settings = {
settingsVer: 5,
settingsVer: 6,
expandableImages: toBool(env.PUBLIC_EXPANDABLE_IMAGES) ?? true,
markReadPosts: toBool(env.PUBLIC_MARK_READ_POSTS) ?? true,
showInstances: {
@@ -176,6 +179,9 @@ export const defaultSettings: Settings = {
parseTags: true,
logoColorMonth: null,
absoluteDates: false,
messages: {
fullMarkdown: toBool(env.PUBLIC_FULL_MARKDOWN) ?? false,
},
}
function createSettingsState(initial: Settings): Settings {