Skip to main content

Interface: EmojiExtensionConfig

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:25

Properties

emojiBaseUrl

emojiBaseUrl: string

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:32

The base URL to find the emoji PNG files, originally from the 64x64 set in emoji-datasource-facebook. Default: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-extension@${PACKAGE_VERSION}/dist/emoji"

Do not add a trailing slash to the path.


emojiClass

emojiClass: string

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:36

The class to use for emoji nodes


emojiLoadedClass

emojiLoadedClass: string

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:44

The class to use for emoji nodes after the image is loaded and set as a background-image


emojiLoadingClass

emojiLoadingClass: string

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:40

The class to use for emoji nodes before the image is loaded


parseEmojiReplacementEntry

parseEmojiReplacementEntry: EmojiEntryParser

Defined in: packages/lexical-emoji-extension/src/EmojiExtension.ts:48

The function to use to parse the emoji database and build the text -> emoji mapping