Tables doesn't work with Vanilla JS integration of Tiptap
See original GitHub issueWhat happens?
RangeError: Applying a mismatched transaction
How can others reproduce the issue? Steps to reproduce the behavior:
- Implement the Vanilla JS of Tiptap v2 following the example fromn the doc: https://github.com/KevinNTH/edipoc/blob/master/src/components/editors/TiptapEditor.vue
- Execute the insert table button and see errors in the console: https://edipoc.vercel.app/
What behavior did you expect? That it works
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Installation – Tiptap Editor
Tiptap is framework-agnostic and even works with Vanilla JavaScript (if that's your thing). The following integration guides help you integrating Tiptap in ...
Read more >Doc on vanilla javascript is weird · Issue #2486 - GitHub
What part of the documentation needs improvement? It says vanilla javascript but then it mixes up nodejs: import { Editor } from '@tiptap/core' ......
Read more >Switching Rich Text Editors, Part 1: Picking Tiptap - Ashby
A library can work great in a sandbox environment, but integrating it with an existing codebase can surface issues. We wanted to find...
Read more >Could not find a declaration file for module 'module-name ...
In Node.js everything works fine, but TypeScript: import {Injector} from '@ts-stack/di' ...
Read more >Switching Rich Text Editors, Part 1: Picking Tiptap
I ran into a lot of bugs when integrating it which I had to manually work around; issues go months without being addressed;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Are you using the latest versions of all packages?
Just to clarify what Phillipp said, it is possible actually to use
@tiptap/core
with Vue3 but you must return the editor instance from the new Vue3setup()
method, not on as adata
attribute. Something like this: https://github.com/ueberdosis/tiptap-next/issues/85#issuecomment-758614539The editor is not (as standard) reactive if you do that, however if you use this
Editor
subclass it adds reactive methods to it: https://github.com/ueberdosis/tiptap-next/issues/85#issuecomment-759311832