Commit Graph

6700 Commits

Author SHA1 Message Date
Ilya Iskra
9907eb32c2
fix(code-block-lowlight): support for lowlight v3 aliases (#5551) 2024-08-26 11:14:23 +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
84f491ccab
fix(suggestion): dropdown can now be closed with Esc (#4380) (#5544) 2024-08-23 12:26:58 +02:00
Ricardo Amaral
daad533863
fix(suggestion): dropdown can now be closed with Esc (#4380) (#5544) 2024-08-23 12:26:24 +02:00
William Park
fafb5adc98
feat: add data attribute on ReactNodeViewContent div (#5539) 2024-08-23 09:28:52 +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
bdbch
da8fcf373e
Use parent window for cross-frame instantiation (#5534)
* Add cross-iframe JS support to mention extension

* added changeset

---------

Co-authored-by: Taylor Ermolov <taylor@nermolov.com>
2024-08-21 14:51:32 +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 Perez
3c3d7148c2
fix(suggestion): sometimes a suggestion would not show up (#4380) (#5531) 2024-08-21 08:53:47 +02:00
Nick Perez
8a55cdd2c3
fix(suggestion): sometimes a suggestion would not show up (#4380) (#5531) 2024-08-21 08:51:04 +02:00
Nick the Sick
c076a0e3bb
fix: make type partial (#5514) 2024-08-21 08:12:19 +02:00
Jarle Friestad
dbcdaad30a
fix(task-item): prevent onBlur being trigged when toggled (#5520) 2024-08-20 16:54:16 +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 the Sick
cac2da16c4
chore: reorder types declarations 2024-08-20 16:30:05 +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
Nick the Sick
04bf24aed0
chore: minor docs & renaming 2024-08-20 10:45:36 +02:00
yaokailun
4ff2a4eaa1
feat(react): allow attrs to be a callback 2024-08-18 13:27:30 +02:00
Nick Perez
c99627d7ce
refactor(react): default to using deep equal comparisons (#5512) 2024-08-17 15:27:11 +02:00
Nick Perez
5333119b8c
chore: rebuild pjson (#5513) 2024-08-17 13:21:38 +02:00
Nick Perez
bd34793a43
fix: update pm versions (#5488)
Co-authored-by: bdbch <6538827+bdbch@users.noreply.github.com>
2024-08-17 00:16:42 +02:00
github-actions[bot]
ae6cb9d175
chore(release): release version 2.6.4 (#5497) 2024-08-15 10:45:14 +02:00
Nick Perez
593f1070a8
fix(link): respect custom protocols #5468 (#5470)
When [we fixed a XSS vuln](https://github.com/ueberdosis/tiptap/pull/5160), we inadvertently broke the ability to use custom protocols, this resolves that by allowing additional custom protocols to be considered valid and not stripped out
2024-08-15 08:57:59 +02:00
Nick Perez
6a0f4f30f8
fix(react): attempt to cleanup editor instances, on creation #5492 (#5496)
The core of the change ended up being quite simple, because we can create the editor within the first render, we need to already schedule it's destruction.
Scheduling a destruction, ensures that an instance that was created in that first render pass can be cleaned up.
Waiting one more tick than before ensures that we don't accidentally destroy an editor instance that could actually be valid in the next render pass.

In StrictMode, there will be two editor instances created, the first will be created & quickly destroyed in 2 ticks.
In Normal React, there will only ever be 1 instance created and destroyed only on unmount.
2024-08-15 08:55:42 +02:00
github-actions[bot]
3f5dbbbaad
chore(release): release version v2.6.3 (#5484) 2024-08-14 20:52:53 +02:00
Mark Hemmings
c36e4c3afc
fix: Use undefined for type attribute default (#5491) 2024-08-14 20:50:11 +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
Nick the Sick
d4d99e8ad3
fix(react): the editor passed into EditorContent can be null 2024-08-13 18:19:03 +02:00
Nick the Sick
6d1621c513
chore: rm redundant export 2024-08-13 13:22:27 +02:00
github-actions[bot]
d137c3181f
chore(release): release version 2.6.1 (#5480) 2024-08-13 12:49:49 +02:00
Nick Perez
a42692e479
fix(react): update typescript types to be backwards-compatible (#5479) 2024-08-13 12:47:04 +02:00
Nick the Sick
b30462a2c6
chore: depend on @tiptap/pm #3746 2024-08-13 10:24:43 +02:00
Nick the Sick
c02da54e3f
chore: package-lock 2024-08-13 10:23:54 +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
af529f9860
chore: name as patch 2024-08-13 08:52:08 +02:00
dependabot[bot]
ef304e3fba
build(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#5471)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.5...v4.3.6)

---
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-08-12 15:22:09 +02:00
Nick the Sick
a3ceec79e8
chore: resolve to root dir 2024-08-12 14:23:11 +02:00
Nick the Sick
f6fc8165ba
chore: package-lock dedupe 2024-08-12 14:14:53 +02:00
Nick the Sick
5270b5c43d
chore: dedupe esbuild 2024-08-12 14:13:46 +02:00
Nick the Sick
157d9d8604
chore: pin esbuild 2024-08-12 14:06:25 +02:00
Nick the Sick
df9f6967c2
docs: fix demos resolution of y-prosemirror 2024-08-12 13:50:19 +02:00
Nick the Sick
fef96a04bb
chore: explicit dep for demos 2024-08-12 12:27:11 +02:00
Nick the Sick
ff19f241a1
chore: bump deps 2024-08-12 11:33:03 +02:00