mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 08:13:40 +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
|
allowedProtocols: ALLOWED_PROTOCOLS
|
||||||
},
|
},
|
||||||
emoji: {
|
emoji: {
|
||||||
definitionsUrl: emojiDefinitionsUrl
|
definitionsUrl: window.glob.isDev
|
||||||
|
? new URL(import.meta.url).origin + emojiDefinitionsUrl
|
||||||
|
: emojiDefinitionsUrl
|
||||||
},
|
},
|
||||||
syntaxHighlighting: {
|
syntaxHighlighting: {
|
||||||
loadHighlightJs: async () => {
|
loadHighlightJs: async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user