tiptap icon indicating copy to clipboard operation
tiptap copied to clipboard

Text replacement feature in macOS is broken

Open craigcarlyle opened this issue 2 years ago • 4 comments

What’s the bug you are facing?

There appears to be an issue when trying to use the text replacement feature built in to macOS with Tiptap. Attempting to do so will result in the following error:

Screenshot 2023-01-06 at 4 22 29 PM

The error seems to be coming from here. This may be caused by an invalid to value 🤔

Screenshot 2023-01-06 at 4 02 58 PM

Which browser was this experienced in? Are any special extensions installed?

Chrome, Safari, Firefox

How can we reproduce the bug on our side?

  • Create a text replacement in macOS. For example, [crd] to **[CARD]**: Screenshot 2023-01-06 at 4 01 39 PM
  • Attempt to use the text replacement shortcut in Tiptap:

https://user-images.githubusercontent.com/1305500/211121301-086f4d9b-dda9-4ec7-8749-c4d8c9f49f7b.mov

Can you provide a CodeSandbox?

No response

What did you expect to happen?

Expected text should be entered (like in this demo from another editor):

https://user-images.githubusercontent.com/1305500/211121065-3c909e12-f8c0-446f-9bda-e6462c55624f.mov

Anything to add? (optional)

No response

Did you update your dependencies?

  • [X] Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • [x] Yes, I’m a sponsor. 💖

craigcarlyle avatar Jan 07 '23 00:01 craigcarlyle