react-quill icon indicating copy to clipboard operation
react-quill copied to clipboard

Not able integrate quill-emoji in React + typescript in v2

Open jaspritt-hora opened this issue 3 years ago • 1 comments

Working link for the issue

Link for the issue - codesandbox

Ticket due diligence

  • [x] I have verified that the issue persists under ReactQuill v2.0.0-beta.2
  • [x] I can't use the beta version for other reasons

ReactQuill version

  • [ ] master
  • [ ] v2.0.0-beta.2
  • [ ] v2.0.0-beta.1
  • [ ] 1.3.5
  • [ ] 1.3.4 or older
  • [x] Other (fork)
    • Version - v2.0.0

Description of the issue -

Hello,

I am new to Quill. I am trying to integrate emoji selector with Quill in React with typescript Here is the yarn package being used:

https://yarnpkg.com/package/quill-emoji

Issue:

When I compile the application, I get the following error:

image

For typings, I couldn't find - @types/quill-emoji in yarn.

I tried the integration in codesandbox, this is sans typescript. However, when I click on the emoji selector, I don't see the icons in the list - there are seen when you inspect the element. Link for the issue - codesandbox

Versions, I am using in the app -

React - 17.0.2 quill-emoji - 0.2.0 react-quill - 2.0.0

Questions:

  • How do I solve the types issue?
  • How do I get the emojis to show-up in the list?

jaspritt-hora avatar Aug 19 '22 17:08 jaspritt-hora

temporary: add @ignore-ts

dodoto avatar Aug 26 '22 05:08 dodoto