Skip to content

Build your personal knowledge base with Trilium Notes

chore(text): re-enable emojis

Elian Doranf9731d9cfce8
diff --git a/apps/client/src/widgets/type_widgets/text/config.ts b/apps/client/src/widgets/type_widgets/text/config.ts
index e2b20192f2..29b1a02699 100644
--- a/apps/client/src/widgets/type_widgets/text/config.ts
+++ b/apps/client/src/widgets/type_widgets/text/config.ts
@@ -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();