Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
121 KiB
Change Log
2.7.3
Patch Changes
f76515a
: Update the typing for NodeViewProps to be an interface rather than a concrete type #5632d57ee51
: filter rendered extensionAttributes (#5588)
2.7.2
2.7.1
Patch Changes
888f574
: Fixed Slice import in DropPlugin
2.7.0
Minor Changes
97ea55f
: Fixes #5490. ThepreventClearDocument
meta tag can now be used to prevent theclearDocument
plugin in the core keymap extension from modifying transactions that appear to clear the document (but might be clearing it for other reasons).9e18d24
: AddedonPaste
andonDrop
options to the editor allowing for easier event binding for both cases97ea55f
: An object can now be passed toenableCoreExtensions
to allow disabling only specific core extensions.
Patch Changes
f805333
: fix: check for schema's nesting rules on contentCheck07fa49d
: Copy over node attributes on node toggling (for example to keep text styles while toggling a headline)7f24a66
: Update the Typescript types for NodeViews, bringing them inline with there actual implementationa22767e
: Merging inline style attributes now can properly merge conflicting style attribute names, resulting in cleaner HTML output and correctness
2.7.0-pre.0
Minor Changes
97ea55f
: Fixes #5490. ThepreventClearDocument
meta tag can now be used to prevent theclearDocument
plugin in the core keymap extension from modifying transactions that appear to clear the document (but might be clearing it for other reasons).9e18d24
: AddedonPaste
andonDrop
options to the editor allowing for easier event binding for both cases97ea55f
: An object can now be passed toenableCoreExtensions
to allow disabling only specific core extensions.
Patch Changes
f805333
: fix: check for schema's nesting rules on contentCheck07fa49d
: Copy over node attributes on node toggling (for example to keep text styles while toggling a headline)7f24a66
: Update the Typescript types for NodeViews, bringing them inline with there actual implementationa22767e
: Merging inline style attributes now can properly merge conflicting style attribute names, resulting in cleaner HTML output and correctness- Updated dependencies [
bd34793
]- @tiptap/pm@2.7.0-pre.0
2.6.6
Patch Changes
8d8d999
: fix: check for schema's nesting rules on contentCheck- @tiptap/pm@2.6.6
2.6.5
Patch Changes
- @tiptap/pm@2.6.5
2.6.4
Patch Changes
- @tiptap/pm@2.6.4
2.6.3
Patch Changes
da76972
: Resolve several selection related bug #2690 #5208- @tiptap/pm@2.6.3
2.6.2
Patch Changes
- @tiptap/pm@2.6.2
2.6.1
Patch Changes
- @tiptap/pm@2.6.1
2.6.0
Minor Changes
-
86a8553
: AddgetContent
to nodePasteRules to allow specifying inner content to a created node -
222f2ac
: Add the ability to add new attributes to a splitted list item -
e31673d
: This PR significantly improves the performance of React NodeViews in a couple of ways:- It now uses useSyncExternalStore to synchronize changes between React & the editor instance
- It dramatically reduces the number of re-renders by re-using instances of React portals that have already been initialized and unaffected by the change made in the editor
We were seeing performance problems with React NodeViews because a change to one of them would cause a re-render to all instances of node views. For an application that heavily relies on node views in React, this was quite expensive. This should dramatically cut down on the number of instances that have to re-render, and, making each of those re-renders much less costly.
Patch Changes
- @tiptap/pm@2.6.0
2.5.9
Patch Changes
84ebd51
: Fix change criteria for isNodeEmpty to resolve #54150ec0af6
: fix(core): findDuplicates - use Array.from when converting Setae0254d
: AddignoreWhitespace
option toisNodeEmpty
to ignore any whitespace and hardbreaks in a node to check for emptinessefb27fa
: This fixes a discrepency betweengetMarksBetween
andisActive(markName)
where the position used for getMarksBetween was off by one- @tiptap/pm@2.5.9
2.5.8
Patch Changes
a08bf85
: This fixes a bug with inputrules not being able to resolve positions properly- @tiptap/pm@2.5.8
2.5.7
Patch Changes
b012471
: This addresses an issue withisNodeEmpty
function where it was also comparing node attributes and finding mismatches on actually empty nodes. This helps placeholders find empty content correctlycc3497e
: Fixes a bug where ifenableContentCheck
was true, inserting content as JSON nodes would fail. This was because the node that was being created technically had a different schema than the content being inserted, so it would fail to generate the correct content value- @tiptap/pm@2.5.7
2.5.6
Patch Changes
618bca9
: Adjust thesplitBlock
command to returnfalse
when it was unsuccessful.35682d1
: This fixes a bug with the placeholder extension where a heading level other than the default was not considered empty, when comparing node contents, we need to consider that the node attributes are carried over for a fair comparison of content instead of attribute values2104f0f
: Add a check beforecreateNodeViews so that view.setProps is not called when the view has already been destroyed- Updated dependencies [
b5c1b32
]- @tiptap/pm@2.5.6
2.5.5
Patch Changes
4cca382
: Make sure that atoms are used in-full without cutting the content. Node size for atoms is 1 which causes text to be cut unexpectedly.3b67e8a
: This changes the typing to not declare types on all HTMLElements, just a local one with the editor instance attached- @tiptap/pm@2.5.5
2.5.4
Patch Changes
dd7f9ac
: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way- Updated dependencies [
dd7f9ac
]- @tiptap/pm@2.5.4
2.5.3
Patch Changes
- @tiptap/pm@2.5.3
2.5.2
Patch Changes
07f4c03
: There was a bug where doing a.configure
on an extension, node or mark would overwrite the extensions options instead of being merged with the default options.- @tiptap/pm@2.5.2
2.5.1
Patch Changes
- @tiptap/pm@2.5.1
2.5.0
Patch Changes
fb45149
: Made some minor changes to how packages are builtfb45149
: WhenparseOptions.whitespace === 'full' or parseOptions.whitespace === true
setting content will no longer strip whitespaces on setContentfb45149
: Faster performance for checking if a node is empty and if something is a fragmentfb45149
: Vue 3 bubble menus are properly synchronized with state transitions with the new beforeTransaction hook which is fired before the transaction is applied to the view- @tiptap/pm@2.5.0
2.5.0-pre.16
Patch Changes
- @tiptap/pm@2.5.0-pre.16
2.5.0-pre.15
Patch Changes
- @tiptap/pm@2.5.0-pre.15
2.5.0-pre.14
Patch Changes
- @tiptap/pm@2.5.0-pre.14
2.5.0-pre.13
Patch Changes
74a37ff
: CI build testing- @tiptap/pm@2.5.0-pre.13
2.5.0-pre.12
Patch Changes
74a37ff
: CI build testing- @tiptap/pm@2.5.0-pre.12
2.5.0-pre.11
Patch Changes
74a37ff
: CI build testing- @tiptap/pm@2.5.0-pre.11
2.5.0-pre.10
Patch Changes
74a37ff
: CI build testing- @tiptap/pm@2.5.0-pre.10
2.5.0-pre.9
Patch Changes
14a00f4
: Made some minor changes to how packages are built- @tiptap/pm@2.5.0-pre.9
2.5.0-pre.8
Patch Changes
509676e
: Vue 3 bubble menus are properly synchronized with state transitions with the new beforeTransaction hook which is fired before the transaction is applied to the view- @tiptap/pm@2.5.0-pre.8
2.5.0-pre.7
Patch Changes
- @tiptap/pm@2.5.0-pre.7
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.4.0 (2024-05-14)
Bug Fixes
- core: configure should use the parent of the current instance, to avoid duplication (#5147) (4db463c)
Features
2.3.2 (2024-05-08)
Bug Fixes
2.3.1 (2024-04-30)
Note: Version bump only for package @tiptap/core
2.3.0 (2024-04-09)
Bug Fixes
Features
2.2.6 (2024-04-06)
Bug Fixes
2.2.5 (2024-04-05)
Note: Version bump only for package @tiptap/core
2.2.4 (2024-02-23)
Bug Fixes
- typecheck drag and clipboard events for testing environments (bbee9a3)
2.2.3 (2024-02-15)
Note: Version bump only for package @tiptap/core
2.2.2 (2024-02-07)
Note: Version bump only for package @tiptap/core
2.2.1 (2024-01-31)
Note: Version bump only for package @tiptap/core
2.2.0 (2024-01-29)
Bug Fixes
- core: fix new lines being added via elementFromString (#4767) (b7a2504)
- fix bug #4785 (#4836) (f3cba1e)
- fix imports, fix demos, unpin y-prosemirror (681aa57)
- fix newline stripping via insertContent (8954007)
2.2.0-rc.8 (2024-01-08)
Bug Fixes
- core: fix options now being empty (fc67cb1)
2.2.0-rc.7 (2023-11-27)
Bug Fixes
- core: set defaultOptions to undefined by default (448b433)
2.2.0-rc.6 (2023-11-23)
2.2.0-rc.4 (2023-10-10)
2.2.0-rc.3 (2023-08-18)
2.2.0-rc.1 (2023-08-18)
2.2.0-rc.0 (2023-08-18)
2.1.16 (2024-01-10)
Bug Fixes
2.1.15 (2024-01-08)
Bug Fixes
2.1.14 (2024-01-08)
Note: Version bump only for package @tiptap/core
2.1.13 (2023-11-30)
Note: Version bump only for package @tiptap/core
2.1.12 (2023-10-11)
Note: Version bump only for package @tiptap/core
2.1.11 (2023-09-20)
Reverts
- Revert "v2.2.11" (6aa755a)
2.1.10 (2023-09-15)
Note: Version bump only for package @tiptap/core
2.1.9 (2023-09-14)
Note: Version bump only for package @tiptap/core
2.1.8 (2023-09-04)
Note: Version bump only for package @tiptap/core
2.1.7 (2023-09-04)
Note: Version bump only for package @tiptap/core
2.1.6 (2023-08-18)
Bug Fixes
- core: fix broken export (4227f32)
2.1.5 (2023-08-18)
Note: Version bump only for package @tiptap/core
2.1.4 (2023-08-18)
Bug Fixes
2.1.3 (2023-08-18)
Note: Version bump only for package @tiptap/core
2.1.2 (2023-08-17)
Bug Fixes
2.1.1 (2023-08-16)
Note: Version bump only for package @tiptap/core
2.1.0 (2023-08-16)
Note: Version bump only for package @tiptap/core
2.1.0-rc.14 (2023-08-11)
Note: Version bump only for package @tiptap/core
2.1.0-rc.13 (2023-08-11)
2.1.0-rc.12 (2023-07-14)
2.1.0-rc.11 (2023-07-07)
Bug Fixes
2.1.0-rc.10 (2023-07-07)
2.1.0-rc.9 (2023-06-15)
2.1.0-rc.8 (2023-05-25)
2.1.0-rc.5 (2023-05-25)
Features
- add tiptap class (614fc80)
2.1.0-rc.4 (2023-04-27)
2.1.0-rc.3 (2023-04-26)
Bug Fixes
- core: remove configure from extend functionality (4af54da)
2.1.0-rc.2 (2023-04-26)
2.1.0-rc.1 (2023-04-12)
2.1.0-rc.0 (2023-04-05)
Bug Fixes
- clear nodes when cursor at start of empty isolating parent (#3943) (7278ee2)
- lists: improve list behaviour (684e48a)
- Update peerDependencies to fix lerna version tasks (#3914) (0c1bba3)
2.1.0-rc.12 (2023-07-14)
Note: Version bump only for package @tiptap/core
2.1.0-rc.11 (2023-07-07)
Bug Fixes
2.1.0-rc.10 (2023-07-07)
Note: Version bump only for package @tiptap/core
2.1.0-rc.9 (2023-06-15)
Bug Fixes
- lists: improve list behaviour (684e48a)
2.1.0-rc.8 (2023-05-25)
Note: Version bump only for package @tiptap/core
2.1.0-rc.7 (2023-05-25)
Note: Version bump only for package @tiptap/core
2.1.0-rc.6 (2023-05-25)
Note: Version bump only for package @tiptap/core
2.1.0-rc.5 (2023-05-25)
Features
- add tiptap class (614fc80)
2.1.0-rc.4 (2023-04-27)
Note: Version bump only for package @tiptap/core
2.1.0-rc.3 (2023-04-26)
Bug Fixes
- core: remove configure from extend functionality (4af54da)
2.1.0-rc.2 (2023-04-26)
2.1.0-rc.1 (2023-04-12)
2.1.0-rc.0 (2023-04-05)
Bug Fixes
- clear nodes when cursor at start of empty isolating parent (#3943) (7278ee2)
- Update peerDependencies to fix lerna version tasks (#3914) (0c1bba3)
2.1.0-rc.0 (2023-04-05)
Bug Fixes
2.0.3 (2023-04-13)
Note: Version bump only for package @tiptap/core
2.0.2 (2023-04-03)
Note: Version bump only for package @tiptap/core
2.0.1 (2023-03-30)
Bug Fixes
2.0.0-beta.220 (2023-02-28)
Bug Fixes
2.0.0-beta.219 (2023-02-27)
Bug Fixes
- #3773 - Array for content breaks editor (#3786) (89cc59a)
- core: allow insertContentAt and insertContent text node arrays (#3790) (0300630)
- update typings for node view decorations (#3783) (f869507)
Features
2.0.0-beta.218 (2023-02-18)
Bug Fixes
2.0.0-beta.217 (2023-02-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.216 (2023-02-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.215 (2023-02-08)
Bug Fixes
- fix builds including prosemirror (a380ec4)
2.0.0-beta.214 (2023-02-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.213 (2023-02-07)
Note: Version bump only for package @tiptap/core
2.0.0-beta.212 (2023-02-03)
Bug Fixes
- core: fix broken types in definition file (f659037)
2.0.0-beta.211 (2023-02-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.210 (2023-02-02)
Features
- pm: new prosemirror package for dependency resolving (f387ad3)
2.0.0-beta.209 (2022-12-16)
Note: Version bump only for package @tiptap/core
2.0.0-beta.208 (2022-12-16)
Note: Version bump only for package @tiptap/core
2.0.0-beta.207 (2022-12-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.206 (2022-12-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.205 (2022-12-05)
Bug Fixes
Features
2.0.0-beta.204 (2022-11-25)
Bug Fixes
- core: rename esm modules to esm.js (c1a0c3a)
2.0.0-beta.203 (2022-11-24)
Note: Version bump only for package @tiptap/core
2.0.0-beta.202 (2022-11-04)
Note: Version bump only for package @tiptap/core
2.0.0-beta.201 (2022-11-04)
Reverts
- Revert "Fixed dragged text not being deleted after drop on another editor (#3279)" (403b99c), closes #3279
2.0.0-beta.200 (2022-11-04)
Note: Version bump only for package @tiptap/core
2.0.0-beta.199 (2022-09-30)
Note: Version bump only for package @tiptap/core
2.0.0-beta.198 (2022-09-29)
Bug Fixes
- core: InputRules does not work for ranges containing multiple text nodes (#3205) (2f9ba32), closes #3071
2.0.0-beta.197 (2022-09-26)
Bug Fixes
2.0.0-beta.196 (2022-09-20)
Note: Version bump only for package @tiptap/core
2.0.0-beta.195 (2022-09-14)
Note: Version bump only for package @tiptap/core
2.0.0-beta.194 (2022-09-11)
Note: Version bump only for package @tiptap/core
2.0.0-beta.193 (2022-09-10)
Bug Fixes
- add attributes to pre tag instead of code tag by default, fix #2440 (85fcc29)
- add correct type for parseOptions (592892e)
- add correct windows and px keymap (75e5601)
- add CreateNodeFromContentOptions to insertContent (#1678) (aabdfd6)
- add exports to package.json (1277fa4)
- add marks to JSONContent type (f829b45)
- add missing ProseMirror styles (12602e7)
- add scrollIntoView for insertContent (e7fe724)
- add support for CellSelection in isActive helper, fix #1947 (b42e442)
- add support for multiple ranges in clipboardTextSerializer, fix #1982 (98a1cb3)
- add support for priority and nested extension for getSchema (129ad83)
- add topNode to getDebugJSON (f65e1b3)
- add way to cancel inputrules and pasterules (#2368) (669efd0)
- allow input rules after hard break, fix #2302 (ded6f96)
- allow to re-apply current mark for input rules and paste rules, fix #2003 (3958bf1)
- better merge mark attributes for existing marks, fix #1039 (cfd29fa)
- call selectAll on 'cmd+a', set a TextSelection instead of AllSelection, fix #1908 (bad16d9)
- check for atom nodes in ignoreMutation handler, fix #1448 (2deb07f)
- check for excluded marks in isMarkActive, fix #1388 (3c4cc96)
- check for invalid content in
insertContentAt
command (e09fd93) - check for NodeSelection within posToDOMRect (a4ec4ff)
- check for storedMarks in getMarkAttributes, fix #2039 (22c82ba)
- core: 🐛 fix inputrule not recognizing text content of non-text leaf nodes (64b23e1)
- core: createCan command props shouldn't try dispatch (#3025) (#3026) (40f4ea3)
- core: dont use selection for setContent replacement (#2934) (134a4bd)
- core: fix focus command passing through editor state instead of existing transaction (5b0b7d9)
- core: Increment
i
indefaultBlockAt
(655957d) - core: insert PasteRule Node at matched position (#2942) (#2943) (bda6e8d)
- core: isNodeSelection, isTextSelection not always false (#3089) (574cd69), closes #2979
- core: make setEditable trigger all 'update' listeners (#3140) (4851fc5)
- core: make setEditable trigger onUpdate function (#2935) (de1253a)
- core: only respect text of node before current position (#2937) (#2941) (e280a02)
- core: setNodeSelection should not clamp pos by Selection.atStart/atEnd (#3091) (313b8b8), closes #3090
- do not apply paste rules for ProseMirror HTML (9d281e9)
- do not check for node selection within posToDOMRect (c0e68d5)
- don't override behaviour of Home / End in pc keymap (d270419)
- don't remove the tiptap styles on destroy, fix #2120, fix #2143 (a0a88ac)
- don’t add tabindex when readonly, fix #2458 (01411f8)
- don’t check for active node in wrapIn command, fix #1059 (170ec4b)
- don’t merge classes (dba0c1a)
- fix a bug in detecting a current list in toggleList command (a35b253)
- fix a bug in markPasteRule (c2ccf68)
- fix a bug that messed up pasted link attributes, fix #1284 (7da647d)
- fix a bug when configurating the same extension multiple times (655c564)
- fix a bug when detecting changes within node views (708ac94)
- fix a bug when dragging node views (4e6d43b)
- fix a bug when insert newline at node start, fix #1411 (b97bebe)
- fix a bug when parsing attributes if no parseHTML method is provided, fix #2058 (5da313a)
- fix a bug where paste rules doesn’t worked at the start of the document, see #1225 (ff67ee1)
- fix adding mark only with insertContent(), fix #264 (0a63123)
- fix End key handler, fix #2446 (b584920)
- fix error when calculating contentMatch within clearNodes command, fix #1361 (3709668)
- fix export for getAttributes (5b8808a)
- fix extension name for clipboardTextSerializer (15f90ec)
- fix extension option merging (aa002a0)
- fix focus on iOS, fix #1806 (3a06938)
- fix fragile schema validity test in splitBlock (e52f41a)
- fix isEditable check on initialization (f6f8cf9)
- fix mappes positions for paste rules, fix #2002 (770c4e1)
- fix merging options on configure for multiple extension instances (d037c56)
- fix missing extensions when using
addExtension
, fix #1309 (28737b1) - fix onBeforeCreate event handler, fix #1236 (0b67f18)
- fix order of executed plugins, fix #1547 (f8efdf7)
- fix RangeError bug when selecting all text, fix #2490 (70422dd)
- fix removing the caret on blur in some situations when using safari, fix #2405 (9d31712)
- fix some react focus issues (#1724), fix #1716, fix #1608, fix #1520 (956566e)
- fix storage context when using configure (ef254ce)
- fix type error for commands (26785db)
- fix type for emitUpdate, fix #276 (4137e00)
- fix type for insertContent command (4295c6b)
- fix updating editorProps via setOptions (#1540), fix #1518 (e6f67ca)
- fixed type for Content (39147f5)
- getHTMLFromFragment now expects a fragment instead of node (2c9cf03)
- handle backspace also on shift (32ae386)
- ignore editable in dispatchTransaction, fix #1239 (b3fb022)
- Ignore iOS mutations when unfocused (#2170) (10fea3b)
- improve
setNode
behavior for list items, fix #2261 (f2ced69) - improve active mark detection for inline nodes, fix #1893 (6437790)
- Improve backspace handling (#2284), fix #2281 (8ed485b)
- Improve behavior when using insertContent (#2147) (8fc915c)
- improve calculation for min/max positions in selections, fix #1588 (9425e72)
- improve default gapcursor position when surrounded by margins (cd14731)
- improve default styling for .ProseMirror-separator (0e94afe)
- improve drag position for node views (5e5b8db)
- improve drag position for node views even more (d2c5b71)
- improve JSONContent type to allow pure JSON content (ce7f52a)
- improve performance for isActive method, see #1930 (fcca1e6)
- improve types for generateHTML (502b5b1)
- initialize autofocus selection in
createView
(#2212) (de39853) - insertContent keeps marks when using plain text, fix #2406 (d242706)
- lint error (e17c414)
- Mark
@tiptap/react
and@tiptap/core
as side effect free (#2361) (e609b2d) - nodeInputRule() support for group match (#1574) (8ee0d67)
- preserve whitespace when using insertContent command (8f10181)
- prevent a bug for node views when pressing enter on iOS, fix #1214 (234d238)
- prevent bug when editor is destroyed very fast (939fc3d)
- prevent dispatch empty fragment when parsing content with insertContent (2a4e02a)
- prevent error in toggleList command, fix #2279 (66eb2f2)
- prevent RangeError for posToDOMRect, fix #2112 (010418d)
- prevent removing inline nodes when using insertContentAt, fix #2156 (53ffce5)
- properly calculate setDragImage position (7401d45)
- remove custom coordsAtPos method, fix #583 (485fb8c)
- remove debug log (beb96c5)
- remove defaultOptions fallback, fix #2219 (20b6d79)
- remove editable check in updateAttributes, fix #1415 (fbc8fff)
- remove editor from addExtensions context (cbc0dd8)
- remove empty attributes in getDebugJSON (940fd69)
- remove empty mark attributes from getDebugJSON (07cabe6)
- revert adding exports (bc320d0)
- revert adding type: module (f8d6475)
- revert async focus, fix #1658 (c9869c8)
- revert changes to selectAll command, fix #2491 (bdab760)
- run pasterules for pasted content, fix #2408 (bc03c0d)
- Separate drags from drops in stopEvent (#2070) (bebaa40)
- set correct priority when extending extensions, fix #1288 (b4e2b6f)
- set correct type for emitUpdate (9a40c17)
- set max textselection correctly, fix #2401 (4be16fc)
- support all characters for suggestion char, fix #2385 (42d3ee8)
- update getJSON return type to JSONContent (#2153) (6583ede)
Features
- #1898 Made the EventEmitter generic to improve the types of the tiptap events (#1959) (54e85fd)
- add 'all' option to focus command, fix #2181 (3c571c9)
- add
updateSelection
option toinsertContentAt
command (9f2c368) - add addExtensions option (26e672e)
- add coordsAtPos and posToClientRect helper methods (8dab614)
- add defaultBlockAt helper (403c147)
- add deleteNode command (73f1c50)
- add deleteNode method to node views (fcee5f8)
- add editor prop to KeyboardShortcutCommand (e0c2460)
- add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes (072905c)
- add enableCoreExtensions flag (#1923) (4178281)
- add extendEmptyMarkRange option to mark commands (#1859) (14e458e)
- Add extension storage (#2069) (7ffabf2)
- add findChildrenInRange helper (463661c)
- add forEach command (783ce4e)
- add getText() and generateText() methods (fix #1428) (#1875) (fe6a3e7)
- add ignoreMutation option to NodeViewRenderer, fix #1538 (651e691)
- add insertContent() command, deprecate insertText(), insertHTML() and insertNode() (b8d9b7d)
- add name to extension context (12f60ab)
- add parentConfig to extension context for more extendable extensions, fix #259 (5e1ec5d)
- add priority option to extensions (bb1ae65)
- add resetAttributes() command, deprecate resetNodeAttributes() (3334d93)
- add scrollIntoView option to focus command, fix #2172 (e0f6490)
- add selectTextblockStart and selectTextblockEnd commands (0aa39f9)
- add setMeta command (36dad2b)
- add setNodeSelection and setTextSelection commands (811bf69)
- add some improvements to
CharacterCount
extension (#2256), fix #1049, fix #1550, fix #1839, fix #2245 (5daa870) - Add support for autolink (#2226) (3d68981)
- add support for checking for attributes in extendMarkRange (ff7dd9b)
- add Tracker class (a757716)
- add transaction to all events if possible, see #1461 (7f6ed0b)
- add updateAttributes() command, deprecate updateNodeAttributes(), fix #254 (aac32b4)
- Allow a rule to be skipped from the getAttributes callback in markPasteRule (#1625) (9ffd58c)
- Allow array of extensions for
enableInputRules
andenablePasteRules
options (#2119) (3158c37) - allow number for setTextSelection and insertContentAt (2f7a6ad)
- Allow to use commands within InputRule and PasteRule (#2035) (4303637)
- allow wildcards when checking attributes in isActive, fix #1752 (64409ca)
- core: add nodePasteRule to core (15123ee)
- export isList, fix #1326 (2bd17c7)
- export mark helpers (313ab0e)
- expose node helpers to core (6048f9b)
- Integrate input rules and paste rules into the core (#1997) (723b955)
- join lists on toggleList (#2260), fix #1329 (126ad72)
- parseHTML for attributes should return the value instead of an object now, fix #1863 (8a3b47a)
- remove deprecated commands insertHTML, insertNode and insertText (86d570f)
- remove resize event handler (9f64015)
Reverts
2.0.0-beta.183 (2022-09-03)
Bug Fixes
- core: createCan command props shouldn't try dispatch (#3025) (#3026) (40f4ea3)
- core: isNodeSelection, isTextSelection not always false (#3089) (574cd69), closes #2979
- core: make setEditable trigger all 'update' listeners (#3140) (4851fc5)
- core: make setEditable trigger onUpdate function (#2935) (de1253a)
- core: setNodeSelection should not clamp pos by Selection.atStart/atEnd (#3091) (313b8b8), closes #3090
2.0.0-beta.182 (2022-07-06)
Bug Fixes
- core: dont use selection for setContent replacement (#2934) (134a4bd)
- core: only respect text of node before current position (#2937) (#2941) (e280a02)
2.0.0-beta.181 (2022-06-27)
Bug Fixes
- core: fix focus command passing through editor state instead of existing transaction (5b0b7d9)
Features
- core: add nodePasteRule to core (15123ee)
2.0.0-beta.180 (2022-06-20)
Note: Version bump only for package @tiptap/core
2.0.0-beta.179 (2022-06-17)
Reverts
- Revert "Publish" (9c38d27)
2.0.0-beta.177 (2022-06-17)
Reverts
- Revert "Publish" (9c38d27)
2.0.0-beta.176 (2022-05-18)
Bug Fixes
2.0.0-beta.175 (2022-04-27)
Bug Fixes
- don't override behaviour of Home / End in pc keymap (d270419)
2.0.0-beta.174 (2022-02-07)
Bug Fixes
2.0.0-beta.173 (2022-02-07)
Bug Fixes
2.0.0-beta.172 (2022-02-03)
Bug Fixes
2.0.0-beta.171 (2022-01-28)
Note: Version bump only for package @tiptap/core
2.0.0-beta.170 (2022-01-27)
Bug Fixes
2.0.0-beta.169 (2022-01-27)
Bug Fixes
2.0.0-beta.168 (2022-01-26)
Bug Fixes
2.0.0-beta.167 (2022-01-25)
Bug Fixes
- add correct windows and px keymap (75e5601)
Features
- add selectTextblockStart and selectTextblockEnd commands (0aa39f9)
2.0.0-beta.166 (2022-01-20)
Bug Fixes
2.0.0-beta.165 (2022-01-20)
Bug Fixes
2.0.0-beta.164 (2022-01-20)
Bug Fixes
2.0.0-beta.163 (2022-01-13)
Bug Fixes
2.0.0-beta.162 (2022-01-11)
Bug Fixes
2.0.0-beta.161 (2022-01-10)
Bug Fixes
2.0.0-beta.160 (2022-01-04)
Note: Version bump only for package @tiptap/core
2.0.0-beta.159 (2021-12-22)
Bug Fixes
2.0.0-beta.158 (2021-12-17)
Bug Fixes
- remove empty mark attributes from getDebugJSON (07cabe6)
2.0.0-beta.157 (2021-12-16)
Bug Fixes
2.0.0-beta.156 (2021-12-15)
Bug Fixes
2.0.0-beta.155 (2021-12-15)
Note: Version bump only for package @tiptap/core
2.0.0-beta.154 (2021-12-14)
Note: Version bump only for package @tiptap/core
2.0.0-beta.153 (2021-12-13)
Bug Fixes
- check for invalid content in
insertContentAt
command (e09fd93) - don’t check for active node in wrapIn command, fix #1059 (170ec4b)
- improve
setNode
behavior for list items, fix #2261 (f2ced69)
2.0.0-beta.152 (2021-12-10)
Features
2.0.0-beta.151 (2021-12-08)
Features
- add some improvements to
CharacterCount
extension (#2256), fix #1049, fix #1550, fix #1839, fix #2245 (5daa870)
2.0.0-beta.150 (2021-12-06)
Note: Version bump only for package @tiptap/core
2.0.0-beta.149 (2021-12-05)
Bug Fixes
2.0.0-beta.148 (2021-12-03)
Bug Fixes
2.0.0-beta.147 (2021-12-03)
Features
2.0.0-beta.146 (2021-12-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.145 (2021-12-02)
Bug Fixes
2.0.0-beta.144 (2021-12-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.143 (2021-11-25)
Features
2.0.0-beta.142 (2021-11-23)
Features
- add defaultBlockAt helper (403c147)
2.0.0-beta.141 (2021-11-22)
Bug Fixes
- improve default gapcursor position when surrounded by margins (cd14731)
Features
2.0.0-beta.140 (2021-11-18)
Bug Fixes
Features
2.0.0-beta.139 (2021-11-17)
Note: Version bump only for package @tiptap/core
2.0.0-beta.138 (2021-11-10)
Bug Fixes
- prevent removing inline nodes when using insertContentAt, fix #2156 (53ffce5)
- update getJSON return type to JSONContent (#2153) (6583ede)
2.0.0-beta.137 (2021-11-09)
Bug Fixes
2.0.0-beta.136 (2021-11-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.135 (2021-11-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.134 (2021-11-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.133 (2021-11-08)
Bug Fixes
- fix a bug when parsing attributes if no parseHTML method is provided, fix #2058 (5da313a)
- Improve behavior when using insertContent (#2147) (8fc915c)
2.0.0-beta.132 (2021-11-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.131 (2021-11-05)
Bug Fixes
- improve JSONContent type to allow pure JSON content (ce7f52a)
2.0.0-beta.130 (2021-10-31)
Bug Fixes
2.0.0-beta.129 (2021-10-26)
Note: Version bump only for package @tiptap/core
2.0.0-beta.128 (2021-10-25)
Bug Fixes
- fix storage context when using configure (ef254ce)
2.0.0-beta.127 (2021-10-22)
Bug Fixes
- improve default styling for .ProseMirror-separator (0e94afe)
- Separate drags from drops in stopEvent (#2070) (bebaa40)
2.0.0-beta.126 (2021-10-22)
Bug Fixes
Features
2.0.0-beta.125 (2021-10-14)
Bug Fixes
2.0.0-beta.124 (2021-10-14)
Bug Fixes
- fix type for insertContent command (4295c6b)
2.0.0-beta.123 (2021-10-14)
Features
- add
updateSelection
option toinsertContentAt
command (9f2c368) - Allow to use commands within InputRule and PasteRule (#2035) (4303637)
2.0.0-beta.122 (2021-10-10)
Bug Fixes
2.0.0-beta.121 (2021-10-10)
Bug Fixes
- do not apply paste rules for ProseMirror HTML (9d281e9)
2.0.0-beta.120 (2021-10-08)
Bug Fixes
2.0.0-beta.119 (2021-10-08)
Features
2.0.0-beta.118 (2021-10-03)
Bug Fixes
2.0.0-beta.117 (2021-10-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.116 (2021-09-30)
Features
2.0.0-beta.115 (2021-09-29)
Note: Version bump only for package @tiptap/core
2.0.0-beta.114 (2021-09-28)
Bug Fixes
- getHTMLFromFragment now expects a fragment instead of node (2c9cf03)
2.0.0-beta.113 (2021-09-27)
Bug Fixes
- add support for CellSelection in isActive helper, fix #1947 (b42e442)
- handle backspace also on shift (32ae386)
2.0.0-beta.112 (2021-09-23)
Note: Version bump only for package @tiptap/core
2.0.0-beta.111 (2021-09-22)
Bug Fixes
- improve performance for isActive method, see #1930 (fcca1e6)
- nodeInputRule() support for group match (#1574) (8ee0d67)
2.0.0-beta.110 (2021-09-21)
Bug Fixes
2.0.0-beta.109 (2021-09-21)
Features
2.0.0-beta.108 (2021-09-20)
Note: Version bump only for package @tiptap/core
2.0.0-beta.107 (2021-09-18)
Bug Fixes
- fix extension name for clipboardTextSerializer (15f90ec)
2.0.0-beta.106 (2021-09-15)
Bug Fixes
2.0.0-beta.105 (2021-09-09)
Features
2.0.0-beta.104 (2021-09-08)
Features
- add extendEmptyMarkRange option to mark commands (#1859) (14e458e)
- parseHTML for attributes should return the value instead of an object now, fix #1863 (8a3b47a)
2.0.0-beta.103 (2021-09-06)
Note: Version bump only for package @tiptap/core
2.0.0-beta.102 (2021-08-26)
Bug Fixes
2.0.0-beta.101 (2021-08-24)
Bug Fixes
- add topNode to getDebugJSON (f65e1b3)
2.0.0-beta.100 (2021-08-20)
Bug Fixes
- add missing ProseMirror styles (12602e7)
Features
2.0.0-beta.99 (2021-08-13)
Note: Version bump only for package @tiptap/core
2.0.0-beta.98 (2021-08-13)
Note: Version bump only for package @tiptap/core
2.0.0-beta.97 (2021-08-13)
Features
2.0.0-beta.96 (2021-08-12)
Bug Fixes
2.0.0-beta.95 (2021-08-11)
Bug Fixes
2.0.0-beta.94 (2021-08-09)
Bug Fixes
- add CreateNodeFromContentOptions to insertContent (#1678) (aabdfd6)
- fix isEditable check on initialization (f6f8cf9)
- fix updating editorProps via setOptions (#1540), fix #1518 (e6f67ca)
2.0.0-beta.93 (2021-07-30)
Bug Fixes
2.0.0-beta.92 (2021-07-28)
Note: Version bump only for package @tiptap/core
2.0.0-beta.91 (2021-07-28)
Bug Fixes
- fix a bug in markPasteRule (c2ccf68)
2.0.0-beta.90 (2021-07-28)
Features
- add deleteNode command (73f1c50)
2.0.0-beta.89 (2021-07-27)
Features
2.0.0-beta.88 (2021-07-26)
Features
2.0.0-beta.87 (2021-07-26)
Note: Version bump only for package @tiptap/core
2.0.0-beta.86 (2021-07-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.85 (2021-06-23)
Note: Version bump only for package @tiptap/core
2.0.0-beta.84 (2021-06-17)
Bug Fixes
- improve types for generateHTML (502b5b1)
2.0.0-beta.83 (2021-06-15)
Note: Version bump only for package @tiptap/core
2.0.0-beta.82 (2021-06-14)
Bug Fixes
- check for atom nodes in ignoreMutation handler, fix #1448 (2deb07f)
- remove editable check in updateAttributes, fix #1415 (fbc8fff)
2.0.0-beta.81 (2021-06-07)
Bug Fixes
Features
2.0.0-beta.80 (2021-06-03)
Bug Fixes
- fix merging options on configure for multiple extension instances (d037c56)
2.0.0-beta.79 (2021-06-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.77 (2021-06-02)
Features
- add setMeta command (36dad2b)
2.0.0-beta.76 (2021-06-01)
Bug Fixes
2.0.0-beta.75 (2021-06-01)
Bug Fixes
- prevent dispatch empty fragment when parsing content with insertContent (2a4e02a)
2.0.0-beta.74 (2021-05-31)
Note: Version bump only for package @tiptap/core
2.0.0-beta.73 (2021-05-29)
Bug Fixes
2.0.0-beta.72 (2021-05-28)
Bug Fixes
2.0.0-beta.71 (2021-05-28)
Bug Fixes
- fix fragile schema validity test in splitBlock (e52f41a)
2.0.0-beta.70 (2021-05-28)
Bug Fixes
- prevent bug when editor is destroyed very fast (939fc3d)
2.0.0-beta.69 (2021-05-27)
Note: Version bump only for package @tiptap/core
2.0.0-beta.68 (2021-05-24)
Bug Fixes
- do not check for node selection within posToDOMRect (c0e68d5)
2.0.0-beta.67 (2021-05-24)
Bug Fixes
- check for NodeSelection within posToDOMRect (a4ec4ff)
- remove empty attributes in getDebugJSON (940fd69)
2.0.0-beta.66 (2021-05-19)
Bug Fixes
- preserve whitespace when using insertContent command (8f10181)
2.0.0-beta.65 (2021-05-18)
Features
- allow number for setTextSelection and insertContentAt (2f7a6ad)
2.0.0-beta.64 (2021-05-18)
Bug Fixes
- add marks to JSONContent type (f829b45)
Features
- add deleteNode method to node views (fcee5f8)
2.0.0-beta.63 (2021-05-18)
Note: Version bump only for package @tiptap/core
2.0.0-beta.62 (2021-05-17)
Note: Version bump only for package @tiptap/core
2.0.0-beta.61 (2021-05-17)
Bug Fixes
- fix export for getAttributes (5b8808a)
Features
- add findChildrenInRange helper (463661c)
- add support for checking for attributes in extendMarkRange (ff7dd9b)
- export isList, fix #1326 (2bd17c7)
2.0.0-beta.60 (2021-05-13)
Bug Fixes
2.0.0-beta.59 (2021-05-13)
Note: Version bump only for package @tiptap/core
2.0.0-beta.57 (2021-05-13)
Bug Fixes
- core: Increment
i
indefaultBlockAt
(655957d)
2.0.0-beta.57 (2021-05-13)
Bug Fixes
- core: Increment
i
indefaultBlockAt
(655957d)
2.0.0-beta.56 (2021-05-13)
Bug Fixes
- fix a bug in detecting a current list in toggleList command (a35b253)
2.0.0-beta.55 (2021-05-11)
Bug Fixes
- fix a bug when configurating the same extension multiple times (655c564)
Features
- export mark helpers (313ab0e)
2.0.0-beta.54 (2021-05-09)
Bug Fixes
2.0.0-beta.53 (2021-05-07)
Features
- add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes (072905c)
2.0.0-beta.52 (2021-05-07)
Features
- expose node helpers to core (6048f9b)
2.0.0-beta.51 (2021-05-07)
Bug Fixes
- add support for priority and nested extension for getSchema (129ad83)
- remove editor from addExtensions context (cbc0dd8)
2.0.0-beta.50 (2021-05-07)
Note: Version bump only for package @tiptap/core
2.0.0-beta.49 (2021-05-07)
Bug Fixes
- fix a bug that messed up pasted link attributes, fix #1284 (7da647d)
- revert adding exports (bc320d0)
2.0.0-beta.48 (2021-05-06)
Bug Fixes
- revert adding type: module (f8d6475)
2.0.0-beta.47 (2021-05-06)
Bug Fixes
- add exports to package.json (1277fa4)
2.0.0-beta.46 (2021-05-06)
Features
- add addExtensions option (26e672e)
2.0.0-beta.45 (2021-05-06)
Note: Version bump only for package @tiptap/core
2.0.0-beta.44 (2021-05-05)
Features
- remove deprecated commands insertHTML, insertNode and insertText (86d570f)
2.0.0-beta.43 (2021-05-05)
Note: Version bump only for package @tiptap/core
2.0.0-beta.42 (2021-05-04)
Bug Fixes
2.0.0-beta.41 (2021-04-27)
Bug Fixes
2.0.0-beta.40 (2021-04-27)
Bug Fixes
Features
- add setNodeSelection and setTextSelection commands (811bf69)
2.0.0-beta.39 (2021-04-27)
Bug Fixes
- add correct type for parseOptions (592892e)
- fix type error for commands (26785db)
- set correct type for emitUpdate (9a40c17)
2.0.0-beta.38 (2021-04-23)
Note: Version bump only for package @tiptap/core
2.0.0-beta.37 (2021-04-23)
Bug Fixes
2.0.0-beta.36 (2021-04-22)
Note: Version bump only for package @tiptap/core
2.0.0-beta.35 (2021-04-21)
Features
2.0.0-beta.34 (2021-04-20)
Bug Fixes
- fix a bug when dragging node views (4e6d43b)
2.0.0-beta.33 (2021-04-20)
Bug Fixes
- fix extension option merging (aa002a0)
2.0.0-beta.32 (2021-04-16)
Features
2.0.0-beta.31 (2021-04-15)
Bug Fixes
2.0.0-beta.30 (2021-04-15)
Note: Version bump only for package @tiptap/core
2.0.0-beta.29 (2021-04-12)
Bug Fixes
2.0.0-beta.28 (2021-04-12)
Features
2.0.0-beta.27 (2021-04-09)
Bug Fixes
- add scrollIntoView for insertContent (e7fe724)
2.0.0-beta.26 (2021-04-09)
Bug Fixes
- fix a bug when detecting changes within node views (708ac94)
2.0.0-beta.25 (2021-04-09)
Bug Fixes
- fixed type for Content (39147f5)
2.0.0-beta.24 (2021-04-08)
Bug Fixes
- improve drag position for node views even more (d2c5b71)
2.0.0-beta.23 (2021-04-08)
Bug Fixes
- improve drag position for node views (5e5b8db)
2.0.0-beta.22 (2021-04-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.21 (2021-04-08)
Note: Version bump only for package @tiptap/core
2.0.0-beta.20 (2021-04-07)
Features
- add resetAttributes() command, deprecate resetNodeAttributes() (3334d93)
2.0.0-beta.19 (2021-04-07)
Features
2.0.0-beta.18 (2021-04-07)
Features
- add priority option to extensions (bb1ae65)
2.0.0-beta.17 (2021-04-07)
Bug Fixes
- remove debug log (beb96c5)
2.0.0-beta.16 (2021-04-07)
Features
- add insertContent() command, deprecate insertText(), insertHTML() and insertNode() (b8d9b7d)
2.0.0-beta.15 (2021-04-06)
Note: Version bump only for package @tiptap/core
2.0.0-beta.14 (2021-04-04)
Note: Version bump only for package @tiptap/core
2.0.0-beta.13 (2021-04-02)
Note: Version bump only for package @tiptap/core
2.0.0-beta.12 (2021-04-01)
Note: Version bump only for package @tiptap/core
2.0.0-beta.11 (2021-04-01)
Note: Version bump only for package @tiptap/core
2.0.0-beta.10 (2021-03-31)
Note: Version bump only for package @tiptap/core
2.0.0-beta.9 (2021-03-28)
Note: Version bump only for package @tiptap/core
2.0.0-beta.8 (2021-03-28)
Note: Version bump only for package @tiptap/core
2.0.0-beta.7 (2021-03-28)
Note: Version bump only for package @tiptap/core
2.0.0-beta.6 (2021-03-24)
Note: Version bump only for package @tiptap/core
2.0.0-beta.5 (2021-03-18)
Note: Version bump only for package @tiptap/core
2.0.0-beta.4 (2021-03-18)
Note: Version bump only for package @tiptap/core
2.0.0-beta.3 (2021-03-16)
Note: Version bump only for package @tiptap/core
2.0.0-beta.2 (2021-03-09)
Note: Version bump only for package @tiptap/core
2.0.0-beta.1 (2021-03-05)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.22 (2021-02-28)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.21 (2021-02-26)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.20 (2021-02-26)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.19 (2021-02-18)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.18 (2021-02-16)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.17 (2021-02-16)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.16 (2021-02-07)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.15 (2021-02-05)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.14 (2021-01-29)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.13 (2021-01-29)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.12 (2021-01-28)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.11 (2021-01-28)
Bug Fixes
- don’t merge classes (dba0c1a)
2.0.0-alpha.10 (2021-01-06)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.9 (2020-12-18)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.8 (2020-12-18)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.7 (2020-12-02)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.6 (2020-11-19)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.5 (2020-11-18)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.4 (2020-11-16)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.3 (2020-11-16)
Reverts
- Revert "use global namespace" (0c9ce26)
2.0.0-alpha.2 (2020-11-16)
Note: Version bump only for package @tiptap/core
2.0.0-alpha.1 (2020-11-16)
Note: Version bump only for package @tiptap/core