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

pull/2192/head
Elian Doran 2025-06-06 23:47:35 +07:00
parent acaaf1f1f4
commit 7007feabd8
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

@ -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 () => {