Commit Graph

5590 Commits

Author SHA1 Message Date
Dominik Biedebach
51d1f719e1 2.0.0-beta.206 2022-12-08 11:55:29 +01:00
Dominik Biedebach
ad2af7fcda chore: change release from tag to release 2022-12-08 11:51:14 +01:00
dependabot[bot]
dae54a06c7
build(deps): bump minimatch from 3.0.4 to 3.1.2 in /demos (#3489)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 11:50:12 +01:00
Dominik Biedebach
dae0ba26f7 docs(docs): add new installation notes for peerDependencies 2022-12-08 11:49:22 +01:00
Jaga Santagostino
736f2e9510
Update menus.md (#3457) 2022-12-07 00:47:18 +01:00
Gustavo Rocha
14fb467bc8
Check if url exists (#3484) 2022-12-07 00:46:28 +01:00
Sven Adlung
8b854b67a4
refactor(extension-youtube): rename utility function name (#3498) 2022-12-07 00:45:51 +01:00
Sven Adlung
e9d9d88511
fix(extension-bubble-menu): don't debounce without valid selection (#3501) 2022-12-07 00:45:31 +01:00
Dominik Biedebach
5682d04f3e v2.0.0-beta.205 2022-12-05 09:14:57 +01:00
Jan Thurau
30e799c67f
Moves all prosemirror deps to peerDependencies & devDependencies (for package development) (#3487) 2022-12-05 09:13:53 +01:00
Patrick Baber
a41aa1f6e1
Merge pull request #3475 from ueberdosis/feature/change-rooms-in-collab-demo
docs: rotate demo rooms
2022-11-29 10:00:46 +01:00
Patrick Baber
6b378306f8 docs: rotate demo rooms 2022-11-29 09:43:07 +01:00
Dominik
343ce756a8
feat(commands): add joinUp and joinDown command (#3455) 2022-11-25 20:37:25 +01:00
Jonas Thelemann
1c3568dcd9
fix(link): allow to unset target attribute (#3425)
Resolves #3276.
2022-11-25 16:48:28 +01:00
Dominik
ef8a1a2f3d
fix(core): implement deleteCurrentNode command & fix node joining on Delete key (#3192)
* fix(core): 🐛 fix delete on empty nodes joining next node incorrectly

This PR implements a "deleteCurrentNode" action in combination with registering this command inside the keymap for the delete key. This way, we editor will check, if the current node is empty before joining - if the current node is empty, the node will be removed. Joining will still work if the current node is not empty and the selection is at the end of the current node

2924

* refactor(core): ♻️ remove unnecessary return on handleDelete keymap
2022-11-25 16:42:13 +01:00
Dominik Biedebach
28d436ffbd v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
Dominik Biedebach
c1a0c3ae43 fix(core): rename esm modules to esm.js 2022-11-25 15:26:42 +01:00
Rui Serra
369f109fc7
Fix cursor not following to new node when using a react node view (#3331)
* Refactor: extract `setRenderer` and `removeRenderer` methods

* Refactor: avoid using a mutable ES6 Map in React component state

The React docs recommend treating the `state` as immutable. See e.g.:
https://reactjs.org/docs/react-component.html#state

* Fix: flush EditorContent state changes immediately once initialized

This fixes the cursor problem described in tiptap#3200

Node views need to be rendered immediately when they're created so that
the editor can correctly position the cursor. That's achieved using
`flushSync` whenever a new node view renderer is added.

However, `flushSync` cannot be used from inside a React component
lifecycle method.

By keeping an instance variable to determine if initialization has
happened, we can avoid using `flushSync` from inside the `componentDidMount`
and `componentDidUpdate` methods, and still call it whenever a new node view
is created afterwards.
2022-11-25 12:01:07 +01:00
Dominik Biedebach
3d3f6f783f Merge branch 'main' of github.com:ueberdosis/tiptap into main 2022-11-25 10:39:00 +01:00
Dominik Biedebach
5150095c6b fix(tests): fix autolink validation test 2022-11-25 10:38:45 +01:00
dependabot[bot]
2c0e29a73e
build(deps): bump loader-utils from 2.0.3 to 2.0.4 (#3426)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 17:50:47 +01:00
Dominik Biedebach
4d7f05a2a7 v2.0.0-beta.203 2022-11-24 16:11:10 +01:00
tomi-bigpi
d3aeac4afa
Fix #3435 - CommonJS and ESM loading confusion (#3436)
* Fix TipTap getting loaded as CommonJS when the intent is to use the ES Module version.
* `package.json` change also makes explicit exports required
* Update `core` utilities exports to include all utilities
* Update tests to use exported utilities
2022-11-24 16:06:42 +01:00
williamsk91
ea60900459
typo: custom-extensions.md completely (#3447) 2022-11-24 14:49:17 +01:00
Dominik
31c3a9aad9
fix(extension/table): move dependency from @_ueberdosis to @tiptap (#3448) 2022-11-24 14:48:48 +01:00
Markus Krause
22cccc7f5d
Update jobs.md (#3432) 2022-11-21 11:49:23 +01:00
Martin Kriegeskorte
c155d2482d docs: rotate demo rooms 2022-11-18 15:50:36 +01:00
dependabot[bot]
9591865795
build(deps): bump loader-utils from 2.0.2 to 2.0.3 (#3395)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-13 05:43:24 +01:00
Taís Massaro
2afa8ad9eb
docs(svelte): fix link to get started with svelte (#3396)
* docs(svelte): fix link to get started with svelte

While going through the docs, I noticed the Svelte docs linked to the Vue docs on how to get started.

* docs(svelte): update sveltekit create command
2022-11-11 16:36:16 +01:00
Sven Adlung
2c1c557a8b
Merge pull request #3386 from alejandrogarciasalas/patch-1
docs: fixes typo in suggestion.ts
2022-11-07 21:49:24 +01:00
svenadlung
5fb4d98c12 Merge branch 'main' of github.com:ueberdosis/tiptap
# Conflicts:
#	README.md
2022-11-07 21:42:04 +01:00
svenadlung
b43eecfcc1 docs: fix typos 2022-11-07 21:41:00 +01:00
Alejandro García Salas
154a82a007
Update suggestion.ts
fixes typo
2022-11-04 15:18:56 -07:00
Dominik Biedebach
0c6757c01e v2.0.0-beta.202 2022-11-04 22:05:08 +01:00
Dominik Biedebach
3d04941c64 style(extension/bubble-menu): change delay option to updateDelay 2022-11-04 22:04:47 +01:00
Dominik Biedebach
e889e10e68 v2.0.0-beta.201 2022-11-04 18:23:50 +01:00
Dominik Biedebach
403b99cd1a Revert "Fixed dragged text not being deleted after drop on another editor (#3279)"
This reverts commit ac626c8e1e.
2022-11-04 18:21:12 +01:00
Mihir Shah
aca6c88f2d
fix: remove blur event listener from tippy element (#3365) (#3366) 2022-11-04 17:51:01 +01:00
dependabot[bot]
4dbdd735b6
build(deps): bump actions/cache from 3.0.8 to 3.0.11 (#3317)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.8...v3.0.11)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 17:38:00 +01:00
Rich
6181894015
Fix typos (#3328) 2022-11-04 17:33:30 +01:00
dependabot[bot]
468d9d3bc4
build(deps): bump actions/setup-node from 3.4.1 to 3.5.1 (#3318)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.4.1 to 3.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.4.1...v3.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 17:29:39 +01:00
Dominik Biedebach
4841c05c72 fix(extension-youtube): set allowFullscreen to default 2022-11-04 17:21:52 +01:00
Dominik Biedebach
5fa9be9a2c chore(docs): update documentation for youtube node 2022-11-04 16:52:09 +01:00
Dominik Biedebach
bf5812461b fix(extension-youtube): remove default options from youtube extension 2022-11-04 16:51:06 +01:00
Dominik
cd5fd606d1
refactor(extension/bubble-menu): add debounce to bubble menu updates (#3385)
* refactor(extension/bubble-menu): add debounce to bubble menu updates

* fix: change default duration in react bubble menu demo
2022-11-04 16:39:41 +01:00
dependabot[bot]
1f549c0773
build(deps): bump parse-url from 7.0.2 to 8.1.0 (#3384)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 7.0.2 to 8.1.0.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/compare/7.0.2...8.1.0)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 16:00:49 +01:00
Dominik Biedebach
cd78f1d863 v2.0.0-beta.200 2022-11-04 12:33:51 +01:00
Dominik Biedebach
b38c9eb139 fix(suggestion): revert #3239 2022-11-04 12:32:01 +01:00
Cameron Hessler
6e5d19f65d
fix(extension-placeholder) Fix perf issue w/empty nodes (#3361)
Co-authored-by: Cameron Hessler <cameron.hessler@buildertrend.com>
2022-11-04 00:32:21 +01:00
François Robichet
06af8b123a
fix(docs): typo (#3362) 2022-11-04 00:28:58 +01:00