Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barsnes/lexical-twemoji
Lexical plugin that makes all emojis a twemoji
https://github.com/barsnes/lexical-twemoji
lexical twemoji
Last synced: about 1 month ago
JSON representation
Lexical plugin that makes all emojis a twemoji
- Host: GitHub
- URL: https://github.com/barsnes/lexical-twemoji
- Owner: Barsnes
- Created: 2023-12-22T20:53:45.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-26T01:41:40.000Z (about 1 year ago)
- Last Synced: 2024-10-30T08:44:29.099Z (2 months ago)
- Topics: lexical, twemoji
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@barsnes/lexical-twemoji
- Size: 730 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Netlify Status](https://api.netlify.com/api/v1/badges/6a66b921-ba1e-43da-997e-3a21240f1549/deploy-status)](https://app.netlify.com/sites/lexical-twemoji/deploys)
### [Demo](https://lexical-twemoji.barsnes.dev/)
# Lexical Twemoji plugin
Lexical plugin that makes all emojis a [twemoji](https://twemoji.twitter.com/content/twemoji-twitter/en.html).
The plugin does not provide any emoji pickers. It listens for changes on `TextNode`s, and parses them for any inserted emojis.## Usage
`npm i @barsnes/lexical-twemoji`
```jsx
import {
LexicalTwemojiPlugin,
LexicalTwemojiNode,
} from "@barsnes/lexical-twemoji";const initialConfig = {
nodes: [LexicalTwemojiNode],
};
;
```