Releases: witchcraftjs/editor
v0.4.1
v0.4.0
0.4.0 (2026-06-01)
⚠️ BREAKING CHANGES
fixed injection keys issue once and for all (76eef76)
While downstream users should be deduping deps, sometimes it can be complicated
and pnpm's peer deps resolution can cause duplicate packages creating duplicate
symbols.
Refactored exported symbols to use Symbol.for instead so they always grab the
same reference. This is breaking because the key names have been changed to be
prefixed by the package name.
📖 Documentation
fixed docs build [skip ci] (191cb55)
Removed the old non-nuxt demo/ folder. It wasn't working anywhere and is quite
easy to setup anyways.
v0.3.0
0.3.0 (2026-04-19)
🐛 Fixes
improved debug selection plugin (970019c)
This had been changed recently to a widget, but it was causing selection issues.
So now it appends an absolutely positioned element to the editor's wrapper
instead.
fixed tailwind (30297cb)
⚠️ BREAKING CHANGES
updated to @witchcraft/ui + modifications (a78c415)
Updated to the new version of @witchcraft/ui which required re-working some
components, especially popups.
- A few props for the menu components have changed.
- The styles for the link menus have been reworked.
- We have switched to using tiptap's BubbleMenu where possible since it now
works better and it's also based on the floating-ui library like reka is. - Switched to lucide ui icons where possuble.
Otherwise everything else is nearly the same.
v0.2.1
0.2.1 (2026-04-09)
⭐ New Features
improved debugSelectPlugin (7b07e40)
- It is now dev-only.
- Does not modify the tab title.
- Uses a floating tooltip the end of the selection, usually in the right most
area of the editor where it doesn't interfere with anything.
🐛 Fixes
fixed embedded documents not showing (740b7b7)
We were forgetting the initial recreate call. Probably lost in some refactoring
and I didn't notice. To avoid this causing an infinite loop we tweaked the
watcher to avoid loading if content didn't change.
Also added a test so this doesn't happen again.
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.