Nick the Sick
36489ba873
feat(core): beginnings of a decorations API
2024-11-13 13:54:41 +01:00
Nick the Sick
f7453a3292
Merge branch 'develop' into next
build / lint (20) (push) Has been cancelled
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Has been cancelled
Publish / Release (20) (push) Has been cancelled
build / build (20) (push) Has been cancelled
2024-11-11 14:26:08 +01:00
Nick the Sick
90dfd46a44
test: update react tests
2024-11-11 14:15:55 +01:00
Nick the Sick
564a6b3d24
test: update tests
2024-11-11 13:44:44 +01:00
Nick the Sick
e6ce7b621d
fix: make useEditorState run before layout
2024-11-11 13:33:14 +01:00
Nick the Sick
05e1755d10
test: cleanup tests
2024-11-11 13:31:32 +01:00
Nick the Sick
d72ca3747d
fix: set defaultCellMinWidth
2024-11-11 12:54:21 +01:00
Nick the Sick
fea61ffe91
test: update demos for tests to pass
2024-11-11 12:36:38 +01:00
Glenn Allen
2178118991
feat: add Node linebreakReplacement
support and enable on hardBreak nodes ( #5821 )
...
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
* 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
Nick Perez
53673fbfe0
feat: add once
to EventEmitters ( #5818 )
2024-11-08 10:49:50 +01:00
Nick Perez
62c6dddf80
fix(link): add backwards compat by deprecating validate and using isAllowedUri instead ( #5812 )
2024-11-07 13:18:01 +01:00
Juraj Garaj
88371561bb
fix(list-keymap): early exit when selection is not collapsed ( #5810 )
2024-11-07 09:21:19 +01:00
Éric Le Maître
94a8d258f8
fix(vue-3): on editor destruction, transition smoothly ( #5772 )
2024-11-07 09:19:46 +01:00
Armando Guarino
8a2e548c5b
Merge pull request #5808 from ueberdosis/refactor/url-validation-and-autolink
...
refactor: adjust validate and add shouldAutoLink to improve URL handling
2024-11-06 15:14:25 +01:00
Armando Guarino
585f6ef77e
test: improve url parsing logic
2024-11-06 15:08:30 +01:00
Armando Guarino
efac420c9f
chore: improve changeset description
2024-11-06 14:16:39 +01:00
Armando Guarino
6b8ce3778e
refactor: add jsdoc validate and shouldAutoLink comment
2024-11-06 14:14:59 +01:00
Armando Guarino
035862b698
refactor: update tests url checking logic and comments
2024-11-06 14:11:48 +01:00
Armando Guarino
6bdb5917a5
refactor: remove logs and fix typo
2024-11-06 14:06:48 +01:00
Nick the Sick
2ef1c847a9
fix(react): shouldRerenderOnTransaction
defaults to false for perf
2024-11-06 13:56:42 +01:00
Armando Guarino
444e6e5a11
refactor: adjust validate and add shouldAutoLink to improve URL handling
2024-11-06 13:43:54 +01:00
Nick the Sick
4ee59c1f7d
chore: add changeset & package-lock
2024-11-06 13:01:37 +01:00
solvsoft
5a04885b94
fix(vue): pin vue-ts-types version ( #5800 )
2024-11-06 13:00:40 +01:00
Nick Perez
ddd3d713e5
fix(react): allow react 19 ( #5807 )
2024-11-06 12:48:37 +01:00
Nick Perez
e5228ea6be
feat: accessibility improvements ( #5758 )
2024-11-04 13:49:58 +01:00
Alan Poulain
830e683dde
fix(bubble-menu): add element
to shouldShow
in BubbleMenu opts ( #5790 )
2024-11-04 11:16:05 +01:00
Julien Cigar
c50eb4bc2b
fix(core): handle selections better for updateAttributes
( #5738 )
2024-11-04 11:04:58 +01:00
Nick the Sick
35a34896cb
perf: memoize the context value
2024-11-01 17:00:50 +01:00
Nick the Sick
8c68da29be
Merge branch 'develop' into next
2024-11-01 17:00:30 +01:00
Nick the Sick
e33885847e
chore: just add the options directly
2024-11-01 16:59:55 +01:00
Nick the Sick
718bf264ad
Merge branch 'develop' into next
2024-11-01 16:51:54 +01:00
Nick the Sick
c57ac23760
chore: update the type to reflect that the parent always exists
2024-11-01 16:51:12 +01:00
Nick the Sick
ad7ea1a072
Merge branch 'develop' into next
2024-11-01 16:30:54 +01:00
Héctor Chong
077c540cf9
docs: add drag handle demo for React ( #5783 )
2024-10-30 10:44:45 +01:00
Rägnar O'ock
152390130e
fix(table): set min-width for cols #5435 ( #5464 )
2024-10-30 10:31:25 +01:00
Nick the Sick
d6e4cafef3
revert: "chore: memoize the editor context value"
...
This reverts commit e2787e4736
.
2024-10-30 10:17:18 +01:00
Armando Guarino
48749330ae
Merge pull request #5781 from ueberdosis/preserve-attributes-of-set-node
...
fix: preserve attributes of set node
2024-10-29 15:19:01 +01:00
Armando Guarino
48cba5493a
fix: preserve attributes of set node
2024-10-29 14:14:53 +01:00
svenadlung
f029d9228d
docs: remove relics
2024-10-29 14:14:52 +01:00
Nick Perez
d2f366d6d4
fix(core): update the typing of addOptions
, addStorage
to have an optional parent #5768 ( #5770 )
2024-10-28 21:44:47 +01:00
dependabot[bot]
cc4b82654a
build(deps): bump actions/cache from 4.1.1 to 4.1.2 ( #5776 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4.1.1...v4.1.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 17:34:13 +01:00
Nick the Sick
e2787e4736
chore: memoize the editor context value
2024-10-28 16:03:31 +01:00
Armando Guarino
6b2df67219
fix: add zero-width space to resolve cursor selection issue ( #5774 )
2024-10-28 14:19:25 +01:00
Horu
9386de5087
docs: update link in input and paste rules docstrings ( #5771 )
2024-10-27 09:45:12 +01:00
dependabot[bot]
4f4a72f855
build(deps): bump actions/cache from 4.1.0 to 4.1.1 ( #5728 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nick Perez <nicholas.perez@tiptap.dev>
2024-10-25 20:01:26 +02:00
dependabot[bot]
79133d6078
build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 ( #5727 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.4.0...v4.4.3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 20:00:55 +02:00
Nick the Sick
f323e5bf49
chore: add changeset
2024-10-25 19:35:32 +02:00
Nick the Sick
893e44e533
chore: add changeset
2024-10-25 19:27:00 +02:00
Nick Perez
466a5a9a52
fix: properly transform paste/input rules ( #5545 )
2024-10-25 16:45:17 +02:00
Nick Perez
f95b13e93f
feat(core): allow nodes and fragments to be inserted into the editor using insertContentAt command #5764 ( #5766 )
2024-10-25 16:32:18 +02:00