Commit Graph

6220 Commits

Author SHA1 Message Date
N0N1m3
3a04d9e4b5
fix(typo): typescript.md (#3657)
Add a forgotten quotation mark in the import and specify the language in md code block
2023-01-26 15:47:14 +01:00
Dominik Biedebach
9d43ced11d chore: add prettier 2023-01-25 15:51:36 +01:00
Dominik
e46f8e3334
Change Build Process to Lerna + tsup & prepare for prosemirror-meta package (#3555)
* chore:(core): migrate to tsup

* chore: migrate blockquote and bold to tsup

* chore: migrated bubble-menu and bullet-list to tsup

* chore: migrated more packages to tsup

* chore: migrate code and character extensions to tsup

* chore: update package.json to simplify build for all packages

* chore: move all packages to tsup as a build process

* chore: change ci build task

* chore: clean up and fix issues related to new build

* fix: fix demo build

* fix: fix demo build

* fix: fix tsconfig files to reference only one source

* fix: fix minor ts issues
2023-01-25 10:19:51 +01:00
Martin Kriegeskorte
cf47b2b08b docs: remove early access hint 2023-01-20 15:53:54 +01:00
Zaymon Antonio
acf833abec
🧹 Allow editor.setEditable to omit updates (#3301)
* 🧹 Allow `editor.setEditable` to omit updates

* 📚 Document change to `editor.setEditable`
2023-01-20 09:55:28 +01:00
Au
acca921184
Update sink-list-item.md (#3629)
correct text copy
2023-01-19 10:36:53 +01:00
Martin Kriegeskorte
7dc92014fd docs: update hocuspocus hints 2023-01-18 16:13:27 +01:00
Martin Kriegeskorte
69e24da87d docs: about & collab 2023-01-18 15:34:19 +01:00
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