mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
chore(client): text notes not rendering in dev mode
This commit is contained in:
parent
acaaf1f1f4
commit
7007feabd8
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user