tiptap
tiptap copied to clipboard
Text replacement feature in macOS is broken
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:

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

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]**:
- 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. 💖
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
@bdbch This issue never ended up being fixed, can you please reopen? I have an upcoming PR to fix this 😊
Thanks! Reopened the issue
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.
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