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
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
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
fa8c4ca639
refactor: use index files for imports to simplify the export flow ( #2870 )
2022-06-11 07:11:14 +02:00
Dominik
8c6751f0c6
add precommit hook for linting and automatic eslint fixes + update eslint packages ( #2862 )
...
* chore: add precommit hook for eslint fixes, fix linting issues
* chore: add eslint import sort plugin
2022-06-08 14:10:25 +02:00
Jon Noronha
13a03425b3
lint fixes
2022-05-21 01:05:00 +02:00
Jon Noronha
23483d5e1a
isRequired on attrs
2022-05-21 01:05:00 +02:00
Dominik Biedebach
ecee74a94d
refactor: export new helper from index.ts
2022-05-20 19:04:55 +02:00
Dominik Biedebach
0597e474af
style: move node text content into helper function
2022-05-20 19:04:55 +02:00
Dominik Biedebach
30c39c94c9
style: remove stray console log from input rule
2022-05-20 19:04:55 +02:00
Dominik Biedebach
64b23e120c
fix(core): 🐛 fix inputrule not recognizing text content of non-text leaf nodes
2022-05-20 19:04:55 +02:00
Philipp Kühn
1789af864f
Publish
...
- @tiptap/core@2.0.0-beta.176
- @tiptap/extension-link@2.0.0-beta.38
- @tiptap/extension-mention@2.0.0-beta.97
- @tiptap/extension-table@2.0.0-beta.49
- @tiptap/html@2.0.0-beta.175
- @tiptap/starter-kit@2.0.0-beta.185
- @tiptap/suggestion@2.0.0-beta.92
- @tiptap/vue-2@2.0.0-beta.79
2022-05-18 10:53:18 +02:00
Steven DeMartini
819622c202
Fix typo in text-serializers-from-schema function
2022-05-17 17:38:00 +02:00
Steven DeMartini
155955c9a9
Export helper for text serializers
...
For plugins and other user-defined extensions, it's useful to be able to
be able to use the text-serializers-from-schema helper, like is done in
the built-in clipboardTextSerializer extension
(43611ea2e7/packages/core/src/extensions/clipboardTextSerializer.ts (L21)
).
2022-05-17 17:38:00 +02:00
Ivan Pantic
feef365b53
Expose "range" to textSerializer. Used in "getTextBetween"
2022-05-17 17:36:49 +02:00
JDinABox
0fb68af3a1
Fix extendMarkRange doesn't work when cursor is at end of mark
2022-05-17 13:30:54 +02:00
Felix Klein
ccc37d5f24
add support for CSP nonces in createStyleTag
2022-05-13 14:11:52 +02:00
David Ilizarov
e17c41498a
fix: lint error
2022-05-11 10:22:00 +02:00
David Ilizarov
7401d45b7e
fix: properly calculate setDragImage position
2022-05-11 10:22:00 +02:00
Philipp Kühn
90e719c711
Publish
...
- @tiptap/core@2.0.0-beta.175
- @tiptap/extension-bubble-menu@2.0.0-beta.56
- @tiptap/extension-character-count@2.0.0-beta.26
- @tiptap/extension-floating-menu@2.0.0-beta.51
- @tiptap/extension-link@2.0.0-beta.37
- @tiptap/extension-mention@2.0.0-beta.96
- @tiptap/extension-task-item@2.0.0-beta.32
- @tiptap/html@2.0.0-beta.174
- @tiptap/react@2.0.0-beta.109
- @tiptap/starter-kit@2.0.0-beta.184
- @tiptap/suggestion@2.0.0-beta.91
- @tiptap/vue-2@2.0.0-beta.78
- @tiptap/vue-3@2.0.0-beta.91
2022-04-27 22:50:51 +02:00
Scott Sidwell
d270419ad8
fix: don't override behaviour of Home / End in pc keymap
...
Similarly removed in Prosemirror at ProseMirror/prosemirror-commands@20371c58
For users who wish to preserve this behaviour, they can achieve this via:
```javascript
const CustomKeyboardBehaviour = Extension.create({
addKeyboardShortcuts() {
return {
['Home']: () => this.editor.commands.selectTextblockStart(),
['End']: () => this.editor.commands.selectTextblockEnd(),
}
}
})
const editor = new Editor({
extensions: [
// Register your custom extension with the editor.
CustomKeyboardBehaviour,
]
});
```
2022-04-08 11:06:37 +10:00
Philipp Kühn
7128d76d0a
Publish
...
- @tiptap/core@2.0.0-beta.174
- @tiptap/html@2.0.0-beta.173
- @tiptap/starter-kit@2.0.0-beta.183
2022-02-07 10:22:23 +01:00
Philipp Kühn
bdab760cdb
fix: revert changes to selectAll command, fix #2491
2022-02-07 10:19:46 +01:00
Philipp Kühn
3227b7736b
Publish
...
- @tiptap/core@2.0.0-beta.173
- @tiptap/extension-typography@2.0.0-beta.20
- @tiptap/html@2.0.0-beta.172
- @tiptap/react@2.0.0-beta.108
- @tiptap/starter-kit@2.0.0-beta.182
2022-02-07 09:10:11 +01:00
Philipp Kühn
70422dd107
fix: fix RangeError bug when selecting all text, fix #2490
2022-02-07 09:07:17 +01:00
Philipp Kühn
88ef8eabb0
Publish
...
- @tiptap/core@2.0.0-beta.172
- @tiptap/extension-bold@2.0.0-beta.26
- @tiptap/extension-italic@2.0.0-beta.26
- @tiptap/extension-placeholder@2.0.0-beta.48
- @tiptap/extension-underline@2.0.0-beta.23
- @tiptap/html@2.0.0-beta.171
- @tiptap/starter-kit@2.0.0-beta.181
2022-02-03 15:03:13 +01:00
Philipp Kühn
01411f8462
fix: don’t add tabindex when readonly, fix #2458
2022-02-03 14:54:37 +01:00
Philipp Kühn
f4fc935c6c
Publish
...
- @tiptap/core@2.0.0-beta.171
- @tiptap/extension-image@2.0.0-beta.25
- @tiptap/html@2.0.0-beta.170
- @tiptap/starter-kit@2.0.0-beta.180
2022-01-28 12:19:09 +01:00
Philipp Kühn
d899141a1a
fix lint
2022-01-27 21:37:29 +01:00
Philipp Kühn
9ef798d537
Publish
...
- @tiptap/core@2.0.0-beta.170
- @tiptap/html@2.0.0-beta.169
- @tiptap/starter-kit@2.0.0-beta.179
2022-01-27 09:45:20 +01:00
Philipp Kühn
4be16fcd2e
fix: set max textselection correctly, fix #2401
2022-01-27 09:44:53 +01:00
Philipp Kühn
ed56337470
Publish
...
- @tiptap/core@2.0.0-beta.169
- @tiptap/html@2.0.0-beta.168
- @tiptap/starter-kit@2.0.0-beta.178
2022-01-27 09:07:36 +01:00
Philipp Kühn
b584920ea1
fix: fix End key handler, fix #2446
2022-01-27 09:07:03 +01:00
Philipp Kühn
31efb0802e
Publish
...
- @tiptap/core@2.0.0-beta.168
- @tiptap/extension-code-block-lowlight@2.0.0-beta.68
- @tiptap/extension-code-block@2.0.0-beta.37
- @tiptap/html@2.0.0-beta.167
- @tiptap/starter-kit@2.0.0-beta.177
2022-01-26 09:38:01 +01:00
Philipp Kühn
85fcc29ac6
fix: add attributes to pre tag instead of code tag by default, fix #2440
2022-01-26 09:36:56 +01:00
Philipp Kühn
82759a898a
Publish
...
- @tiptap/core@2.0.0-beta.167
- @tiptap/extension-bubble-menu@2.0.0-beta.55
- @tiptap/extension-code-block-lowlight@2.0.0-beta.67
- @tiptap/extension-floating-menu@2.0.0-beta.50
- @tiptap/extension-focus@2.0.0-beta.40
- @tiptap/extension-mention@2.0.0-beta.95
- @tiptap/extension-placeholder@2.0.0-beta.47
- @tiptap/extension-table@2.0.0-beta.47
- @tiptap/html@2.0.0-beta.166
- @tiptap/react@2.0.0-beta.107
- @tiptap/starter-kit@2.0.0-beta.176
- @tiptap/suggestion@2.0.0-beta.90
- @tiptap/vue-2@2.0.0-beta.77
- @tiptap/vue-3@2.0.0-beta.90
2022-01-25 10:53:30 +01:00
Philipp Kühn
75e5601767
fix: add correct windows and px keymap
2022-01-25 10:52:36 +01:00
Philipp Kühn
0aa39f93cb
feat: add selectTextblockStart and selectTextblockEnd commands
2022-01-25 10:35:39 +01:00
Philipp Kühn
a20e887458
dependencies: update
2022-01-25 10:22:56 +01:00
Philipp Kühn
878dd5ced7
Publish
...
- @tiptap/core@2.0.0-beta.166
- @tiptap/html@2.0.0-beta.165
- @tiptap/starter-kit@2.0.0-beta.174
2022-01-20 22:15:37 +01:00
Philipp Kühn
d2427064ff
fix: insertContent keeps marks when using plain text, fix #2406
2022-01-20 22:15:12 +01:00
Philipp Kühn
27983bf38d
Publish
...
- @tiptap/core@2.0.0-beta.165
- @tiptap/html@2.0.0-beta.164
- @tiptap/starter-kit@2.0.0-beta.173
2022-01-20 21:38:15 +01:00
Philipp Kühn
9d317128a0
fix: fix removing the caret on blur in some situations when using safari, fix #2405
2022-01-20 21:37:31 +01:00
Philipp Kühn
9e48f8c239
Publish
...
- @tiptap/core@2.0.0-beta.164
- @tiptap/extension-code-block-lowlight@2.0.0-beta.66
- @tiptap/extension-code-block@2.0.0-beta.36
- @tiptap/extension-heading@2.0.0-beta.26
- @tiptap/extension-highlight@2.0.0-beta.33
- @tiptap/extension-link@2.0.0-beta.36
- @tiptap/extension-mention@2.0.0-beta.93
- @tiptap/html@2.0.0-beta.163
- @tiptap/react@2.0.0-beta.106
- @tiptap/starter-kit@2.0.0-beta.172
- @tiptap/suggestion@2.0.0-beta.88
- @tiptap/vue-2@2.0.0-beta.76
- @tiptap/vue-3@2.0.0-beta.89
2022-01-20 15:07:41 +01:00
Philipp Kühn
bc03c0d778
fix: run pasterules for pasted content, fix #2408
2022-01-20 15:04:34 +01:00