Lexical Emoji Plugin Design
EmojiPlugin
lexical Core
<<extends>>
<<Node>> EmojiNode {type: emoji}
attributes
__unifiedID
methods
static getType(): string;
static clone(n: self): self;
static importJSON(..): self;
exportJSON(): Serialized<self>;
createDOM(): HTMLElement;
<<Node>> TextNode {type: text}
<<extends>>
findEmoji(text: string): EmojiMatch;
Node Transform
<<uses>>
<<registers>>
<<uses>>
CSS
Static Assets
<<includes>>
<<includes>>