Commit Graph

5712 Commits

Author SHA1 Message Date
svenadlung
62d42275c5 docs: remove sponsor box 2022-12-23 00:12:46 +01:00
svenadlung
2399a9c2ca docs: improve peer dependency hints 2022-12-23 00:00:57 +01:00
svenadlung
c519716720 docs: improve texts 2022-12-22 23:18:29 +01:00
svenadlung
96fce8a2fc docs: fix text 2022-12-22 23:17:37 +01:00
svenadlung
e367d5ecfc docs: explain peer dependencies 2022-12-22 23:15:57 +01:00
svenadlung
b05433272c docs: refactor installation docs 2022-12-22 22:46:43 +01:00
Martin Kriegeskorte
e82eacfee0 docs: fix typo in job description 2022-12-22 18:05:09 +01:00
Martin Kriegeskorte
a044c83434 docs: add job IllumIDesk 2022-12-22 17:48:12 +01:00
svenadlung
7fd639796f update sandboxes 2022-12-21 13:11:39 +01:00
Dominik Biedebach
8da85c8901 v2.0.0-beta.209 2022-12-16 13:44:12 +01:00
Dominik Biedebach
72d9fbf7bf 2.0.0-beta.208 2022-12-16 12:52:17 +01:00
Dominik Biedebach
13d46a00ce Merge branch 'main' of github.com:ueberdosis/tiptap 2022-12-16 12:48:06 +01:00
Tova Schreier
f3f36754f9
Custom text serializers should override text serializers defined in the schema (#3546) 2022-12-16 12:47:03 +01:00
Dominik Biedebach
10861a27d8 Merge branch 'main' of github.com:ueberdosis/tiptap 2022-12-16 12:07:23 +01:00
Martin Kriegeskorte
312866044a docs: inject collaboration rooms in build process 2022-12-14 11:59:38 +01:00
Martin Kriegeskorte
14b166e7e8 docs: rotate rooms 2022-12-13 16:57:25 +01:00
Dominik Biedebach
6b61955ff2 v2.0.0-beta.207 2022-12-08 17:25:53 +01:00
Dominik Biedebach
c187e0e258 fix(extension-table): add prosemirror-tables to peerDependencies 2022-12-08 17:24:07 +01:00
Dominik Biedebach
5380758365 docs: add installation notes to extensions 2022-12-08 12:26:12 +01:00
Dominik Biedebach
898c74f7bf docs: remove unnecessary text in docs 2022-12-08 12:23:58 +01:00
Dominik Biedebach
3905a2627d docs: add note about starter-kit dependencies 2022-12-08 12:23:01 +01:00
Dominik Biedebach
347e7be175 docs(docs): update formatting on installation guide 2022-12-08 11:59:18 +01:00
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