Update Content Editor Packages
This MR contains the following updates:
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
ueberdosis/tiptap (@tiptap/core)
v2.0.0-beta.197
Bug Fixes
v2.0.0-beta.196
Note: Version bump only for package @tiptap/core
v2.0.0-beta.195
Note: Version bump only for package @tiptap/core
v2.0.0-beta.194
Note: Version bump only for package @tiptap/core
v2.0.0-beta.193
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
v2.0.0-beta.183
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
ueberdosis/tiptap (@tiptap/extension-blockquote)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-blockquote
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-blockquote
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-blockquote
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-blockquote
ueberdosis/tiptap (@tiptap/extension-bold)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-bold
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-bold
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-bold
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-bold
ueberdosis/tiptap (@tiptap/extension-bubble-menu)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-bubble-menu
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-bubble-menu
v2.0.0-beta.195
Bug Fixes
-
extension/bubble-menu:
🐛 fix bubble menu and floating menu being available when editor not editable (#3195) (fa96749)
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-bubble-menu
v2.0.0-beta.62
Note: Version bump only for package @tiptap/extension-bubble-menu
ueberdosis/tiptap (@tiptap/extension-bullet-list)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-bullet-list
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-bullet-list
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-bullet-list
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-bullet-list
ueberdosis/tiptap (@tiptap/extension-code)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-code
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-code
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-code
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-code
v2.0.0-beta.29
Note: Version bump only for package @tiptap/extension-code
ueberdosis/tiptap (@tiptap/extension-code-block-lowlight)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-code-block-lowlight
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-code-block-lowlight
v2.0.0-beta.195
Features
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-code-block-lowlight
ueberdosis/tiptap (@tiptap/extension-document)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-document
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-document
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-document
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-document
ueberdosis/tiptap (@tiptap/extension-dropcursor)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-dropcursor
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-dropcursor
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-dropcursor
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-dropcursor
v2.0.0-beta.29
Note: Version bump only for package @tiptap/extension-dropcursor
ueberdosis/tiptap (@tiptap/extension-gapcursor)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-gapcursor
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-gapcursor
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-gapcursor
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-gapcursor
v2.0.0-beta.39
Note: Version bump only for package @tiptap/extension-gapcursor
ueberdosis/tiptap (@tiptap/extension-hard-break)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-hard-break
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-hard-break
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-hard-break
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-hard-break
ueberdosis/tiptap (@tiptap/extension-heading)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-heading
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-heading
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-heading
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-heading
ueberdosis/tiptap (@tiptap/extension-history)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-history
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-history
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-history
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-history
v2.0.0-beta.26
Note: Version bump only for package @tiptap/extension-history
ueberdosis/tiptap (@tiptap/extension-horizontal-rule)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-horizontal-rule
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-horizontal-rule
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-horizontal-rule
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-horizontal-rule
ueberdosis/tiptap (@tiptap/extension-image)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-image
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-image
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-image
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-image
ueberdosis/tiptap (@tiptap/extension-italic)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-italic
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-italic
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-italic
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-italic
ueberdosis/tiptap (@tiptap/extension-link)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-link
v2.0.0-beta.196
Bug Fixes
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-link
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-link
ueberdosis/tiptap (@tiptap/extension-list-item)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-list-item
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-list-item
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-list-item
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-list-item
ueberdosis/tiptap (@tiptap/extension-ordered-list)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-ordered-list
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-ordered-list
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-ordered-list
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-ordered-list
ueberdosis/tiptap (@tiptap/extension-paragraph)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-paragraph
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-paragraph
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-paragraph
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-paragraph
ueberdosis/tiptap (@tiptap/extension-strike)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-strike
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-strike
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-strike
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-strike
ueberdosis/tiptap (@tiptap/extension-subscript)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-subscript
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-subscript
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-subscript
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-subscript
v2.0.0-beta.14
Note: Version bump only for package @tiptap/extension-subscript
ueberdosis/tiptap (@tiptap/extension-superscript)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-superscript
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-superscript
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-superscript
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-superscript
ueberdosis/tiptap (@tiptap/extension-table)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-table
v2.0.0-beta.196
Bug Fixes
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-table
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-table
ueberdosis/tiptap (@tiptap/extension-table-cell)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-table-cell
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-table-cell
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-table-cell
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-table-cell
ueberdosis/tiptap (@tiptap/extension-table-header)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-table-header
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-table-header
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-table-header
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-table-header
ueberdosis/tiptap (@tiptap/extension-table-row)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-table-row
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-table-row
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-table-row
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-table-row
ueberdosis/tiptap (@tiptap/extension-task-item)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-task-item
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-task-item
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-task-item
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-task-item
ueberdosis/tiptap (@tiptap/extension-task-list)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-task-list
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-task-list
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-task-list
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-task-list
ueberdosis/tiptap (@tiptap/extension-text)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/extension-text
v2.0.0-beta.196
Note: Version bump only for package @tiptap/extension-text
v2.0.0-beta.195
Note: Version bump only for package @tiptap/extension-text
v2.0.0-beta.194
Note: Version bump only for package @tiptap/extension-text
ueberdosis/tiptap (@tiptap/vue-2)
v2.0.0-beta.197
Note: Version bump only for package @tiptap/vue-2
v2.0.0-beta.196
Note: Version bump only for package @tiptap/vue-2
v2.0.0-beta.195
Note: Version bump only for package @tiptap/vue-2
v2.0.0-beta.194
Note: Version bump only for package @tiptap/vue-2
v2.0.0-beta.85
Note: Version bump only for package @tiptap/vue-2
prosemirror/prosemirror-markdown
v1.9.4
Bug fixes
Don't escape colon characters at the start of a line.
Escape parentheses in images and links.
Allow links to wrap emphasis markers when serializing Markdown.
v1.9.3
Bug fixes
Make sure '!' characters in front of links are escaped.
v1.9.2
Bug fixes
Don't escape characters in autolinks.
Fix a bug that caused the serializer to not escape start-of-line markup when inside a list.
prosemirror/prosemirror-schema-list
v1.2.2
Bug fixes
Fix an issue where liftListItem
could create adjacent sublists when lifting an item with sub-items.
v1.2.1
Bug fixes
Fix a regression where lifting a nested list could crash.
prosemirror/prosemirror-view
v1.28.2
Bug fixes
Avoid a crash in selection updates in a hidden editor on Safari.
v1.28.1
Bug fixes
Fix an issue where the editor would reset its scroll position to the top of the document for any state reconfiguration, even if the document was unchanged.
v1.28.0
Bug fixes
Fix an issue where the editor wouldn't realize it was focused on IE when IE's resize controls are on an element inside the content. Adjust Chrome click-override behavior to only happen for invisible selections
New features
The new transformCopied
prop can be used to transform a copied/cut slice before it is serialized to the clipboard. Adjust doc comment
v1.27.2
Bug fixes
Fix an issue where DecorationSet.map
, given a mapping with multiple steps, could in some cases corrupt the decorations.
Stop calling handleClick
when the mouse moved but failed to fire mousemove events (for example when dragging a scrollbar).
v1.27.1
Bug fixes
Fix a bug in DecorationSet.map
that could cause invalid mapping when step maps contain multiple replaced ranges.
Make sure that when the editor receives focus via tab or calling .focus()
on its DOM element, the existing selection is restored.
Avoid collapsing of whitespace in Firefox when the editor doesn't have white-space
set to pre-wrap
.
v1.27.0
Bug fixes
Fix a bug that in some situations caused composition to be disrupted on Chrome due to a workaround for another browser issue activating inappropriately.
New features
EditorProps
now takes an optional type parameter that indicates the type of this
in prop functions.
v1.26.5
Bug fixes
Fix an issue where a composition happening at the same time as widget insertion/removal could corrupt the rendered DOM.
Fix a problem where coordsAtPos
would look inside the DOM for atomic nodes, and sometimes return very odd positions that way.
v1.26.4
Bug fixes
Avoid spurious type errors on handleDOMEvents
by widening the type for unknown event objects.
v1.26.3
Bug fixes
Work around a Safari bug where mutation records get delivered even though the observer wasn't observing when the mutations happened.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.