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

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Apr 10 '23 00:04 github-actions[bot]

@bdbch This issue never ended up being fixed, can you please reopen? I have an upcoming PR to fix this 😊

rfgamaral avatar Jun 21 '24 12:06 rfgamaral

Thanks! Reopened the issue

bdbch avatar Jun 21 '24 17:06 bdbch

Same error, if you have the textStyle extension installed and using the ortho corrector you replace a word for the suggested one the marks dissapear.

ElHex avatar Jul 24 '24 03:07 ElHex

This has been released with 2.7.0-pre.0 and will be released in tiptap 2.7.0 when this beta has been tested by more users

nperez0111 avatar Aug 27 '24 18:08 nperez0111