tiptap/packages
Glenn Allen 2178118991
Some checks are pending
build / lint (20) (push) Waiting to run
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Waiting to run
build / build (20) (push) Blocked by required conditions
Publish / Release (20) (push) Waiting to run
feat: add Node linebreakReplacement support and enable on hardBreak nodes (#5821)
* Support the Node linebreakReplacement property

Support the [linebreakReplacement](https://prosemirror.net/docs/ref/#model.NodeSpec.linebreakReplacement) property on Nodes, allowing a node to be used wherever a newline character is, when converting between blocks that don't support the linebreak node, but have their whitespace set to "pre".

This is useful, for example, when converting between code blocks & normal paragraphs. Code blocks don't support the linebreak node, but do allow newline characters ('\n').
Marking the `hardBreak` node as the `linebreakReplacement` will mean the newline characters within codeBlock nodes will be converted to `hardBreak` nodes in the paragraph.

* Make hardBreak the default linebreakReplacement node

When converting between codeBlocks and normal paragraphs, the hardBreak node should be used in place of newline '\n' characters.
2024-11-11 09:05:32 +01:00
..
core feat: add Node linebreakReplacement support and enable on hardBreak nodes (#5821) 2024-11-11 09:05:32 +01:00
extension-blockquote chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-bold chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-bubble-menu fix(bubble-menu): add element to shouldShow in BubbleMenu opts (#5790) 2024-11-04 11:16:05 +01:00
extension-bullet-list chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-character-count chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-code chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-code-block chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-code-block-lowlight chore: just add the options directly 2024-11-01 16:59:55 +01:00
extension-collaboration chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-collaboration-cursor chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-color chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-document chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-dropcursor chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-floating-menu chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-focus chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-font-family chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-gapcursor chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-hard-break feat: add Node linebreakReplacement support and enable on hardBreak nodes (#5821) 2024-11-11 09:05:32 +01:00
extension-heading chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-highlight chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-history chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-horizontal-rule chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-image chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-italic chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-link fix(link): add backwards compat by deprecating validate and using isAllowedUri instead (#5812) 2024-11-07 13:18:01 +01:00
extension-list-item chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-list-keymap fix(list-keymap): early exit when selection is not collapsed (#5810) 2024-11-07 09:21:19 +01:00
extension-mention chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-ordered-list chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-paragraph chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-placeholder chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-strike chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-subscript chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-superscript chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-table fix(table): set min-width for cols #5435 (#5464) 2024-10-30 10:31:25 +01:00
extension-table-cell chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-table-header chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-table-row chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-task-item chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-task-list chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-text chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-text-align chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-text-style chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-typography chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-underline chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
extension-youtube chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
html chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
pm chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
react fix(react): allow react 19 (#5807) 2024-11-06 12:48:37 +01:00
starter-kit chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
suggestion chore(release): release version 2.9.1 (#5757) 2024-10-23 11:20:21 +02:00
vue-2 fix(vue): pin vue-ts-types version (#5800) 2024-11-06 13:00:40 +01:00
vue-3 fix(vue-3): on editor destruction, transition smoothly (#5772) 2024-11-07 09:19:46 +01:00