chore(text): re-enable emojis

This commit is contained in:
Elian Doran 2026-01-12 19:00:35 +02:00
parent 7547371ba0
commit f9731d9cfc
No known key found for this signature in database

View File

@ -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();