mirror of
https://github.com/zadam/trilium.git
synced 2026-01-18 12:34:24 +01:00
chore(text): re-enable emojis
This commit is contained in:
parent
7547371ba0
commit
f9731d9cfc
@ -133,12 +133,11 @@ export async function buildConfig(opts: BuildEditorOptions): Promise<EditorConfi
|
||||
defaultProtocol: "https://",
|
||||
allowedProtocols: ALLOWED_PROTOCOLS
|
||||
},
|
||||
// TODO: Disabled for now
|
||||
// emoji: {
|
||||
// definitionsUrl: window.glob.isDev
|
||||
// ? new URL(import.meta.url).origin + emojiDefinitionsUrl
|
||||
// : emojiDefinitionsUrl
|
||||
// },
|
||||
emoji: {
|
||||
definitionsUrl: window.glob.isDev
|
||||
? new URL(import.meta.url).origin + emojiDefinitionsUrl
|
||||
: emojiDefinitionsUrl
|
||||
},
|
||||
syntaxHighlighting: {
|
||||
loadHighlightJs: async () => {
|
||||
await ensureMimeTypesForHighlighting();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user