Commit Graph

6720 Commits

Author SHA1 Message Date
Nick Perez
6d0518d418
fix: update zeed-dom version for style support #5352 (#5640) 2024-09-23 11:19:49 +02:00
Nick the Sick
7dc7fd5823
chore: bump versions in package-lock 2024-09-23 09:44:18 +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
dependabot[bot]
d24adeb1ee
build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (#5581)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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-09-17 15:53:33 +02:00
dependabot[bot]
61137fbc04
build(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0 (#5582)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  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-09-17 15:53:16 +02:00
dependabot[bot]
f6184ced62
build(deps): bump cypress-io/github-action from 6.7.2 to 6.7.6 (#5603)
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.7.2 to 6.7.6.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/v6.7.2...v6.7.6)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  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-09-17 15:52:59 +02:00
dependabot[bot]
cf443630cf
build(deps-dev): bump svelte from 4.2.18 to 4.2.19 (#5571)
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 4.2.18 to 4.2.19.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte@4.2.19/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.19/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 15:52:41 +02:00
dependabot[bot]
d4a027fca1
build(deps-dev): bump webpack from 5.93.0 to 5.94.0 (#5572)
Bumps [webpack](https://github.com/webpack/webpack) from 5.93.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.93.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 15:52:24 +02:00
dependabot[bot]
b1c2c323f9
build(deps): bump micromatch and lint-staged (#5628)
Bumps [micromatch](https://github.com/micromatch/micromatch) to 4.0.8 and updates ancestor dependency [lint-staged](https://github.com/lint-staged/lint-staged). These dependencies need to be updated together.


Updates `micromatch` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

Updates `lint-staged` from 13.3.0 to 15.2.10
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v13.3.0...v15.2.10)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
- dependency-name: lint-staged
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 15:52:02 +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
4bfbc9b3d6
revert: "revert: "build: don't bump major when you don't have to""
This reverts commit d347724c02.
2024-09-17 09:26:11 +02:00
Nick the Sick
d347724c02
revert: "build: don't bump major when you don't have to"
This reverts commit cf2067906f.
2024-09-16 06:34:15 +02:00
Nick the Sick
2845b85964
chore: ready for stable release 2024-09-16 06:25:31 +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
cf2067906f
build: don't bump major when you don't have to 2024-08-27 15:16:44 +02:00
Nick the Sick
5d19e427e9
chore(release): release 2.7.0-pre.0 2024-08-27 15:09:30 +02:00
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