Commit Graph

6526 Commits

Author SHA1 Message Date
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
dependabot[bot]
e143fb4ca3
build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.5 (#5444)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.3...v4.3.5)

---
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-05 20:35:02 +02:00
dependabot[bot]
3f4e2808bb
build(deps): bump cypress-io/github-action from 6.7.1 to 6.7.2 (#5443)
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.7.1 to 6.7.2.
- [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.1...v6.7.2)

---
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-08-05 20:34:39 +02:00
Nick Perez
c1ff1b0d4d
fix(placeholder): add back-compat to deprecated placeholder functionality (#5409) 2024-08-05 18:09:10 +02:00
Nick Perez
7c8889a2a6
fix(react): optimize useEditor and useEditorState to reduce number of instances created while being performant #5432 (#5445) 2024-08-05 17:46:19 +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
Yuichiro Yamashita
6543f059ff
fix: allow task items to be parsed when only having <li data-checked instead of only when <li data-checked="true" (re-fix of #5366) (#5426)
* fix

* changeset
2024-08-01 00:25:29 +02:00
Rob LaFeve
0ec0af67b1
fix: use Array.from when converting Set (#5428) 2024-08-01 00:00:26 +02:00
github-actions[bot]
7d6c9399c6
chore(release): publish a new version 2.5.8 (#5408)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-30 09:13:28 +02:00
Nick the Sick
4b9d8a3346
chore: cleanup 2024-07-30 09:07:53 +02:00
Nick Perez
99d7820cbb
fix(react): always cleanup old editor instances (#5414) 2024-07-30 09:06:31 +02:00
Martin Bokša
ce141c2e69
chore(extension-table): remove unnecessary @ts-ignore, update view type (#5387) 2024-07-29 17:13:49 +02:00
Raman Paulau
f7f644f7b2
fix(vue-3): set editor's appContext.provide to forward inject chain (#5397)
Vue internally uses prototype chain to preserve injects across the entire component chain. Thus should avoid Object.assign or spread operator as it won't copy the prototype. All correct provides will be already present on `instance.provides`.
2024-07-29 17:02:15 +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
5fb71f6602
chore: package-lock 2024-07-29 08:11:35 +02:00
bdbch
44e4eca47a
Shared rollup config (#5403)
* add one shared rollup config

* rename to baseConfig
2024-07-27 12:46:39 +02:00
Rirax
940f9d5266
fix(vue-3): copy missing provided parent values (#5396)
Co-authored-by: relchapt <reynald.lechapt@getmayday.co>
2024-07-26 15:43:18 +02:00
github-actions[bot]
a1c5120a4d
chore: publish a new release version (#5375)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-26 13:58:58 +02:00
Nick the Sick
d3e88e791d
fix: emit a contentError on inserting invalid content 2024-07-26 13:44:03 +02:00
Nick the Sick
42dc27aa4b
fix(react): if using a deps array, destroy the previous instance 2024-07-26 13:34:23 +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
github-actions[bot]
52f717b3eb chore(release): publish a new release version 2024-07-24 16:58:54 +02:00
Nick Perez
8337e53167
Merge pull request #5369 from ueberdosis/develop 2024-07-24 16:49:33 +02:00
Nick the Sick
341b01d384
Merge branch 'main' into develop 2024-07-24 16:42:03 +02:00
Moch. Irfan Rafif
c7f55500ee
fix(extension-table): correctly set min-width for table (#4684) 2024-07-24 14:16:48 +02:00
Nick the Sick
5283a51931
chore: widen the typing for GlobalAttributes 2024-07-24 13:59:10 +02:00
bdbch
b5c1b32960 Update prosemirror-view & prosemirror-tables to most recent version (#5385)
* upgrade prosemirror packages to latest versions

* added changeset

* update package-lock
2024-07-24 08:16:29 +02:00
bdbch
fe1781fd63
Update prosemirror-view & prosemirror-tables to most recent version (#5385)
* upgrade prosemirror packages to latest versions

* added changeset

* update package-lock
2024-07-24 08:01:26 +02:00
Nick the Sick
9e0e167885
fix(link): use the view's editable property as the indicator instead 2024-07-23 12:21:18 +02:00
Nick Perez
c0e5398685
fix(link): do not open links twice when not editable #4877 (#5378) 2024-07-23 10:57:15 +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
hollykurt
4e5b2d89cd
fix(code-block): on arrow down move to next node (#4721) 2024-07-22 15:17:03 +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
github-actions[bot]
22cb038997
chore: release version (#5368)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-22 13:24:28 +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
a64cbf8f8a
chore: default to not creating github releases, manual for now 2024-07-19 14:35:09 +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
Yuichiro Yamashita
b47df57444
fix(extension-task-item): more flexible inputs for parsing 2024-07-18 12:37:55 +02:00
Yuichiro Yamashita
e6c759ba60
fix(extension-task-item): more flexible inputs for parsing 2024-07-18 12:31:16 +02:00
github-actions[bot]
46079c28a6
chore: publish version 2.5.4 (#5361)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-17 15:17:44 +02:00
Nick the Sick
dd7f9ac1c8
build: resolve default exports properly in cjs 2024-07-17 15:11:48 +02:00
github-actions[bot]
e1946c8623
chore(release): publish a new version (#5359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-17 13:07:59 +02:00
Matic Zavadlal
70eebfdb0c
fix(react): useEditor hook now respects deps array and will re-initialize editor (#5353) 2024-07-17 13:04:39 +02:00
Nick the Sick
a473826eb1
chore: add changeset 2024-07-17 13:03:31 +02:00
Nick the Sick
a2cce1f486
fix: backwards compat for whenNotEditable openOnClick option 2024-07-17 12:56:08 +02:00