chore(client): text notes not rendering in dev mode

This commit is contained in:
Elian Doran 2025-06-06 23:47:35 +03:00
parent acaaf1f1f4
commit 7007feabd8
No known key found for this signature in database

View File

@ -102,7 +102,9 @@ export function buildConfig(): EditorConfig {
allowedProtocols: ALLOWED_PROTOCOLS
},
emoji: {
definitionsUrl: emojiDefinitionsUrl
definitionsUrl: window.glob.isDev
? new URL(import.meta.url).origin + emojiDefinitionsUrl
: emojiDefinitionsUrl
},
syntaxHighlighting: {
loadHighlightJs: async () => {