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
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
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
Tom Jenkinson
da76972998
fix(core): resolve text selection issues #2690 #5208 ( #4646 )
2024-08-13 22:46:16 +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
Nick the Sick
7280e2931e
docs: onTransaction has an editor prop
2024-08-07 17:50:04 +02:00
Nick the Sick
597c78156a
docs: update types to reflect setting plugin and pluginkey for meta
2024-08-07 17:29:58 +02:00
Nick Perez
c0e631f875
fix: bump priority of text-style extension fixes #4742 ( #5457 )
2024-08-07 15:39:49 +02:00
Nick Perez
ae0254db97
feat(core): add ignoreWhitespace option to isNodeEmpty ( #5446 )
2024-08-06 10:05:50 +02:00
Nick Perez
efb27faf54
fix(core): use correct position for getMarksBetween ( #5412 )
2024-08-05 20:46:23 +02:00
Nick Perez
84ebd511d2
fix(core): resolve isNodeEmpty
criteria #5415 ( #5419 )
2024-08-01 09:02:34 +02:00
Ricardo Amaral
068559d0ac
chore: Use proper types for configure
methods (Extension/Mark/Node) ( #5421 )
2024-08-01 00:28:51 +02:00
Rob LaFeve
0ec0af67b1
fix: use Array.from when converting Set ( #5428 )
2024-08-01 00:00:26 +02:00
Nick Perez
a08bf85cf0
fix: do not consider text content as atoms resolve #5405 ( #5407 )
2024-07-29 08:54:17 +02:00
Nick the Sick
d3e88e791d
fix: emit a contentError on inserting invalid content
2024-07-26 13:44:03 +02:00
Nick Perez
b012471755
fix(core): isNodeEmpty no longer considers attributes for it's checks ( #5393 )
2024-07-25 15:40:07 +02:00
Nick Perez
cc3497efd5
fix(core): address enableContentCheck
insertion bug ( #5390 )
2024-07-24 17:43:30 +02:00
Nick the Sick
5283a51931
chore: widen the typing for GlobalAttributes
2024-07-24 13:59:10 +02:00
Nick the Sick
35682d1322
fix(core): account for node attrs when checking if content is equal
2024-07-22 18:43:33 +02:00
Markus Greystone
618bca91e8
fix(core): adjust the splitBlock
to return false
when failed ( #5371 )
2024-07-22 15:10:29 +02:00
Lincoln Yan
2104f0fa70
fix: check that view is not destroyed before creating node views ( #5334 )
2024-07-22 14:38:25 +02:00
Nick Perez
ab8389a32c
fix(vue-3): reapply performance updates ( #5373 )
...
---------
Co-authored-by: relchapt <reynald.lechapt@getmayday.co>
Co-authored-by: Rirax <rlechapt@student.42.fr>
Co-authored-by: Segev Finer <segev@swimm.io>
2024-07-22 13:18:03 +02:00
Nick the Sick
3b67e8adc6
chore: update typings to not conflict with globals
2024-07-19 14:30:55 +02:00
Arturs Vonda
4cca382695
fix(core): take atom content entirely ( #5321 )
2024-07-19 13:49:15 +02:00
Nick Perez
07f4c03315
fix(core): configuring extensions should add to the parent's options not replace them ( #5357 )
...
* fix(core): configuring extensions should add to the parent's options not replace them
* fix: order of tests
2024-07-17 09:06:41 +02:00
Nick the Sick
dbab8e42ea
revert: "fix(vue-3): fix editor.state updating too late during a transaction due to reactiveState fixes #4870 ( #5252 )"
...
This reverts commit 509676ed4a
.
2024-07-15 12:21:12 +02:00
Segev Finer
509676ed4a
fix(vue-3): fix editor.state updating too late during a transaction due to reactiveState fixes #4870 ( #5252 )
2024-07-02 21:58:46 +02:00
bdbch
8c017d88f6
chore: merged main branch into beta branch
2024-06-26 23:53:44 +02:00
bdbch
81d3b8a671
feat(core): normalize setContent and insertContentAt ( #4895 )
...
When `parseOptions.whitespace === 'full' or parseOptions.whitespace === true` setting content will no longer strip whitespaces on setContent
2024-06-25 16:50:46 +02:00
Nick the Sick
2198991fda
fix: provide the error cause
2024-06-25 16:40:26 +02:00
Nick the Sick
1175b9c110
revert: reverts a52118c34b
to fix centering extension issue #5254
...
https://github.com/ueberdosis/tiptap/issues/5254
2024-06-25 16:29:51 +02:00
Alec Larson
cd64e01ebd
chore(docs): fix @see links in Extension.ts
( #5253 )
2024-06-19 20:28:55 +02:00
Nick Perez
c540c7d2e8
fix: apply #5147 fix to marks and nodes resolves #4704 ( #5156 )
...
* fix: apply #5147 fix to marks and nodes
* fix: resolve Issue #4704 by reverting PR #4191
* test: more robust tests for nodes and marks too
2024-06-18 08:00:28 +02:00
Nick Perez
3556d5812b
fix(core): the whitespace value for a node was not being sent to prosemirror ( #5245 )
2024-06-18 06:54:06 +02:00
Nick Perez
2ef43e9251
fix(core): make exitable resolve it's value through inheritance ( #5244 )
2024-06-18 06:07:14 +02:00
Nazar
d122980cec
fix(core): update tabindex on state change ( #5231 ) ( #5232 )
2024-06-14 05:35:50 +02:00
Yousef
fe78faab55
fix(core): mergeDeep now can merge nulls ( #4088 )
2024-06-12 08:36:44 +02:00
Nick the Sick
4e4c622e1b
refactor: rm circular dependency
2024-06-12 06:41:58 +02:00
Nick the Sick
747985b3a7
chore: update package versions for prosemirror
2024-06-11 23:03:14 +02:00
Nick the Sick
f4a7dbaf5c
refactor: use the faster .eq
method for determining equality
2024-06-08 10:42:45 +02:00
Nick the Sick
aee15c2874
fix: use a faster type check for determining if a fragment or not
2024-06-08 10:42:45 +02:00
Nick the Sick
3d3263911f
feat: pass node & mark extensions as a contextual variable to addGlobalAttributes
2024-06-08 10:42:45 +02:00