Releases: witchcraftjs/editor
v0.2.0
0.2.0 (2026-01-03)
⚠️ BREAKING CHANGES
reworked Collaboration extension for better integration (1943114)
We had our own copy of the extension in the package due to a workaround for an
issue. Tiptap fixed it, so we no longer need the full copy.
The new version exists just so we can integrate it more easily with the document
api. The previous way the docs suggested handing the integration caused issues
with duplicate transactions when multiple editors loaded the same document.
This new version fixes the issue but it does require setting up the document api
in a specific way (different than before). In particular, be sure to remove the
updateFilter for sync transactions, it's no longer needed. See the extension's
docs for more details.
v0.1.1
0.1.1 (2025-12-31)
🐛 Fixes
fixed "cannot read properties of undefined" (e673dbc)
The depth passed to prosemirror's ResolvedPost.node should be checked so the
types don't return null. See
ProseMirror/prosemirror-model#24
Decided to make it explicit they might be undefined, but also just lazy check
with an optional operator.
v0.1.0
0.1.0 (2025-11-30)
⚠️ BREAKING CHANGES
reworked generateRandomDoc completely (62ac4b2)
It's a little bit less safe, it doesn't check nodes are compatible like it used
to, but it's more flexible and easier to control. It's basically scaffolding to
help call the config, with the config doing most of the work.
📖 Documentation
improved docs (80e6bfc)
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.2
0.0.2 (2025-09-21)
🐛 Fixes
fixed editor gaining reactivity and causing transaction mismatches (b930e7c)
See the commit, import must be from @tiptap/vue-3 which marks the Editor it
exposes with markRaw. If we accidentally use @tiptap/core it gains reactivity
and breaks all command access because the transaction instance is a proxy.