Commit Graph

6688 Commits

Author SHA1 Message Date
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
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
e33885847e
chore: just add the options directly 2024-11-01 16:59:55 +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
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
github-actions[bot]
c206464619
chore(release): release version 2.9.1 (#5757)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-23 11:20:21 +02:00
Nick Perez
0c9004f2ca
fix(lists): bullet-list and ordered-list no longer depend on list-item or text-style extensions #5707 (#5756) 2024-10-23 11:18:29 +02:00
github-actions[bot]
cbbb8a5d71
chore(release): release version v2.9.0 (#5751)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 15:22:38 +02:00
Nick the Sick
f89a6d9f55
Merge branch 'main' into develop 2024-10-22 15:10:41 +02:00
Nick Perez
873a67c6e3
feat: in a collab setting, disable transactions that are trying to sync invalid content (#5207)
When collaborating on a document, a client may send changes which are invalid to the current client. This change makes it so that the client can be disabled from synchronizing any further changes to avoid the default behavior of stripping unknown content. This would allow the other client to continue editing on the document while still synchronizing any known changes.
2024-10-21 17:15:06 +02:00
Armando Guarino
4cb6f98946
Merge pull request #5745 from ueberdosis/update-editable-on-re-render
fix(react): preserve editable option across renders
2024-10-21 16:51:28 +02:00
Armando Guarino
304eedb769 fix(react): preserve editable option across renders 2024-10-21 16:38:31 +02:00
Nick Perez
ffb51d3b7e
fix(core): respect the editor's parseOptions (#5742)
Co-authored-by: guarmo <armando.guarino@tiptap.dev>
2024-10-21 12:55:35 +02:00
trry
7ddc1af5e9
chore: delete duplicate name (#5732) 2024-10-20 22:33:20 +02:00
Kartikeya Choudhary
ae711abe32
fix(mention): update priority #5680 (#5687) 2024-10-20 05:51:03 +02:00
Markus Greystone
6fae240f88
fix: add clear mark parse rules to bold & italic marks (#5705) 2024-10-20 05:23:33 +02:00
Nick the Sick
bfcf6d94e8
test: use id for tests 2024-10-18 16:36:11 +02:00
bdbch
a2eea24b5b
Improve accessibility on the editor DOM element (#5734)
* added accessibility attributes to the editor DOM element

* added changesets
2024-10-16 11:34:26 +02:00
Éric Le Maître
364231a1bd
Fix editor destruction at the end of Vue transition (#5648)
* wip: destruction éditeur

* fix: replacing DOM nodes at unmount

* fix: event for useEditor destroy

* chore: Generating changeset

* chore: generating changeset

* chore: delete duplicate changeset

* revert: note tutorial

* feat: add Vue transition example

* fix: test for Vue transition

* fix: components within editor

* chore: remove useless ref
2024-10-14 10:26:12 +02:00
bdbch
4efd2278a1
Fix getMarkRange not finding marks when at the start of a mark (#5717)
* fix getMarkRange to always find a mark, even if cursor is at start of mark

* added changesets

* added integration tests for getMarkRange

* remove console.logs

* added forward and backward boundary checks for tests
2024-10-11 06:44:05 +02:00
bdbch
d96f679585
Fix NodePos logic for child position calculation and attribute changes (#5716)
* fix( nodepos child offsets when child is a non-text atom

* fix nodepos attribute update when node is not text

* added changesets
2024-10-10 12:43:58 +02:00
dependabot[bot]
0c2b2d100d
build(deps): bump actions/cache from 4.0.2 to 4.1.0 (#5704)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.0.
- [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.0.2...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 17:03:13 +02:00
Jaap van Hoek
21df331b60
fix(table): respect resizeable columns colwidths (#4955) 2024-10-04 14:17:08 +02:00
Nick Perez
087e5812a6
fix: add extension-text-style as a dep of @tiptap/starter-kit #5691 (#5693) 2024-10-02 10:40:13 +02:00
Nick Perez
e606c06502
docs: update DecorationWithType typings for accuracy (#5692) 2024-10-02 10:12:41 +02:00
Nick the Sick
7a7376c5f7
chore: wrong version 2024-10-01 11:37:53 +02:00