mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-12 00:19:02 +08:00
73 KiB
73 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.0-beta.204 (2022-11-25)
Bug Fixes
2.0.0-beta.203 (2022-11-24)
Bug Fixes
2.0.0-beta.202 (2022-11-04)
Note: Version bump only for package tiptap
2.0.0-beta.201 (2022-11-04)
Bug Fixes
- extension-youtube: remove default options from youtube extension (bf58124)
- extension-youtube: set allowFullscreen to default (4841c05)
- remove blur event listener from tippy element (#3365) (#3366) (aca6c88)
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)
Bug Fixes
2.0.0-beta.199 (2022-09-30)
Bug Fixes
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
- link: ensure text blocks exist before referencing them (#3251) (539afce), closes #3250
- suggestion: set default allowedPrefixes null (#3239) (04b9da4)
2.0.0-beta.197 (2022-09-26)
Bug Fixes
- ci: remove unnecessary PR action as we combined issues and prs into one board (dfc067a)
- core: Can() does not work for setting marks (#3223) (17a41da)
- tests: fix failing cypress tests and update cypress (348383b)
2.0.0-beta.196 (2022-09-20)
Bug Fixes
Features
2.0.0-beta.195 (2022-09-14)
Bug Fixes
- extension/bubble-menu: 🐛 fix bubble menu and floating menu being available when editor not editable (#3195) (fa96749)
- move React
flushSync
to microtask (#3188) (9093cdf), closes #2985
Features
2.0.0-beta.194 (2022-09-11)
Note: Version bump only for package tiptap
2.0.0-beta.193 (2022-09-10)
Bug Fixes
- Add
editor
dependency when registeringBubbleMenuPlugin
andFloatingMenuPlugin
(#2018) (e9465ec) - add attributes to pre tag instead of code tag by default, fix #2440 (85fcc29)
- add CellSelection support for bubble menu (6472d2c)
- add checkboxes to TaskItem HTML output, fix #2037 (c94d2b0)
- 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 HTMLAttributes to task item node view (81d8097)
- add marks to JSONContent type (f829b45)
- add missing HTMLAttributes to task list, fix #2042 (7503d1b)
- add missing ProseMirror styles (12602e7)
- add name to context (df43c1b)
- add name to context (a43d4c7)
- add pluginKey option to suggestion plugin, fix #1282 (7cf3350)
- add prop support for EditorContent, fix #1332 (8979143)
- 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 pasted content from VS Code, fix #2022 (0e0b0b6)
- add support for priority and nested extension for getSchema (129ad83)
- add support for scoped styles, fix #1931 (19840f3)
- add support for using suggestions at top level, fix #1340 (0d9e488)
- add topNode to getDebugJSON (f65e1b3)
- Add type for async items on suggestions (fix TS strict types complaining) (#1912) (4a6c3cb)
- add warn message when using collab and history extension together (bf50af4)
- add way to cancel inputrules and pasterules (#2368) (669efd0)
- allow [] as a prefix for task items (06fd7fb)
- Allow extending code-block-lowlight (#1917) (54be0e5)
- allow input rules after hard break, fix #2302 (ded6f96)
- allow null and undefined for CharacterCount limit, fix #2276 (dd4bcb8)
- allow passing props to NodeViewWrapper and NodeViewContent (cfb3b80)
- allow to re-apply current mark for input rules and paste rules, fix #2003 (3958bf1)
- allow to remove autolinks with unsetLink (ea10ffb)
- Apply the correct regex for code extension in markPasteRule (#1671) (6c08057)
- better merge mark attributes for existing marks, fix #1039 (cfd29fa)
- blockquote unwrap not working (595929d), closes #803
- bump documents (43611ea)
- calculate correct autolink position when using leaf nodes in the same text block, fix #2231 (924b650)
- calculate the number of words across linebreaks correctly (0879a2f)
- call onExit hook when editor is destroyed, fix #1645 (5d2ef71)
- call selectAll on 'cmd+a', set a TextSelection instead of AllSelection, fix #1908 (bad16d9)
- can not write second mention bug, see #874 (046babf)
- change reactrenderer component type definition (#2327) (64dfae8)
- check for atom nodes in ignoreMutation handler, fix #1448 (2deb07f)
- check for destroyed editor before creating node views in react (44e4722)
- check for empty text, fix #1292 (456f2b7)
- 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)
- Check node type above custom update function for node views (#2081) (ddc9ca8)
- compatibility with lowlight v2 (#1939) (f79347e)
- 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: don't 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
- deps: remove high severity vulnerability and add extra travis check on PRS (18ba26d)
- disable broken tests for experiments with further todo message (b8ae9e2)
- 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 allow base64 images at all, fix #2455 (999dbbe)
- don’t check for active node in wrapIn command, fix #1059 (170ec4b)
- don’t initialize tippy on requestAnimationFrame to avoid race conditions (#1820) (ca3763d)
- don’t merge classes (dba0c1a)
- don’t resize tables if editable is set to false, fix #1549 (239a2e3)
- don’t show placeholder if node contains only atom nodes, fix #1457 (11b4866)
- don’t trigger image input rule on paste, fix #2518 (ecf270c)
- don’t use state in KeyboardShortcutCommand anymore (92ced9f)
- editor don't has contentComponent attribute when suggestion onUpdate (#2916) (6674e69)
- export starter kit extension options (4a2a428)
- export text align extension options (1b43de3)
- export type
Level
for external use (#2354) (77095c4) - Export type ColorOptions (#2180) (bc242fe)
- Export type FontFamilyOptions (#2345) (909d444)
- extension-link: 🐛 fix auto link validation not working on paste (3a3eb53)
- extension-link: restricts parsing
javascript:
pseudo-protocol (947f311) - extension/collaboration: 🚑 pin y-prosemirror version to 1.0.20 to fix broken functionality with vue (5989f3b)
- extension/mention: collapse selection to end after suggestion insertion to fix chrome selection issue with mouse (163de4e)
- Fix "destroy" method in view plugins. (#1882) (33420f4)
- Fix #2016 Image input rule (#2020) (503a3f2), closes #1574
- fix a bug for empty node selection where the bubble menu should not be visible, fix #1023 (8ed220a)
- fix a bug in detecting a current list in toggleList command (a35b253)
- fix a bug in link click handler, where we can’t click on text selections. fix #263 (33c30c0)
- fix a bug in markPasteRule (c2ccf68)
- fix a bug in the highlight regex, fix #2355 (b8a42fc)
- fix a bug that messed up pasted link attributes, fix #1284 (7da647d)
- fix a bug when configuring 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 when using drag handles (8f8b83a)
- fix a bug when using nested node views in react, fix #1747 (b15a8a8)
- fix a bug where bubble menu does not appear when selection starts from empty paragraph node, fix #1474 (f12b127)
- fix a bug where paste rules doesn’t worked at the start of the document, see #1225 (ff67ee1)
- fix a bug where setting text align isn’t working when heading extension is not added (ddb9a4b)
- fix a bug where strike and underline can’t parsed together (eff2c41)
- fix adding mark only with insertContent(), fix #264 (0a63123)
- fix bug on paste when using code blocks (d60fe35)
- fix check for showing mention suggestion (5e652c9)
- fix checkbox in firefox, fix #251 (5622dec)
- fix content expression for blockquote node, fix #1681 (74a3326)
- fix editor type for ReactRenderer (2af1870)
- fix editor type for VueRenderer, fix #281 (f6d8776)
- fix End key handler, fix #2446 (b584920)
- fix error when calculating contentMatch within clearNodes command, fix #1361 (3709668)
- fix export for getAttributes (5b8808a)
- fix expose error when using new setup syntax (fix #1914) (60e7755)
- 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 hasAnchor type for placeholder extension (5257a3b)
- fix isEditable check on initialization (f6f8cf9)
- fix lint error (d5dd568)
- fix lowlight decorations for vue 3 (daa5dc0)
- fix mappes positions for paste rules, fix #2002 (770c4e1)
- fix mention and suggestion package dependencies (39a2012)
- fix merging options on configure for multiple extension instances (d037c56)
- fix missing extensions when using
addExtension
, fix #1309 (28737b1) - Fix multi character suggest (#1620) (83a53c1)
- fix onBeforeCreate event handler, fix #1236 (0b67f18)
- fix order of executed plugins, fix #1547 (f8efdf7)
- Fix parsing of mention nodes (#1471) (5178172)
- fix plugin order for collab, fix #1973 (2b16c2e)
- fix RangeError bug when selecting all text, fix #2490 (70422dd)
- fix React Node View render problem in React 18 (#2985) (f32293b)
- fix reactive props, see #1728 (7f7f93d)
- fix regex modifier for input rules and paste rules, fix #2003 (65eddf0)
- Fix removal of textStyle mark when any style resets (#1465) (fbf4422)
- 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 suggestion package.json (dd3e27b)
- fix tippy for react (398fc7f)
- fix type error for commands (26785db)
- fix type for clientRect (07c6d51)
- fix type for emitUpdate, fix #276 (4137e00)
- fix type for insertContent command (4295c6b)
- fix types for BubbleMenu and FloatingMenu props (d3242c9)
- fix types for characterCount storage methods (d1daf9c)
- fix updating editorProps via setOptions (#1540), fix #1518 (e6f67ca)
- fix updating node views, fix #1656 (d7f6e0c)
- fix using react node views with insertContent (ea0992f)
- fix vue dependency (73650c1)
- fixed type for Content (39147f5)
- fixes an error when using the mention extension and pasting text ending with "@", fix #2413 (55fa220)
- get correct clientRect when using async suggestion items, fix #1782 (839acc1)
- getHTMLFromFragment now expects a fragment instead of node (2c9cf03)
- handle backspace also on shift (32ae386)
- hide bubble menu on drag, fix #1443 (6034eb9)
- 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 bundle size of character count extension, fix #2519 (fbfe1d9)
- 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 export for StarterKitOptions (8fcc80d)
- improve handling of horizontal rule at document end, fix #248 (af17f2c)
- improve isActive check for floating menu when using custom doc content, fix #1205 (b84a56a)
- improve JSONContent type to allow pure JSON content (ce7f52a)
- improve node view error message (536663f)
- improve performance for isActive method, see #1930 (fcca1e6)
- Improve ReactRenderer types (#2011) (31d8ab3)
- improve suggestion handling for chinese input, fix #1449 (9789372)
- improve types for generateHTML (502b5b1)
- improve Vue nodeViewProps typing (190a699)
- initialize autofocus selection in
createView
(#2212) (de39853) - insertContent keeps marks when using plain text, fix #2406 (d242706)
- let StarterKit be imported as cjs module (#2967) (69d22d2)
- link command on multi cell selections (ddaad8b), closes #827
- lint error (e17c414)
- maintainment: fix cjs issues with prosemirror-tables (eb92597)
- make
as
prop optional (f8dec5f) - make shouldShow and pluginKey option for menus, fix #1779 (70a328b)
- Mark
@tiptap/react
and@tiptap/core
as side effect free (#2361) (e609b2d) - Mark
@tiptap/vue-2
and@tiptap/vue-3
as side effect free (be8ca68) - mark characterCount storage method types as optional (ed7f93a)
- Mark the bubble/floating menu extensions as side effect free (172513c)
- markpasterule: parent is undefined for mark (463fd91)
- maybe hide tippy on blur, fix #1433 (063ced2)
- maybe move content dom on update, fix #1370 (78f75c3)
- maybe move content dom on update, see #1370 (60708a7)
- menu-bubble-hide: only send hide update, target not child of editor (527a744)
- merge attributes correctly when clicking task checkbox, fix #2422 (fe27843)
- move @tiptap/core to peerDependency (a03a01a)
- move all child nodes within EditorContent (0f299d2)
- nodeInputRule() support for group match (#1574) (8ee0d67)
- Only trigger image input rule at the start or with a preceding space (5fef431)
- parse correct language for code blocks with multiple classes (see #1845) (472f213)
- preserve whitespace when using insertContent command (8f10181)
- prevent a bug for node views when pressing enter on iOS, fix #1214 (234d238)
- prevent adding hard breaks in isolated nodes (9247fcb)
- prevent bug when editor is destroyed very fast (939fc3d)
- prevent checkbox change when editor isn’t editable, fix #1386 (c58a753)
- prevent dispatch empty fragment when parsing content with insertContent (2a4e02a)
- prevent error in toggleList command, fix #2279 (66eb2f2)
- prevent multiple space characters after mention node, fix #1703 (3f7e6b2)
- prevent named capturing groups, fix #2128 (0e9930f)
- prevent RangeError for posToDOMRect, fix #2112 (010418d)
- prevent removing inline nodes when using insertContentAt, fix #2156 (53ffce5)
- prevent suggestions from being active when editor is readonly (45990cd)
- prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197 (e885ffa)
- properly calculate setDragImage position (7401d45)
- Remove
element.current
fromuseEffect
inBubbleMenu
andFloatingMenu
(#2297) (561941d) - remove codeblock when at start of document, fix #262 (92f6ea2)
- remove composition check for floating menu (#2137) (d0d0696)
- Remove console.log statement (#2168) (6e25e99)
- remove custom coordsAtPos method, fix #583 (485fb8c)
- remove debug log (beb96c5)
- remove default types for textAlign extension, fix #1430 (b4e41af)
- 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)
- remove extension-text-style from character-cout peer dependencies (2fc6a4b)
- remove node before hr if it’s an empty text block (fix #1665) (6e76bb8)
- remove node before hr if it’s an empty text block, fix #1665 (4151e2f)
- remove some magic strings (6c34dec)
- rename key to pluginKey for menus (89d26f7)
- render line break in text/plain format for hard breaks, fix #1842 (787d784)
- retrieve awareness states after reconnect (12d9942)
- revert adding exports (bc320d0)
- revert adding type: module (f8d6475)
- revert adding useDefineForClassFields to tsconfig, fix #1907 (00c24b5)
- revert async focus, fix #1658 (c9869c8)
- revert changes to selectAll command, fix #2491 (bdab760)
- revert excluding superscript from subscript, and vice versa to prevent error if not both extensions are used (123f206)
- revert type changes for useEditor in vue-3 package (3ba3afb)
- run pasterules for pasted content, fix #2408 (bc03c0d)
- Separate drags from drops in stopEvent (#2070) (bebaa40)
- set correct component type for ReactRenderer, fix #1904 (fe47c38)
- set correct priority when extending extensions, fix #1288 (b4e2b6f)
- set correct type for emitUpdate (9a40c17)
- set cursor position in setHorizontalRule correctly, fix #2429 (34d8011)
- set max textselection correctly, fix #2401 (4be16fc)
- show bubble menu for atom nodes even if there is no text content, fix #1446 (a3a7650)
- show FloatingMenu by default only if focused (#2275) (809af3b)
- strip carriage return chars from text pasted as code and add missing paste meta information (b1c56e6)
- suggestion: 🐛 make clientrect prop optional as it can potentially be undefined (#2813) (f019f70), closes #2795
- support all characters for suggestion char, fix #2385 (42d3ee8)
- Switch from hostic dom to zeed dom (#2151) (56a75db)
- temp fix collaboration demo (4528756)
- textStyle: Null-safe parseHTML getting no color/fontFamily from HTMLElement styles (#2825) (18bcc64)
- Typo (#3132) (19d2929)
- update getJSON return type to JSONContent (#2153) (6583ede)
- update lock file, fix #1490 (081b93b)
- update zeed dom (#2155) (75e55e5)
- use correct state when doc changed externally (#1646) (60606f9)
- Use pasteRegex in addPasteRules (#1922) (047ef8c)
- use ref to move contentDOM (#1960), fix #1942 (dead826)
- use setNode instead of toggleNode for setParagraph command (bcc1309)
- use shallowRef on Editor (#1804) (46701fd)
- use toggleHeader from prosemirror-tables (#2412), fix #548 (c6bea9a)
- vue inject grammar warning (#3144) (c6c5fa6)
Code Refactoring
- tiptap-extensions: Do not import the full
lowlight
library. (27e473c)
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
as
option and pass through to ReactRenderer (#2213) (dedcf17) - add
includeChildren
option to placeholder extension (#1416) (1799b90) - Add
onBeforeStart
andonBeforeUpdate
handlers to the render function (70cb809) - add
updateSelection
option toinsertContentAt
command (9f2c368) - Add a generic type for suggestion items (7cae967)
- add addExtensions option (26e672e)
- add allowBase64 option to image extension (a97a46f)
- add className option to ReactRenderer, see #2166 (c9dc1e1)
- add coordsAtPos and posToClientRect helper methods (8dab614)
- add defaultBlockAt helper (403c147)
- add defaultLanguage option to CodeBlockLowlight extension, fix #2121 (0f94bcd)
- 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 exitOnTripleEnter and exitOnArrowDown options to CodeBlock extension (a35b7fb)
- 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 isChangeOrigin helper method (92b6c5b)
- add itemTypeName option (3d7c8e6)
- Add key bindings for uppercase letters for bold, italic and underline (#2478) (b9bd469), closes ProseMirror/prosemirror#895 #2426
- add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503) (9ba61c1)
- add label attribute to mention extension (#1322) (c3afe88)
- add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 (9e9401e)
- add name to extension context (12f60ab)
- add parentConfig to extension context for more extendable extensions, fix #259 (5e1ec5d)
- add pos to placeholder props (eb53743)
- add priority option to extensions (bb1ae65)
- add renderLabel option to mention extension, see #1322 (3b78af4)
- add resetAttributes() command, deprecate resetNodeAttributes() (3334d93)
- add scrollIntoView option to focus command, fix #2172 (e0f6490)
- add selectTextblockStart and selectTextblockEnd commands (0aa39f9)
- add setCellSelection command (eb7e92f)
- 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 StarterKit extension (21384fc)
- Add support for autolink (#2226) (3d68981)
- add support for checking for attributes in extendMarkRange (ff7dd9b)
- add support for forwardRef component in reactRenderer (#1690, fix #1040) (d1f2ad2)
- add support for template strings in VueNodeViewRenderer, fix #1987 (7c98f80)
- add tippyOptions prop (9a56f66)
- 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 individual Typography rules to be disabled (#2449) (7ce6687)
- Allow multiple prefix characters to trigger a suggestion (#2896) (482cb96)
- allow number for setTextSelection and insertContentAt (2f7a6ad)
- Allow to use commands within InputRule and PasteRule (#2035) (4303637)
- allow triggering suggestions without prefix space (#1826, fix #1384) (4dd0d6d)
- allow wildcards when checking attributes in isActive, fix #1752 (64409ca)
- better types for Vue 2 (23a152a)
- core: add nodePasteRule to core (15123ee)
- escape code blocks on arrow down, fix #1204 (ffafff9)
- escape code blocks on triple enter, fix #2195 (d48fb24)
- export isList, fix #1326 (2bd17c7)
- export mark helpers (313ab0e)
- expose hasAnchor to custom placeholder function (#2470) (2fe6e21)
- expose node helpers to core (6048f9b)
- extension-link: ✨ add validate option to link extension (23e67ad), closes #2779
- extension/youtube: ✨ new youtube embed extension (#2814) (1c0554b)
- extension/youtube: add paste handlers for youtube extension (ec595ff)
- Integrate input rules and paste rules into the core (#1997) (723b955)
- join lists on toggleList (#2260), fix #1329 (126ad72)
- package.json: Add lint yarn script + make it a precondition to build all packages. (54550b2)
- parseHTML for attributes should return the value instead of an object now, fix #1863 (8a3b47a)
- remove deprecated commands insertHTML, insertNode and insertText (86d570f)
- remove keepInBounds (d7282f1)
- remove resize event handler (9f64015)
- render wrapper element for inline node views as span, fix #242 (bdb5d72)
- setHardBreak now keeps splittable marks by default, fix #1934 (377bbb1)
- suggestions: async items and filter support added (40cefad)
- use tippy for floating menu (54df2ce)
Reverts
- Revert "bring back 1.20.0" (59244c5)
- Revert "update package-lock.json" (e63b987)
- Revert "Publish" (9c38d27)
- Revert "feat: update lowlight to v2" (38f3601)
- Revert "update dev dependencies" (a4d4097)
- Revert "add copy button" (19d2909)
- Revert "use global namespace" (0c9ce26)
- Revert "fix a bug for getting mark range, fix #156" (d057d5d), closes #156
- Revert "fix eslint warning" (392f8a2)
BREAKING CHANGES
- tiptap-extensions:
CodeBlockHighlight
was importing the fulllowlight
libraries, including all syntax highlighting definitions fromhighlight.js
. The new behavior changes the signature ofCodeBlockHighlight
to accept an object with all syntax highlighting definitions. This means that now the user of the library MUST import languages themselves and tiptap will no longer bundle the fullhighlight.js
in itself.