-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: editor.chain(...).focus(...).toggleUnderline is not a function when underlining a word #435
Comments
I have the same issue as well.
|
I got the same for for |
I've made a PR for this issue. It may resolve the error! |
Getting the same issue. editor.chain(...).focus(...).setLatex is not a function |
thanks for that, you don't have to wait for the pr, just add that to your extension file: TiptapUnderline, |
Provide environment information
System:
OS: Linux 6.1 Fedora Linux 38 (Thirty Eight)
CPU: (3) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Memory: 1.76 GB / 3.98 GB
Container: Yes
Shell: 5.2.26 - /bin/bash
Binaries:
Node: 18.19.0 - /usr/bin/node
npm: 10.2.3 - /usr/bin/npm
pnpm: 9.6.0 - /usr/local/bin/pnpm
bun: 1.1.20 - ~/.bun/bin/bun
Describe the bug
Hi, I'm working with the novel-tailwind-example. I have upgraded all packages to the newest versions but now I get the error: "TypeError: editor.chain(...).focus(...).toggleUnderline is not a function" when underlining a word and "TypeError: editor.commands.unsetColor is not a function" when trying to give another color. What can I do?
Link to reproduction
https://github.com/steven-tey/novel/tree/main/examples/novel-tailwind
To reproduce
See above
Additional information
No response
The text was updated successfully, but these errors were encountered: