Commit Graph

5434 Commits

Author SHA1 Message Date
svenadlung
0622f974be docs: youtube 2022-07-06 13:37:27 +02:00
svenadlung
0aac50e4e1 Merge branch 'main' of github.com:ueberdosis/tiptap 2022-07-06 13:20:48 +02:00
svenadlung
599b8cc014 docs: move youtube documentation to nodes 2022-07-06 13:20:33 +02:00
Dominik
134a4bd1fb
fix(core): dont use selection for setContent replacement (#2934) 2022-07-06 12:59:16 +02:00
ahhshm
8bc3986f17
chore: lint only staged files (#2957) 2022-07-06 12:59:02 +02:00
Sven Adlung
e280a02597
fix(core): only respect text of node before current position (#2937) (#2941) 2022-07-06 12:01:23 +02:00
dependabot[bot]
110b5daf0d
build(deps): bump parse-url from 6.0.0 to 6.0.2 (#2961)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 11:58:35 +02:00
svenadlung
9e843539e0 docs: link youtube extension in docs 2022-07-04 13:57:16 +02:00
svenadlung
e63b987bb8 Revert "update package-lock.json"
This reverts commit bbf0803a77.
2022-07-04 13:50:49 +02:00
Dominik Biedebach
bbf0803a77 update package-lock.json 2022-06-27 14:25:46 +02:00
Philipp Kühn
090c5a4456 Publish
- @tiptap/core@2.0.0-beta.181
 - @tiptap/extension-bubble-menu@2.0.0-beta.61
 - @tiptap/extension-character-count@2.0.0-beta.31
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.73
 - @tiptap/extension-code-block@2.0.0-beta.42
 - @tiptap/extension-collaboration@2.0.0-beta.38
 - @tiptap/extension-dropcursor@2.0.0-beta.29
 - @tiptap/extension-floating-menu@2.0.0-beta.56
 - @tiptap/extension-focus@2.0.0-beta.45
 - @tiptap/extension-gapcursor@2.0.0-beta.39
 - @tiptap/extension-history@2.0.0-beta.26
 - @tiptap/extension-horizontal-rule@2.0.0-beta.36
 - @tiptap/extension-link@2.0.0-beta.43
 - @tiptap/extension-mention@2.0.0-beta.102
 - @tiptap/extension-placeholder@2.0.0-beta.53
 - @tiptap/extension-table@2.0.0-beta.54
 - @tiptap/extension-task-item@2.0.0-beta.37
 - @tiptap/extension-youtube@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.180
 - @tiptap/react@2.0.0-beta.114
 - @tiptap/starter-kit@2.0.0-beta.190
 - @tiptap/suggestion@2.0.0-beta.97
 - @tiptap/vue-2@2.0.0-beta.84
 - @tiptap/vue-3@2.0.0-beta.96
2022-06-27 10:50:35 +02:00
Dominik Biedebach
163de4e187 fix(extension/mention): collapse selection to end after suggestion insertion to fix chrome selection issue with mouse 2022-06-27 07:50:57 +02:00
Dominik Biedebach
b2bd909eaa chore: update prosemirror-state and prosemirror-view 2022-06-26 11:43:20 +02:00
Dominik Biedebach
5b0b7d9102 fix(core): fix focus command passing through editor state instead of existing transaction
this fixes a bug introduced a few months ago that caused positions not resolving on the most recent transaction but the editor state that was existing before the last transactions beforehand existed causing the editor to crash
2022-06-26 09:53:45 +02:00
Dominik Biedebach
15123ee092 feat(core): add nodePasteRule to core 2022-06-25 12:07:33 +02:00
Dominik Biedebach
ec595ff803 feat(extension/youtube): add paste handlers for youtube extension 2022-06-25 11:16:17 +02:00
Chris Chapman
3bbbf493a9
docs: fix livewire attribute (#2928)
The `->wire('...')` alone will output the entire attribute string. We only want
the `->value()` portion.
2022-06-25 05:55:55 +02:00
Dominik Biedebach
9e5e7d3057 style: remove stray console.log from svelte demo 2022-06-24 18:32:38 +02:00
Dominik Biedebach
e0b13a5125 chore(demos): added svelte default demo 2022-06-24 18:31:39 +02:00
SavKS
8e65c20815
Fix state update after component unmounted (#2857)
Co-authored-by: Andrii Savluk <a.savluk@ideil.com>
2022-06-24 17:46:54 +02:00
Dominik Biedebach
e4a81c1460 chore: sync package-lock.json 2022-06-24 14:44:33 +02:00
Dominik Biedebach
3d3d78ce1c chore: move from @_bdbch to @_ueberdosis scope 2022-06-24 14:43:21 +02:00
Dominik Biedebach
ff45eabf04 chore: add action to auto add prs to project board 2022-06-24 13:29:36 +02:00
Dominik Biedebach
5ca2c386df chore: add issues action to move new issues to project board 2022-06-24 13:26:58 +02:00
Dominik Biedebach
d24baf6811 dchore(tests): disable hanging tests temporarily 2022-06-24 12:10:03 +02:00
Dominik Biedebach
e85ad0a9ae dchore(tests): disable hanging tests temporarily 2022-06-24 11:15:37 +02:00
YoungChou
6674e69b12
fix: editor don't has contentComponent attribute when suggestion onUpdate (#2916)
Co-authored-by: 周洋 <yang.zhou02@mihoyo.com>
2022-06-23 16:19:32 +02:00
Dominik Biedebach
940c00abb8 chore: remove package-lock for extension-table 2022-06-23 09:12:48 +02:00
Dominik Biedebach
eb92597603 fix(maintainment): fix cjs issues with prosemirror-tables 2022-06-23 09:11:27 +02:00
Ricardo Amaral
482cb960d6
feat: Allow multiple prefix characters to trigger a suggestion (#2896)
* feat: Allow multiple prefix characters to trigger a suggestion

* review: Turn `allowedPrefixes` into an array instead
2022-06-21 23:17:26 +02:00
Dominik
53e39d0c47
refactor(maintainment): set dependency versions for prosemirror and y… (#2904)
* refactor(maintainment): set dependency versions for prosemirror and yjs to fixed versions

* refactor(docs): fix dependency versions in demos

* chore: update package-lock.json

* chore: update latest prosemirror packages
2022-06-21 00:17:10 +02:00
Dominik Biedebach
39a20123ab fix: fix mention and suggestion package dependencies 2022-06-20 23:19:13 +02:00
Shaun Tan
8a5b3cf67a
Prevent overriding 'whiteSpace' styling for NodeView React components (#2884)
Fixes ueberdosis/tiptap#2883
2022-06-20 19:41:33 +02:00
Sven Adlung
d9430e5163
docs: improve docs for youtube extension (#2902)
* docs: improve docs for youtube extension

* docs: improve docs for youtube extension

Co-authored-by: Dominik Biedebach <dominik@bdbch.com>
2022-06-20 19:20:41 +02:00
Dominik Biedebach
3408766e72 docs(docs): move youtube demo 2022-06-20 19:04:39 +02:00
Dominik Biedebach
90dedbeabc docs: move youtube documentation into examples instead of experiments 2022-06-20 19:01:14 +02:00
Philipp Kühn
a1e612bf89 Publish
- @tiptap/core@2.0.0-beta.180
 - @tiptap/extension-bubble-menu@2.0.0-beta.60
 - @tiptap/extension-character-count@2.0.0-beta.30
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.72
 - @tiptap/extension-code-block@2.0.0-beta.41
 - @tiptap/extension-collaboration@2.0.0-beta.37
 - @tiptap/extension-dropcursor@2.0.0-beta.28
 - @tiptap/extension-floating-menu@2.0.0-beta.55
 - @tiptap/extension-focus@2.0.0-beta.44
 - @tiptap/extension-gapcursor@2.0.0-beta.38
 - @tiptap/extension-history@2.0.0-beta.25
 - @tiptap/extension-horizontal-rule@2.0.0-beta.35
 - @tiptap/extension-link@2.0.0-beta.42
 - @tiptap/extension-mention@2.0.0-beta.101
 - @tiptap/extension-placeholder@2.0.0-beta.52
 - @tiptap/extension-subscript@2.0.0-beta.13
 - @tiptap/extension-superscript@2.0.0-beta.13
 - @tiptap/extension-table@2.0.0-beta.53
 - @tiptap/extension-task-item@2.0.0-beta.36
 - @tiptap/extension-youtube@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.179
 - @tiptap/react@2.0.0-beta.113
 - @tiptap/starter-kit@2.0.0-beta.189
 - @tiptap/suggestion@2.0.0-beta.96
 - @tiptap/vue-2@2.0.0-beta.83
 - @tiptap/vue-3@2.0.0-beta.95
2022-06-20 13:22:53 +02:00
Dominik
1ebc8f8e14
chore: migrate to new versions of prosemirror packages (#2854)
* refactor: upgrade prosemirror packages to new typescript versions

* refactor: migrate to new typings from prosemirror

* style: fix linting issues

* style: fix linting issues

* style: fix linting issues

* fix(ci): fix build process by reimplement filterTransaction

* fix(extension-test): fix broken build because of wrong output file names

* fix: fix prosemirror-tables not being bundled correctly for ES6

* fix: move to prosemirror-tables-contently until es6 build is working

* fix: fix tests for youtube

* fix: fix youtube test

* fix(demos): fix demos build
2022-06-20 11:45:37 +02:00
dependabot[bot]
2fa2c22e6f
build(deps): bump actions/setup-node from 3.2.0 to 3.3.0 (#2878)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.2.0...v3.3.0)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-19 04:06:42 +02:00
dependabot[bot]
cb452007fc
build(deps): bump actions/cache from 3.0.3 to 3.0.4 (#2877)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.3 to 3.0.4.
- [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.3...v3.0.4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2022-06-19 04:06:32 +02:00
Philipp Kühn
591c0807a2 Publish
- @tiptap/core@2.0.0-beta.179
 - @tiptap/extension-blockquote@2.0.0-beta.29
 - @tiptap/extension-bold@2.0.0-beta.28
 - @tiptap/extension-bubble-menu@2.0.0-beta.59
 - @tiptap/extension-bullet-list@2.0.0-beta.29
 - @tiptap/extension-character-count@2.0.0-beta.29
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.71
 - @tiptap/extension-code-block@2.0.0-beta.40
 - @tiptap/extension-code@2.0.0-beta.28
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.37
 - @tiptap/extension-collaboration@2.0.0-beta.36
 - @tiptap/extension-color@2.0.0-beta.12
 - @tiptap/extension-document@2.0.0-beta.17
 - @tiptap/extension-dropcursor@2.0.0-beta.27
 - @tiptap/extension-floating-menu@2.0.0-beta.54
 - @tiptap/extension-focus@2.0.0-beta.43
 - @tiptap/extension-font-family@2.0.0-beta.24
 - @tiptap/extension-gapcursor@2.0.0-beta.37
 - @tiptap/extension-hard-break@2.0.0-beta.33
 - @tiptap/extension-heading@2.0.0-beta.29
 - @tiptap/extension-highlight@2.0.0-beta.35
 - @tiptap/extension-history@2.0.0-beta.24
 - @tiptap/extension-horizontal-rule@2.0.0-beta.34
 - @tiptap/extension-image@2.0.0-beta.30
 - @tiptap/extension-italic@2.0.0-beta.28
 - @tiptap/extension-link@2.0.0-beta.41
 - @tiptap/extension-list-item@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.100
 - @tiptap/extension-ordered-list@2.0.0-beta.30
 - @tiptap/extension-paragraph@2.0.0-beta.26
 - @tiptap/extension-placeholder@2.0.0-beta.51
 - @tiptap/extension-strike@2.0.0-beta.29
 - @tiptap/extension-subscript@2.0.0-beta.12
 - @tiptap/extension-superscript@2.0.0-beta.12
 - @tiptap/extension-table-cell@2.0.0-beta.23
 - @tiptap/extension-table-header@2.0.0-beta.25
 - @tiptap/extension-table-row@2.0.0-beta.22
 - @tiptap/extension-table@2.0.0-beta.52
 - @tiptap/extension-task-item@2.0.0-beta.35
 - @tiptap/extension-task-list@2.0.0-beta.29
 - @tiptap/extension-text-align@2.0.0-beta.31
 - @tiptap/extension-text-style@2.0.0-beta.26
 - @tiptap/extension-text@2.0.0-beta.17
 - @tiptap/extension-typography@2.0.0-beta.22
 - @tiptap/extension-underline@2.0.0-beta.25
 - @tiptap/extension-youtube@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.178
 - @tiptap/react@2.0.0-beta.112
 - @tiptap/starter-kit@2.0.0-beta.188
 - @tiptap/suggestion@2.0.0-beta.95
 - @tiptap/vue-2@2.0.0-beta.82
 - @tiptap/vue-3@2.0.0-beta.94
2022-06-17 10:11:06 +02:00
Philipp Kühn
78dacbeb72 force update versions 2022-06-17 10:09:27 +02:00
Philipp Kühn
7a49ab8655 Publish
- @tiptap/core@2.0.0-beta.177
 - @tiptap/extension-blockquote@2.0.0-beta.27
 - @tiptap/extension-bubble-menu@2.0.0-beta.57
 - @tiptap/extension-bullet-list@2.0.0-beta.27
 - @tiptap/extension-character-count@2.0.0-beta.27
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.69
 - @tiptap/extension-code-block@2.0.0-beta.38
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.35
 - @tiptap/extension-collaboration@2.0.0-beta.34
 - @tiptap/extension-color@2.0.0-beta.10
 - @tiptap/extension-floating-menu@2.0.0-beta.52
 - @tiptap/extension-focus@2.0.0-beta.41
 - @tiptap/extension-font-family@2.0.0-beta.22
 - @tiptap/extension-gapcursor@2.0.0-beta.35
 - @tiptap/extension-hard-break@2.0.0-beta.31
 - @tiptap/extension-heading@2.0.0-beta.27
 - @tiptap/extension-history@2.0.0-beta.22
 - @tiptap/extension-horizontal-rule@2.0.0-beta.32
 - @tiptap/extension-image@2.0.0-beta.28
 - @tiptap/extension-link@2.0.0-beta.39
 - @tiptap/extension-list-item@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.98
 - @tiptap/extension-ordered-list@2.0.0-beta.28
 - @tiptap/extension-paragraph@2.0.0-beta.24
 - @tiptap/extension-placeholder@2.0.0-beta.49
 - @tiptap/extension-table-cell@2.0.0-beta.21
 - @tiptap/extension-table-header@2.0.0-beta.23
 - @tiptap/extension-table-row@2.0.0-beta.20
 - @tiptap/extension-table@2.0.0-beta.50
 - @tiptap/extension-task-item@2.0.0-beta.33
 - @tiptap/extension-task-list@2.0.0-beta.27
 - @tiptap/extension-text-style@2.0.0-beta.24
 - @tiptap/extension-youtube@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.176
 - @tiptap/react@2.0.0-beta.110
 - @tiptap/starter-kit@2.0.0-beta.186
 - @tiptap/suggestion@2.0.0-beta.93
 - @tiptap/vue-2@2.0.0-beta.80
 - @tiptap/vue-3@2.0.0-beta.92
2022-06-17 09:57:51 +02:00
Philipp Kühn
9c38d2713e Revert "Publish"
This reverts commit fa502c9f11.
2022-06-17 09:55:42 +02:00
Philipp Kühn
fa502c9f11 Publish
- @tiptap/core@2.0.0-beta.177
 - @tiptap/extension-blockquote@2.0.0-beta.27
 - @tiptap/extension-bubble-menu@2.0.0-beta.57
 - @tiptap/extension-bullet-list@2.0.0-beta.27
 - @tiptap/extension-character-count@2.0.0-beta.27
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.69
 - @tiptap/extension-code-block@2.0.0-beta.38
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.35
 - @tiptap/extension-collaboration@2.0.0-beta.34
 - @tiptap/extension-color@2.0.0-beta.10
 - @tiptap/extension-floating-menu@2.0.0-beta.52
 - @tiptap/extension-focus@2.0.0-beta.41
 - @tiptap/extension-font-family@2.0.0-beta.22
 - @tiptap/extension-gapcursor@2.0.0-beta.35
 - @tiptap/extension-hard-break@2.0.0-beta.31
 - @tiptap/extension-heading@2.0.0-beta.27
 - @tiptap/extension-history@2.0.0-beta.22
 - @tiptap/extension-horizontal-rule@2.0.0-beta.32
 - @tiptap/extension-image@2.0.0-beta.28
 - @tiptap/extension-link@2.0.0-beta.39
 - @tiptap/extension-list-item@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.98
 - @tiptap/extension-ordered-list@2.0.0-beta.28
 - @tiptap/extension-paragraph@2.0.0-beta.24
 - @tiptap/extension-placeholder@2.0.0-beta.49
 - @tiptap/extension-table-cell@2.0.0-beta.21
 - @tiptap/extension-table-header@2.0.0-beta.23
 - @tiptap/extension-table-row@2.0.0-beta.20
 - @tiptap/extension-table@2.0.0-beta.50
 - @tiptap/extension-task-item@2.0.0-beta.33
 - @tiptap/extension-task-list@2.0.0-beta.27
 - @tiptap/extension-text-style@2.0.0-beta.24
 - @tiptap/extension-youtube@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.176
 - @tiptap/react@2.0.0-beta.110
 - @tiptap/starter-kit@2.0.0-beta.186
 - @tiptap/suggestion@2.0.0-beta.93
 - @tiptap/vue-2@2.0.0-beta.80
 - @tiptap/vue-3@2.0.0-beta.92
2022-06-17 09:44:21 +02:00
Dominik
1c0554b7c0
feat(extension/youtube): new youtube embed extension (#2814)
* feat(extension/youtube):  new youtube embed extension

* fix(extension/youtube): remove wrong destroy call on undefined editor

* fix(extension/youtube): 🐛 fix youtu.be share urls not being recognized correctly

* style: remove stray console.log

* style: remove empty line

* docs(docs): update youtube docs

* Capitalize tiptap

* Capitalize Tiptap

* style(extension/youtube): ✏️ change youtube typing

Co-authored-by: Markus Krause <markus.krause@ueber.io>
2022-06-17 05:29:48 +02:00
Dominik Biedebach
5ac3ac3fa8 chore: add extension/youtube to vscode settings 2022-06-17 05:24:36 +02:00
Dominik Biedebach
5989f3b780 fix(extension/collaboration): 🚑 pin y-prosemirror version to 1.0.20 to fix broken functionality with vue 2022-06-17 05:08:54 +02:00
Dominik
fa8c4ca639
refactor: use index files for imports to simplify the export flow (#2870) 2022-06-11 07:11:14 +02:00
Sven Adlung
4014af4c21
Merge pull request #2861 from ueberdosis/bdbch/210-docs-update
docs(docs): add missing documentation for commands
2022-06-08 14:47:39 +02:00