Commit Graph

576 Commits

Author SHA1 Message Date
Nick the Sick
165d7c5278 feat(demo): add accessibility demo 2024-11-19 03:30:17 +01:00
Nick the Sick
f7453a3292
Merge branch 'develop' into next
Some checks failed
build / lint (20) (push) Has been cancelled
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Has been cancelled
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Has been cancelled
Publish / Release (20) (push) Has been cancelled
build / build (20) (push) Has been cancelled
2024-11-11 14:26:08 +01:00
Nick the Sick
90dfd46a44
test: update react tests 2024-11-11 14:15:55 +01:00
Nick the Sick
564a6b3d24
test: update tests 2024-11-11 13:44:44 +01:00
Nick the Sick
e6ce7b621d
fix: make useEditorState run before layout 2024-11-11 13:33:14 +01:00
Nick the Sick
05e1755d10
test: cleanup tests 2024-11-11 13:31:32 +01:00
Nick the Sick
fea61ffe91
test: update demos for tests to pass 2024-11-11 12:36:38 +01:00
Nick Perez
62c6dddf80
fix(link): add backwards compat by deprecating validate and using isAllowedUri instead (#5812) 2024-11-07 13:18:01 +01:00
Éric Le Maître
94a8d258f8
fix(vue-3): on editor destruction, transition smoothly (#5772) 2024-11-07 09:19:46 +01:00
Armando Guarino
585f6ef77e test: improve url parsing logic 2024-11-06 15:08:30 +01:00
Armando Guarino
035862b698 refactor: update tests url checking logic and comments 2024-11-06 14:11: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
ad7ea1a072
Merge branch 'develop' into next 2024-11-01 16:30:54 +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
Armando Guarino
6b2df67219
fix: add zero-width space to resolve cursor selection issue (#5774) 2024-10-28 14:19:25 +01: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
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
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
Nick the Sick
bfcf6d94e8
test: use id for tests 2024-10-18 16:36:11 +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
Jaap van Hoek
21df331b60
fix(table): respect resizeable columns colwidths (#4955) 2024-10-04 14:17:08 +02:00
github-actions[bot]
5d9b8d0907
chore(release): release version 2.8.0 (#5669) 2024-09-30 16:46:03 +02:00
Nick the Sick
d1870cad64
Merge "develop" into branch "next" 2024-09-26 15:18:18 +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
bdbch
12bb31a099
Fix/insert content at block insertions (#5651)
* fix(core): dont split text nodes when insert block nodes at start of text

* chore: added changeset

* removed duplicated logic from horizontal rule
2024-09-26 14:44:49 +02:00
dependabot[bot]
1bad8f8c95
build(deps-dev): bump vite from 5.4.1 to 5.4.6 (#5629)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.1 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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-25 14:07:59 +02:00
Nick the Sick
14afcadd7b
Merge branch 'develop' into next 2024-09-24 22:31:49 +02:00
Sven Adlung
cbe06d12db
fix(vue-3): late-registering plugins #5259 (#5616) 2024-09-18 14:46:45 +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
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
Ricardo Amaral
88e310b144
fix(core): handle macOS text expansion properly in InputRules (#5261) 2024-08-22 12:34:27 +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 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]
a07eea26ea
chore(release): release new pre-release version v3.0.0-next.1 (#5456) 2024-08-14 18:35:35 +02:00
Nick the Sick
06ffa88cf6
Merge branch 'develop' into next 2024-08-14 18:00:55 +02:00
Nick the Sick
a3ceec79e8
chore: resolve to root dir 2024-08-12 14:23:11 +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
Nick the Sick
2c6590b3d4
fix: update docs and add tests for collaboration and priority docs 2024-08-12 11:14:41 +02:00
Nick the Sick
fa17c2374f
chore: update deps to bundle 2024-08-12 10:59:50 +02:00
Nick the Sick
0fa9e1a4b0
Merge branch 'develop' into next 2024-08-07 06:26:41 +02:00
github-actions[bot]
535dcccb40
chore(release): publish version v2.5.9 (#5451)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-06 17:03:26 +02:00
Nick the Sick
273e18bd87
Merge branch 'main' into develop 2024-08-06 16:37:34 +02:00
Nick Perez
d6e56c41e3
fix(extension-code-block-lowlight): use lowlight v3 and update demos (#5374) 2024-08-06 13:53:58 +02:00