Commit Graph

7057 Commits

Author SHA1 Message Date
bdbch
57ee25decf cloned react renderer element props to avoid side effects 2025-06-04 12:52:52 +02:00
bdbch
17a32a9078 fix: replace FunctionComponent with NamedExoticComponent for better performance in ReactNodeView 2025-06-04 12:22:12 +02:00
bdbch
8e2c65eded fix: update ref type in ReactNodeView to be generic 2025-06-04 12:20:24 +02:00
bdbch
5809047255 remove unused 'node' property from ReactNodeViewProps type definition 2025-06-04 12:19:30 +02:00
bdbch
812fb80b74 enhance ReactRenderer for React 19 compatibility and improve ref handling 2025-06-04 12:06:05 +02:00
bdbch
3f69600be5 remove optionalDependencies and move react deps to peerDependencies 2025-06-04 10:56:01 +02:00
bdbch
253f4c465e update package.json 2025-06-03 17:52:32 +02:00
bdbch
5ab42f9006 upgrade dev dependencies 2025-06-03 17:24:14 +02:00
bdbch
f13a6902ec updated lockfile 2025-06-03 14:29:45 +02:00
bdbch
746071751c upgrade dev dependencies for react 2025-06-03 12:37:17 +02:00
bdbch
760c289b7c fix react renderer not passing ref prop 2025-06-03 11:12:08 +02:00
bdbch
05974639a7 use partial imports instead of importing the whole React library 2025-06-03 11:06:19 +02:00
bdbch
548e854d54
Update packages/react/src/ReactRenderer.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-03 09:47:19 +02:00
bdbch
8e36231af4 added changeset 2025-06-03 09:39:00 +02:00
bdbch
53b6d492a5 add support for react 19 ref props 2025-06-03 09:37:57 +02:00
bdbch
4f498944b5
Fix happy-dom overwriting NodeJS process variable (#6384)
* added safe window and parser functions to avoid overwriting global process

* changeset

* add correct typing for doc

* create wrapper function to restore node internals

* Update packages/html/src/createSafeWindow.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/html/src/createSafeParser.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/html/src/preserveAndRestoreNodeInternals.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* make window and dom parser local variables and avoid variable shadowing

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-26 10:29:33 +02:00
Arnau Gómez Farell
a84ec2a08e
Merge pull request #6374 from ueberdosis/fix/run-lint-fix-command
Apply Prettier and ESLint automatic fixes
2025-05-22 13:22:35 +02:00
Arnau Gómez Farell
2bd5b987eb
fix: apply prettier and eslint automatic fixes 2025-05-20 15:01:15 +02:00
Arnau Gómez Farell
a98fcaa8dd
Merge pull request #6371 from ueberdosis/fix/fix-eslint-issues-on-lint-fix-command
Do not log all files when you run the lint:fix command
2025-05-20 14:03:40 +02:00
Arnau Gómez Farell
4c03acf68a
fix: fix eslint issues when you run lint:fix command 2025-05-19 15:19:50 +02:00
Tada Sayuri
2ea0475518
Allow setting HTML tags other than <span> for "as" in MarkViewContent (#6346)
* fix: Allow setting HTML tags other than <span> for "as" in MarkView

* Create quiet-falcons-study.md
2025-05-13 17:30:41 +02:00
github-actions[bot]
7147fdd970
chore(release): publish a new pre-release version (beta) (#6327)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-07 22:59:55 +02:00
bdbch
8c690025c5
sync develop with main (#6330)
* sync develop with main

* added changesets
2025-05-07 20:17:54 +02:00
Arnau Gómez Farell
e28aacb736
Merge pull request #6326 from ueberdosis/feature/update-prosemirror-changeset-next
Update prosemirror-changeset package to support token encoders
2025-05-06 13:17:30 +02:00
Arnau Gómez Farell
62b0877d98
feat: update prosemirror-changeset package to support token encoders 2025-05-06 12:23:55 +02:00
bdbch
34001a55e4 update pkg-pr-new step 2025-05-05 18:33:38 +02:00
bdbch
1ae247f505 fix tests 2025-05-05 18:12:54 +02:00
bdbch
4d52b8adaa Merge branch 'next' of github.com:ueberdosis/tiptap into next 2025-04-30 19:44:50 +02:00
github-actions[bot]
b64ae7f9b6
chore(release): publish a new pre-release version (beta) (#6294)
Some checks failed
build / build (20) (push) Has been cancelled
build / test (20, map[name:Demos/Commands spec:./demos/src/Commands/**/*.spec.{js,ts}]) (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
build / release (20) (push) Has been cancelled
Publish / Release (20) (push) Has been cancelled
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-30 18:38:26 +02:00
bdbch
f43b2e5b34 add changeset 2025-04-30 18:36:05 +02:00
bdbch
f51dd2c68d Merge branch 'next' of github.com:ueberdosis/tiptap into next 2025-04-30 18:35:17 +02:00
bdbch
c28c77cc2d
upgrade y-prosemirror (#6313) 2025-04-30 18:35:03 +02:00
bdbch
87962aad23 use correct changeset 2025-04-30 03:28:14 +02:00
zzxming
55c78d6256 feat(text-align): add toggle command (#6101)
* feat(text-align): add toggle command

* docs: changeset

* Update .changeset/spotty-cobras-shake.md

---------

Co-authored-by: bdbch <6538827+bdbch@users.noreply.github.com>
2025-04-30 03:11:15 +02:00
dependabot[bot]
f6f9039dba build(deps-dev): bump vite from 5.4.15 to 5.4.17 (#6240)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.15 to 5.4.17.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.17
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-30 03:05:50 +02:00
Nick Perez
9f207a63d2 fix(core): allow unregistering multiple plugins (#6299) 2025-04-30 03:02:00 +02:00
Arnau Gómez Farell
5729cf4223
Merge pull request #6300 from ueberdosis/feature/mention-multiple-trigger
Multiple triggers on mention component
2025-04-29 10:56:59 +02:00
Arnau Gómez Farell
40d2f3b0aa
fix: access the correct value of extension storage inside the renderText method. 2025-04-28 17:38:56 +02:00
Arnau Gómez Farell
b06d6b1c0b
test: mention demo e2e tests 2025-04-28 17:17:13 +02:00
Arnau Gómez Farell
3bf61278ec
feat: add explanation comments 2025-04-25 16:00:24 +02:00
Arnau Gómez Farell
e639bf6379
fix: add suggestion char property to make test pass 2025-04-25 12:56:25 +02:00
Arnau Gómez Farell
68034abc08
chore: changeset 2025-04-25 12:47:41 +02:00
Arnau Gómez Farell
c99dbf5ac4
feat: move multimention demo to examples folder 2025-04-25 12:36:44 +02:00
Arnau Gómez Farell
b17fcf09fd
feat: improve multiple triggers demo content to show multiple triggers 2025-04-25 12:35:24 +02:00
Arnau Gómez Farell
78dc9de279
refactor: simplify code and extract utility function 2025-04-25 12:20:05 +02:00
Arnau Gómez Farell
c04e019f6b
feat: support multiple triggers in Mention extension 2025-04-25 11:25:48 +02:00
Dominik Biedebach
df3d999a8a Merge branch 'next' of github.com:ueberdosis/tiptap into next 2025-04-23 15:47:09 +02:00
bdbch
7a37765965
Fix invalid editor.isDestroyed value (#6295)
* fixed infinite-loop because editor.isDestroyed would return invalid return

* actually return correct value as true - as when the editorView is not available the view is always destroyed

* fix dumb idea, actually use ?? operator

* remove log
2025-04-23 15:46:47 +02:00
Dominik Biedebach
631b0cc90f fixed infinite-loop because editor.isDestroyed would return invalid return 2025-04-23 15:37:49 +02:00
Dominik Biedebach
b70c4531dc Revert "Fix broken React unmount because of non-existing view on unmount (#6284)"
This reverts commit 3aa670a788.
2025-04-23 15:16:16 +02:00