Commit Graph

1336 Commits

Author SHA1 Message Date
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
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 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
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
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
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
Nick Perez
e606c06502
docs: update DecorationWithType typings for accuracy (#5692) 2024-10-02 10:12:41 +02:00
github-actions[bot]
5d9b8d0907
chore(release): release version 2.8.0 (#5669) 2024-09-30 16:46:03 +02:00
Nick Perez
33e1305c20
fix(core): drop/paste event as Extensions #5681 (#5684) 2024-09-30 12:21:02 +02:00
Nick Perez
6834a7f7d6
build: type defs only emit for a single package's code (#5665) 2024-09-26 14:51:00 +02:00
github-actions[bot]
b2598dc2c2
chore(release): release version 2.7.4 (#5667) 2024-09-26 14:24:01 +02:00
Nick Perez
7ef401d7e5
fix(core): dereference editor from DOM element on destroy #5654 (#5666) 2024-09-26 11:55:40 +02:00
github-actions[bot]
e8e4df38d5
chore(release): release version 2.7.3 (#5652)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-25 18:03:01 +02:00
Nick Perez
15b54990b0
refactor: make NodeViewProps an interface again (#5658) 2024-09-25 15:51:30 +02:00
yaokailun
d57ee51223
fix(core): filter rendered extensionAttributes (#5588) 2024-09-24 22:38:26 +02:00
Nick the Sick
112d1495d6
docs: add type to nodeViews 2024-09-24 18:51:01 +02:00
github-actions[bot]
89d5713a62
chore(release): release version 2.7.2 (#5631) 2024-09-19 10:40:48 +02:00
Sven Adlung
cbe06d12db
fix(vue-3): late-registering plugins #5259 (#5616) 2024-09-18 14:46:45 +02:00
github-actions[bot]
20c7c95e54
chore(release): release v2.7.1 (#5627) 2024-09-17 16:03:23 +02:00
Nick the Sick
3809072668
chore: update peer dep versions 2024-09-17 15:43:04 +02:00
Gerard van Alphen
888f574b5f
fix: import in DropPlugin (#5626)
Co-authored-by: Gerard van Alphen <gerard.van.alphen@calcasa.nl>
2024-09-17 15:42:31 +02:00
Nick the Sick
a170cf4057
chore(release): release v2.7.0 (#5560) 2024-09-17 09:27:38 +02:00
Nick the Sick
e0c4db9674
revert: "fix(core): handle macOS text expansion properly in InputRules (#5261)"
This reverts commit 88e310b144.
2024-09-16 06:19:37 +02:00
Nick the Sick
5d19e427e9
chore(release): release 2.7.0-pre.0 2024-08-27 15:09:30 +02:00
Nick the Sick
58e91c4175
Merge branch 'main' into develop 2024-08-23 16:28:52 +02:00
github-actions[bot]
ec6121da1c
chore(release): release version 2.6.6 (#5537) 2024-08-23 12:29:35 +02:00
Ricardo Amaral
88e310b144
fix(core): handle macOS text expansion properly in InputRules (#5261) 2024-08-22 12:34:27 +02:00
Leopold Pinkernell
f805333f63
fix(core): check schema's nesting rules on contentCheck (#5500) (#5535) 2024-08-21 22:44:17 +02:00
sifat haque
a22767e9e1
fix(core): styles de-duplicate in mergeAttributes (#4610) 2024-08-21 22:39:58 +02:00
Leopold Pinkernell
8d8d999803
fix(core): check schema's nesting rules on contentCheck (#5500) (#5535) 2024-08-21 22:38:43 +02:00
bdbch
9e18d243e0
feature(core): add onPaste and onDrop events to editor (#4843) 2024-08-21 18:46:49 +02:00
Nick Perez
07fa49d026
fix: preserve attributes of toggled node #3644 (#5489)
I only feel comfortable copying the attributes of the current node if the selection is only within a single node (I don't know what is expected if you had a selection of multiple nodes, the intersection of the attributes maybe?)

---------

Co-authored-by: Dominik Biedebach <dominik.biedebach@tiptap.dev>
2024-08-21 14:03:57 +02:00
Nick the Sick
dcffe441c5
Merge branch 'main' into develop 2024-08-21 09:17:27 +02:00
github-actions[bot]
f8d79da29b
chore(release): release version 2.6.5 (#5532) 2024-08-21 09:02:15 +02:00
Nick the Sick
c076a0e3bb
fix: make type partial (#5514) 2024-08-21 08:12:19 +02:00
Alan North
97ea55fe4c
fix(core): read preventClearDocument meta + allow disable core plugins #5490 (#5514) 2024-08-20 16:32:44 +02:00
Nick Perez
7f24a6677b
refactor(core): update typings for NodeViews to be accurate to implementation #5483 (#5526) 2024-08-20 16:25:16 +02:00
github-actions[bot]
ae6cb9d175
chore(release): release version 2.6.4 (#5497) 2024-08-15 10:45:14 +02:00
github-actions[bot]
3f5dbbbaad
chore(release): release version v2.6.3 (#5484) 2024-08-14 20:52:53 +02:00
Tom Jenkinson
da76972998
fix(core): resolve text selection issues #2690 #5208 (#4646) 2024-08-13 22:46:16 +02:00
github-actions[bot]
b75454e3a4
chore(release): release version 2.6.2 (#5482)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-13 18:20:54 +02:00
github-actions[bot]
d137c3181f
chore(release): release version 2.6.1 (#5480) 2024-08-13 12:49:49 +02:00
github-actions[bot]
b2d5c94c4d
chore(release): release version 2.6.0 (#5458) 2024-08-13 09:04:51 +02:00
Nick the Sick
2c6590b3d4
fix: update docs and add tests for collaboration and priority docs 2024-08-12 11:14:41 +02:00
Nantris
222f2aca62
feat: update splitListItem to allow setting attrs (#4253) 2024-08-11 22:38:01 +02:00
Nick Perez
e31673d347
fix(react): resolves React NodeView performance issues (#5273) 2024-08-09 07:56:19 +02:00
David Newell
86a855355f
feat(core): add getContent to nodePasteRules (#4212) 2024-08-09 07:34:17 +02:00