tiptap/.changeset
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
..
chatty-monkeys-hear.md fix(list-keymap): early exit when selection is not collapsed (#5810) 2024-11-07 09:21:19 +01:00
chatty-pianos-learn.md fix: preserve attributes of set node 2024-10-29 14:14:53 +01:00
config.json revert: "revert: "build: don't bump major when you don't have to"" 2024-09-17 09:26:11 +02:00
five-flowers-eat.md fix(vue-3): on editor destruction, transition smoothly (#5772) 2024-11-07 09:19:46 +01:00
five-mice-turn.md fix(bubble-menu): add element to shouldShow in BubbleMenu opts (#5790) 2024-11-04 11:16:05 +01:00
fresh-coats-relate.md chore: add changeset 2024-10-25 19:27:00 +02:00
funny-otters-protect.md chore: add changeset 2024-10-25 19:35:32 +02:00
happy-vans-smash.md fix(core): update the typing of addOptions, addStorage to have an optional parent #5768 (#5770) 2024-10-28 21:44:47 +01:00
lemon-berries-change.md feat: add once to EventEmitters (#5818) 2024-11-08 10:49:50 +01:00
mean-moose-bow.md chore: add changeset & package-lock 2024-11-06 13:01:37 +01:00
polite-buttons-wash.md fix(react): allow react 19 (#5807) 2024-11-06 12:48:37 +01:00
README.md switch from lerna to changesets for versioning and publishing (#5274) 2024-06-27 17:48:30 +02:00
serious-coins-fail.md fix: add zero-width space to resolve cursor selection issue (#5774) 2024-10-28 14:19:25 +01:00
shy-pigs-exercise.md feat: add Node linebreakReplacement support and enable on hardBreak nodes (#5821) 2024-11-11 09:05:32 +01:00
swift-keys-collect.md fix(core): handle selections better for updateAttributes (#5738) 2024-11-04 11:04:58 +01:00
two-rats-watch.md fix(table): set min-width for cols #5435 (#5464) 2024-10-30 10:31:25 +01:00
witty-olives-protect.md chore: improve changeset description 2024-11-06 14:16:39 +01:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation