How can i integrate emoji in react-quill ?
See original GitHub issueHi, i’m using the master version of react-quill but i can’t figure out how to add emoji support…
using the info provided with quill-emoji module i’ve to setup my quill in the following way
const toolbarOptions = {
container: [
['bold', 'italic', 'underline', 'strike'],
['emoji'],
],
handlers: {'emoji': function() {}}
}
const quill = new Quill(editor, {
// ...
modules: {
// ...
toolbar: toolbarOptions,
toolbar_emoji: true,
}
});
How can i set up react-quill to achieve the same result ?
Thanks, thanks for your work
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:7
Top Results From Across the Web
react-quill-emoji - npm
Start using react-quill-emoji in your project by running `npm i ... There is 1 other project in the npm registry using react-quill-emoji.
Read more >react-quill-emoji examples - CodeSandbox
Learn how to use react-quill-emoji by viewing and forking react-quill-emoji example apps on CodeSandbox.
Read more >A brand new website interface for an even better experience!
How can i integrate emoji in react-quill ?
Read more >Adding emojis to your React app - LogRocket Blog
There are multiple ways to add emojis into your React app. Here's a short guide to fit almost every single use case.
Read more >API - Quill Rich Text Editor
Retrieves contents of the editor, with formatting data, represented by a Delta object. Methods. getContents(index: Number = ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
like this:
hope it works for u
The final working solution is here: https://github.com/contentco/quill-emoji/issues/75#issuecomment-520791828
It was missing import the css: