Commit Graph

925 Commits

Author SHA1 Message Date
HuiiBuh
54e85fd284
feat: #1898 Made the EventEmitter generic to improve the types of the tiptap events (#1959) 2021-09-30 09:25:40 +02:00
Philipp Kühn
14f62dddb3 Publish
- @tiptap/core@2.0.0-beta.115
 - @tiptap/extension-bubble-menu@2.0.0-beta.38
 - @tiptap/extension-floating-menu@2.0.0-beta.32
 - @tiptap/extension-gapcursor@2.0.0-beta.23
 - @tiptap/extension-hard-break@2.0.0-beta.20
 - @tiptap/extension-highlight@2.0.0-beta.20
 - @tiptap/extension-horizontal-rule@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.114
 - @tiptap/react@2.0.0-beta.75
 - @tiptap/starter-kit@2.0.0-beta.114
 - @tiptap/vue-2@2.0.0-beta.56
 - @tiptap/vue-3@2.0.0-beta.66
2021-09-30 00:21:36 +02:00
Philipp Kühn
50ed44b2df Publish
- @tiptap/core@2.0.0-beta.114
 - @tiptap/extension-bubble-menu@2.0.0-beta.37
 - @tiptap/extension-floating-menu@2.0.0-beta.31
 - @tiptap/extension-gapcursor@2.0.0-beta.22
 - @tiptap/extension-hard-break@2.0.0-beta.19
 - @tiptap/extension-highlight@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.113
 - @tiptap/react@2.0.0-beta.74
 - @tiptap/starter-kit@2.0.0-beta.113
 - @tiptap/vue-2@2.0.0-beta.55
 - @tiptap/vue-3@2.0.0-beta.65
2021-09-28 21:42:17 +02:00
Philipp Kühn
2c9cf03398 fix: getHTMLFromFragment now expects a fragment instead of node 2021-09-28 21:34:57 +02:00
Philipp Kühn
27a1acab5c Publish
- @tiptap/core@2.0.0-beta.113
 - @tiptap/extension-bubble-menu@2.0.0-beta.36
 - @tiptap/extension-floating-menu@2.0.0-beta.30
 - @tiptap/extension-gapcursor@2.0.0-beta.21
 - @tiptap/extension-hard-break@2.0.0-beta.18
 - @tiptap/extension-highlight@2.0.0-beta.18
 - @tiptap/html@2.0.0-beta.112
 - @tiptap/react@2.0.0-beta.73
 - @tiptap/starter-kit@2.0.0-beta.112
 - @tiptap/vue-2@2.0.0-beta.54
 - @tiptap/vue-3@2.0.0-beta.64
2021-09-27 23:36:29 +02:00
Philipp Kühn
b42e442a5a fix: add support for CellSelection in isActive helper, fix #1947 2021-09-27 23:33:32 +02:00
Philipp Kühn
32ae3868ea fix: handle backspace also on shift 2021-09-27 23:03:51 +02:00
Philipp Kühn
aa25d362f9 refactoring 2021-09-27 23:03:23 +02:00
Philipp Kühn
ec619a0f96 Publish
- @tiptap/core@2.0.0-beta.112
 - @tiptap/extension-hard-break@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.111
 - @tiptap/react@2.0.0-beta.72
 - @tiptap/starter-kit@2.0.0-beta.111
2021-09-23 09:42:22 +02:00
Philipp Kühn
e5c765c8e4 refactoring 2021-09-22 22:45:27 +02:00
Philipp Kühn
c91b2f29be refactoring 2021-09-22 21:14:07 +02:00
Philipp Kühn
f096209a77 Publish
- @tiptap/core@2.0.0-beta.111
 - @tiptap/extension-bubble-menu@2.0.0-beta.35
 - @tiptap/extension-floating-menu@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.110
 - @tiptap/react@2.0.0-beta.71
 - @tiptap/starter-kit@2.0.0-beta.110
 - @tiptap/vue-2@2.0.0-beta.53
 - @tiptap/vue-3@2.0.0-beta.62
2021-09-22 19:48:15 +02:00
Philipp Kühn
fcca1e6f4d fix: improve performance for isActive method, see #1930 2021-09-22 19:43:55 +02:00
philippkuehn
39e1be59bb ci: fix code style linting errors 2021-09-22 11:00:24 +00:00
Nokola
8ee0d67b83
fix: nodeInputRule() support for group match (#1574)
* Fix: nodeInputRule() support for group match

Fixes in nodeInputRule()
- add support for "first group match, if any" similar to https://prosemirror.net/docs/ref/#inputrules
- fix issue where rewriting includes extra unnecessary character from the match

* Insert last typed in nodeInputRule group match
2021-09-22 12:59:25 +02:00
Philipp Kühn
7c57d97cde Publish
- @tiptap/core@2.0.0-beta.110
 - @tiptap/html@2.0.0-beta.109
 - @tiptap/starter-kit@2.0.0-beta.109
2021-09-22 00:06:36 +02:00
Philipp Kühn
bad16d9f3a fix: call selectAll on 'cmd+a', set a TextSelection instead of AllSelection, fix #1908 2021-09-22 00:03:32 +02:00
Philipp Kühn
41dddb0fcd Publish
- @tiptap/core@2.0.0-beta.109
 - @tiptap/extension-gapcursor@2.0.0-beta.20
 - @tiptap/extension-highlight@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.108
 - @tiptap/react@2.0.0-beta.70
 - @tiptap/starter-kit@2.0.0-beta.108
2021-09-21 20:33:19 +02:00
Philipp Kühn
1faa2fc386 dependencies: update 2021-09-21 20:30:23 +02:00
Philipp Kühn
0255dbdfcd refactoring 2021-09-21 20:21:36 +02:00
Flávio Carvalho
4178281a74 feat: add enableCoreExtensions flag (#1923) 2021-09-21 20:21:36 +02:00
Philipp Kühn
067d61c5dd Publish
- @tiptap/core@2.0.0-beta.108
 - @tiptap/extension-mention@2.0.0-beta.74
 - @tiptap/html@2.0.0-beta.107
 - @tiptap/react@2.0.0-beta.69
 - @tiptap/starter-kit@2.0.0-beta.107
 - @tiptap/suggestion@2.0.0-beta.71
2021-09-20 11:23:21 +02:00
Philipp Kühn
fe8de584f5 update package keywords 2021-09-19 00:19:58 +02:00
Philipp Kühn
adbb005280 Publish
- @tiptap/core@2.0.0-beta.107
 - @tiptap/html@2.0.0-beta.106
 - @tiptap/react@2.0.0-beta.68
 - @tiptap/starter-kit@2.0.0-beta.106
 - @tiptap/vue-2@2.0.0-beta.52
 - @tiptap/vue-3@2.0.0-beta.60
2021-09-18 21:08:35 +02:00
Philipp Kühn
15f90ec591 fix: fix extension name for clipboardTextSerializer 2021-09-18 21:06:48 +02:00
Philipp Kühn
e012a29240 Publish
- @tiptap/core@2.0.0-beta.106
 - @tiptap/extension-bubble-menu@2.0.0-beta.34
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.38
 - @tiptap/extension-floating-menu@2.0.0-beta.28
 - @tiptap/extension-focus@2.0.0-beta.26
 - @tiptap/extension-mention@2.0.0-beta.73
 - @tiptap/extension-placeholder@2.0.0-beta.31
 - @tiptap/extension-table@2.0.0-beta.31
 - @tiptap/html@2.0.0-beta.105
 - @tiptap/react@2.0.0-beta.67
 - @tiptap/starter-kit@2.0.0-beta.105
 - @tiptap/suggestion@2.0.0-beta.70
 - @tiptap/vue-2@2.0.0-beta.51
 - @tiptap/vue-3@2.0.0-beta.59
2021-09-15 23:27:46 +02:00
Philipp Kühn
6437790431 fix: improve active mark detection for inline nodes, fix #1893 2021-09-15 23:25:28 +02:00
Philipp Kühn
2ec53efb91 dependencies: update 2021-09-14 21:29:00 +02:00
Philipp Kühn
ee08164135 Publish
- @tiptap/core@2.0.0-beta.105
 - @tiptap/html@2.0.0-beta.104
 - @tiptap/starter-kit@2.0.0-beta.104
2021-09-09 23:59:42 +02:00
Philipp Kühn
6faceef3f6 fix bug in clipboardTextSerializer 2021-09-09 23:58:43 +02:00
Philipp Kühn
4ecd41b922 fix lint error 2021-09-09 23:56:17 +02:00
Philipp Kühn
fe6a3e7491
feat: add getText() and generateText() methods (fix #1428) (#1875)
* move getTextBetween method

* add getText method

* refactoring

* refactoring

* refactoring

* move renderText to schema, add generateText method

* add GenerateText demo

* docs: update

* remove demo from html page
2021-09-09 23:51:05 +02:00
Philipp Kühn
42e8755d87 Publish
- @tiptap/core@2.0.0-beta.104
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.37
 - @tiptap/extension-code-block@2.0.0-beta.18
 - @tiptap/extension-color@2.0.0-beta.3
 - @tiptap/extension-font-family@2.0.0-beta.15
 - @tiptap/extension-highlight@2.0.0-beta.16
 - @tiptap/extension-link@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.72
 - @tiptap/extension-ordered-list@2.0.0-beta.16
 - @tiptap/extension-placeholder@2.0.0-beta.30
 - @tiptap/extension-table-cell@2.0.0-beta.15
 - @tiptap/extension-table-header@2.0.0-beta.17
 - @tiptap/extension-task-item@2.0.0-beta.18
 - @tiptap/extension-text-align@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.103
 - @tiptap/starter-kit@2.0.0-beta.103
2021-09-08 23:56:15 +02:00
Philipp Kühn
8a3b47a529 feat: parseHTML for attributes should return the value instead of an object now, fix #1863 2021-09-08 23:53:44 +02:00
Philipp Kühn
d3285e9308 refactoring 2021-09-08 12:04:02 +02:00
Philipp Kühn
a5dca087ee fix calculating mark range for unsetMark command 2021-09-08 12:02:43 +02:00
Philipp Kühn
14e458ea7d
feat: add extendEmptyMarkRange option to mark commands (#1859) 2021-09-08 09:32:22 +02:00
Philipp Kühn
b386728f35 Publish
- @tiptap/core@2.0.0-beta.103
 - @tiptap/extension-bubble-menu@2.0.0-beta.32
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.36
 - @tiptap/extension-floating-menu@2.0.0-beta.26
 - @tiptap/extension-focus@2.0.0-beta.25
 - @tiptap/extension-hard-break@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.71
 - @tiptap/extension-placeholder@2.0.0-beta.29
 - @tiptap/extension-table@2.0.0-beta.30
 - @tiptap/html@2.0.0-beta.102
 - @tiptap/react@2.0.0-beta.64
 - @tiptap/starter-kit@2.0.0-beta.102
 - @tiptap/suggestion@2.0.0-beta.69
 - @tiptap/vue-2@2.0.0-beta.49
 - @tiptap/vue-3@2.0.0-beta.57
2021-09-06 22:56:16 +02:00
Philipp Kühn
8d15436c28 dependencies: update 2021-09-06 22:43:40 +02:00
Philipp Kühn
6e71c08595 Publish
- @tiptap/core@2.0.0-beta.102
 - @tiptap/html@2.0.0-beta.101
 - @tiptap/starter-kit@2.0.0-beta.101
2021-08-26 22:33:34 +02:00
Philipp Kühn
3a0693869d fix: fix focus on iOS, fix #1806 2021-08-26 22:32:32 +02:00
Philipp Kühn
fa393d8245 Publish
- @tiptap/core@2.0.0-beta.101
 - @tiptap/html@2.0.0-beta.100
 - @tiptap/starter-kit@2.0.0-beta.99
2021-08-24 17:39:43 +02:00
Philipp Kühn
f65e1b32a1 fix: add topNode to getDebugJSON 2021-08-24 17:11:13 +02:00
Philipp Kühn
2966b4344a Publish
- @tiptap/core@2.0.0-beta.100
 - @tiptap/extension-bubble-menu@2.0.0-beta.30
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.35
 - @tiptap/extension-floating-menu@2.0.0-beta.24
 - @tiptap/extension-focus@2.0.0-beta.24
 - @tiptap/extension-history@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.68
 - @tiptap/extension-placeholder@2.0.0-beta.28
 - @tiptap/extension-table@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.99
 - @tiptap/react@2.0.0-beta.61
 - @tiptap/starter-kit@2.0.0-beta.98
 - @tiptap/suggestion@2.0.0-beta.66
 - @tiptap/vue-2@2.0.0-beta.47
 - @tiptap/vue-3@2.0.0-beta.53
2021-08-20 21:15:31 +02:00
Philipp Kühn
12602e77ef fix: add missing ProseMirror styles 2021-08-20 21:11:39 +02:00
Philipp Kühn
17c33e0b23 dependencies: update 2021-08-20 21:11:10 +02:00
Philipp Kühn
64409cad66 feat: allow wildcards when checking attributes in isActive, fix #1752 2021-08-20 10:51:46 +02:00
Philipp Kühn
bafe94f512 dependencies: update 2021-08-20 09:25:46 +02:00
Philipp Kühn
903220b86b Publish
- @tiptap/core@2.0.0-beta.99
 - @tiptap/extension-bubble-menu@2.0.0-beta.29
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.34
 - @tiptap/extension-floating-menu@2.0.0-beta.23
 - @tiptap/extension-focus@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.67
 - @tiptap/extension-placeholder@2.0.0-beta.27
 - @tiptap/extension-table@2.0.0-beta.28
 - @tiptap/html@2.0.0-beta.98
 - @tiptap/react@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.97
 - @tiptap/suggestion@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.46
 - @tiptap/vue-3@2.0.0-beta.52
2021-08-13 23:55:57 +02:00
Philipp Kühn
5bc7eb0e8b dependencies: update 2021-08-13 23:44:08 +02:00
Philipp Kühn
3143f5a725 Publish
- @tiptap/core@2.0.0-beta.98
 - @tiptap/html@2.0.0-beta.97
 - @tiptap/starter-kit@2.0.0-beta.96
2021-08-13 15:54:22 +02:00
Philipp Kühn
920d9a0113 fix lint error 2021-08-13 15:50:18 +02:00
Philipp Kühn
9cf99fedc0 refactor: remove deprecated packages 2021-08-13 15:47:53 +02:00
Philipp Kühn
2644bb8d99 Publish
- @tiptap/core@2.0.0-beta.97
 - @tiptap/html@2.0.0-beta.96
 - @tiptap/starter-kit@2.0.0-beta.95
2021-08-13 14:06:51 +02:00
Philipp Kühn
7f6ed0b1c0 feat: add transaction to all events if possible, see #1461 2021-08-13 14:01:50 +02:00
Philipp Kühn
6547ced826 Publish
- @tiptap/core@2.0.0-beta.96
 - @tiptap/extension-bubble-menu@2.0.0-beta.27
 - @tiptap/extension-floating-menu@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.95
 - @tiptap/react@2.0.0-beta.58
 - @tiptap/starter-kit@2.0.0-beta.93
 - @tiptap/vue-2@2.0.0-beta.44
 - @tiptap/vue-3@2.0.0-beta.50
2021-08-12 18:04:54 +02:00
Philipp Kühn
956566eaad
fix: fix some react focus issues (#1724), fix #1716, fix #1608, fix #1520
* remove async createNodeViews

* focus asynchronously to fix weird bugs in react
2021-08-12 18:03:45 +02:00
Philipp Kühn
9c5a2de63e Publish
- @tiptap/core@2.0.0-beta.95
 - @tiptap/html@2.0.0-beta.94
 - @tiptap/starter-kit@2.0.0-beta.92
2021-08-11 15:12:59 +02:00
Philipp Kühn
9425e7249a fix: improve calculation for min/max positions in selections, fix #1588 2021-08-11 15:06:31 +02:00
Philipp Kühn
937f6a1682 Publish
- @tiptap/core@2.0.0-beta.94
 - @tiptap/extension-code@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.64
 - @tiptap/extension-table@2.0.0-beta.27
 - @tiptap/html@2.0.0-beta.93
 - @tiptap/react@2.0.0-beta.56
 - @tiptap/starter-kit@2.0.0-beta.90
 - @tiptap/suggestion@2.0.0-beta.62
2021-08-09 17:43:40 +02:00
Philipp Kühn
f6f8cf9f93 fix: fix isEditable check on initialization 2021-08-09 17:40:45 +02:00
Philipp Kühn
80296aa8d0 refactoring 2021-08-09 17:24:18 +02:00
Robert van Hoesel
e6f67caef3
fix: fix updating editorProps via setOptions (#1540), fix #1518 2021-08-09 17:19:50 +02:00
castroCrea
aabdfd6f7d
fix: add CreateNodeFromContentOptions to insertContent (#1678)
*  Add CreateNodeFromContentOptions  to insertContent

* 📝 Add it to the doc
2021-08-09 15:40:17 +02:00
Philipp Kühn
a3381f4992 Publish
- @tiptap/core@2.0.0-beta.93
 - @tiptap/html@2.0.0-beta.92
 - @tiptap/starter-kit@2.0.0-beta.89
2021-07-30 09:38:52 +02:00
Philipp Kühn
c9869c8d30 fix: revert async focus, fix #1658 2021-07-30 09:33:55 +02:00
Philipp Kühn
6a458bcebe Publish
- @tiptap/core@2.0.0-beta.92
 - @tiptap/html@2.0.0-beta.91
 - @tiptap/starter-kit@2.0.0-beta.88
2021-07-28 23:44:05 +02:00
Hans Pagel
47d1d3425c
Examples: Syntax highlighting for React (#1583)
* Docs: Syntax highlighting - add react example

* Docs: Clean up syntax highlighting demo, make use of functional component

* fix: focus view asynchronously, fix #1520

Co-authored-by: Sven Adlung <info@svenadlung.de>
Co-authored-by: Philipp Kühn <kontakt@philipp-kuehn.com>
2021-07-28 23:42:11 +02:00
Philipp Kühn
e76f7966b5 Publish
- @tiptap/core@2.0.0-beta.91
 - @tiptap/html@2.0.0-beta.90
 - @tiptap/starter-kit@2.0.0-beta.87
2021-07-28 17:19:41 +02:00
Philipp Kühn
c2ccf68e8b fix: fix a bug in markPasteRule 2021-07-28 17:18:08 +02:00
Philipp Kühn
c3d04cef60 Publish
- @tiptap/core@2.0.0-beta.90
 - @tiptap/html@2.0.0-beta.89
 - @tiptap/starter-kit@2.0.0-beta.86
2021-07-28 11:30:39 +02:00
Philipp Kühn
73f1c50bca feat: add deleteNode command 2021-07-28 11:19:42 +02:00
Philipp Kühn
51fef7d49a Publish
- @tiptap/core@2.0.0-beta.89
 - @tiptap/html@2.0.0-beta.88
 - @tiptap/react@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.85
 - @tiptap/vue-2@2.0.0-beta.41
 - @tiptap/vue-3@2.0.0-beta.47
2021-07-27 12:28:08 +02:00
Philipp Kühn
d720edbe24
feat!: provide more context to update function of node views, fix #1611
* add more powerful update option to node views

* add object params for all node view option props
2021-07-27 12:26:24 +02:00
Philipp Kühn
651e6911e3 feat: add ignoreMutation option to NodeViewRenderer, fix #1538 2021-07-26 18:44:02 +02:00
Philipp Kühn
03e4e8ea2b Publish
- @tiptap/core@2.0.0-beta.88
 - @tiptap/extension-mention@2.0.0-beta.63
 - @tiptap/extension-text-align@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.87
 - @tiptap/starter-kit@2.0.0-beta.84
 - @tiptap/suggestion@2.0.0-beta.61
2021-07-26 15:47:40 +02:00
Philipp Kühn
4636b1a1a5 fix type for getAttributes 2021-07-26 15:36:12 +02:00
Joe Vallender
9ffd58cf25
feat: Allow a rule to be skipped from the getAttributes callback in markPasteRule (#1625)
For example: you are matching URLs with a Regex but want to make additional checks on the match array before deciding if you want to apply the mark or not. Returning null or false won't attempt to apply the mark. Currently the return value of getAttributes is applied unconditionally.
2021-07-26 15:13:05 +02:00
Philipp Kühn
345ea8cf8a Publish
- @tiptap/core@2.0.0-beta.87
 - @tiptap/extension-blockquote@2.0.0-beta.15
 - @tiptap/extension-bold@2.0.0-beta.15
 - @tiptap/extension-bubble-menu@2.0.0-beta.25
 - @tiptap/extension-bullet-list@2.0.0-beta.15
 - @tiptap/extension-character-count@2.0.0-beta.13
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.33
 - @tiptap/extension-code-block@2.0.0-beta.17
 - @tiptap/extension-code@2.0.0-beta.15
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.21
 - @tiptap/extension-collaboration@2.0.0-beta.20
 - @tiptap/extension-document@2.0.0-beta.13
 - @tiptap/extension-dropcursor@2.0.0-beta.18
 - @tiptap/extension-floating-menu@2.0.0-beta.19
 - @tiptap/extension-focus@2.0.0-beta.22
 - @tiptap/extension-font-family@2.0.0-beta.14
 - @tiptap/extension-gapcursor@2.0.0-beta.19
 - @tiptap/extension-hard-break@2.0.0-beta.15
 - @tiptap/extension-heading@2.0.0-beta.15
 - @tiptap/extension-highlight@2.0.0-beta.15
 - @tiptap/extension-history@2.0.0-beta.15
 - @tiptap/extension-horizontal-rule@2.0.0-beta.18
 - @tiptap/extension-image@2.0.0-beta.15
 - @tiptap/extension-italic@2.0.0-beta.15
 - @tiptap/extension-link@2.0.0-beta.19
 - @tiptap/extension-list-item@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.62
 - @tiptap/extension-ordered-list@2.0.0-beta.15
 - @tiptap/extension-paragraph@2.0.0-beta.16
 - @tiptap/extension-placeholder@2.0.0-beta.26
 - @tiptap/extension-strike@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.4
 - @tiptap/extension-superscript@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.14
 - @tiptap/extension-table-header@2.0.0-beta.16
 - @tiptap/extension-table-row@2.0.0-beta.14
 - @tiptap/extension-table@2.0.0-beta.26
 - @tiptap/extension-task-item@2.0.0-beta.17
 - @tiptap/extension-task-list@2.0.0-beta.17
 - @tiptap/extension-text-align@2.0.0-beta.21
 - @tiptap/extension-text-style@2.0.0-beta.17
 - @tiptap/extension-text@2.0.0-beta.13
 - @tiptap/extension-typography@2.0.0-beta.13
 - @tiptap/extension-underline@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.86
 - @tiptap/react@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.83
 - @tiptap/suggestion@2.0.0-beta.60
 - @tiptap/vue-2@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.46
2021-07-26 11:42:13 +02:00
Philipp Kühn
29e75de786 dependencies: update 2021-07-26 11:35:58 +02:00
Andrew Luca
0eced7b1e6 chore: add repository for all packages.json 2021-07-23 01:13:32 +02:00
sibiraj-s
8ed6ac4219 Export NodeViewRendererOptions 2021-07-17 08:53:05 +02:00
Philipp Kühn
1c80d41cec Publish
- @tiptap/core@2.0.0-beta.86
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.32
 - @tiptap/extension-dropcursor@2.0.0-beta.17
 - @tiptap/extension-gapcursor@2.0.0-beta.18
 - @tiptap/extension-history@2.0.0-beta.14
 - @tiptap/extension-table@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.85
 - @tiptap/starter-kit@2.0.0-beta.82
2021-07-09 10:45:44 +02:00
Philipp Kühn
6ea02176dc dependencies: update 2021-07-09 10:43:04 +02:00
Philipp Kühn
b4eda709a6 update splitListItem (https://github.com/ProseMirror/prosemirror/issues/1146) 2021-07-09 10:33:57 +02:00
Philipp Kühn
84d732f7a5 Publish
- @tiptap/core@2.0.0-beta.85
 - @tiptap/extension-bubble-menu@2.0.0-beta.24
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.31
 - @tiptap/extension-floating-menu@2.0.0-beta.18
 - @tiptap/extension-focus@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.61
 - @tiptap/extension-placeholder@2.0.0-beta.25
 - @tiptap/extension-table@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.84
 - @tiptap/react@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.81
 - @tiptap/suggestion@2.0.0-beta.59
 - @tiptap/vue-2@2.0.0-beta.39
 - @tiptap/vue-3@2.0.0-beta.45
2021-06-23 10:18:59 +02:00
Philipp Kühn
cf3fc73e62 dependencies: update 2021-06-23 10:09:39 +02:00
Philipp Kühn
3757d07f70 Publish
- @tiptap/core@2.0.0-beta.84
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.30
 - @tiptap/extension-mention@2.0.0-beta.60
 - @tiptap/extension-placeholder@2.0.0-beta.24
 - @tiptap/extension-text-align@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.83
 - @tiptap/starter-kit@2.0.0-beta.80
 - @tiptap/suggestion@2.0.0-beta.58
2021-06-17 23:54:39 +02:00
Philipp Kühn
7cb4c9f322 dependencies: update 2021-06-17 23:53:32 +02:00
Philipp Kühn
502b5b1cc9 fix: improve types for generateHTML 2021-06-17 23:41:42 +02:00
Philipp Kühn
dcc1093db4 Publish
- @tiptap/core@2.0.0-beta.83
 - @tiptap/extension-bubble-menu@2.0.0-beta.22
 - @tiptap/extension-dropcursor@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.59
 - @tiptap/extension-placeholder@2.0.0-beta.23
 - @tiptap/extension-subscript@2.0.0-beta.3
 - @tiptap/extension-superscript@2.0.0-beta.3
 - @tiptap/extension-text-style@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.82
 - @tiptap/react@2.0.0-beta.49
 - @tiptap/starter-kit@2.0.0-beta.79
 - @tiptap/vue-2@2.0.0-beta.37
 - @tiptap/vue-3@2.0.0-beta.43
2021-06-15 08:16:19 +02:00
Philipp Kühn
6aa424b422 Publish
- @tiptap/core@2.0.0-beta.82
 - @tiptap/extension-dropcursor@2.0.0-beta.15
 - @tiptap/extension-mention@2.0.0-beta.58
 - @tiptap/extension-placeholder@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.81
 - @tiptap/react@2.0.0-beta.47
 - @tiptap/starter-kit@2.0.0-beta.78
2021-06-14 17:02:35 +02:00
Philipp Kühn
2deb07fb00 fix: check for atom nodes in ignoreMutation handler, fix #1448 2021-06-14 15:56:24 +02:00
Philipp Kühn
f7890c0b42 refactoring 2021-06-14 15:35:43 +02:00
Philipp Kühn
fbc8fffb70 fix: remove editable check in updateAttributes, fix #1415 2021-06-14 15:34:09 +02:00
Philipp Kühn
5c8e46b0d4 Publish
- @tiptap/core@2.0.0-beta.81
 - @tiptap/extension-blockquote@2.0.0-beta.14
 - @tiptap/extension-bold@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.14
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.29
 - @tiptap/extension-code-block@2.0.0-beta.16
 - @tiptap/extension-code@2.0.0-beta.14
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.20
 - @tiptap/extension-collaboration@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.14
 - @tiptap/extension-heading@2.0.0-beta.14
 - @tiptap/extension-highlight@2.0.0-beta.14
 - @tiptap/extension-history@2.0.0-beta.13
 - @tiptap/extension-horizontal-rule@2.0.0-beta.17
 - @tiptap/extension-image@2.0.0-beta.14
 - @tiptap/extension-italic@2.0.0-beta.14
 - @tiptap/extension-link@2.0.0-beta.18
 - @tiptap/extension-ordered-list@2.0.0-beta.14
 - @tiptap/extension-paragraph@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.16
 - @tiptap/extension-table@2.0.0-beta.23
 - @tiptap/extension-task-list@2.0.0-beta.16
 - @tiptap/extension-text-align@2.0.0-beta.18
 - @tiptap/extension-text-style@2.0.0-beta.14
 - @tiptap/extension-underline@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.80
 - @tiptap/starter-kit@2.0.0-beta.77
2021-06-08 00:05:18 +02:00
Philipp Kühn
6d72bf6d42 dependencies: update 2021-06-07 23:57:24 +02:00
Philipp Kühn
b97bebe021 fix: fix a bug when insert newline at node start, fix #1411 2021-06-07 23:55:18 +02:00
Philipp Kühn
a757716f68 feat: add Tracker class 2021-06-04 23:57:41 +02:00
Philipp Kühn
8e29b5f854 improve types 2021-06-04 22:58:50 +02:00
Philipp Kühn
783ce4e3ac feat: add forEach command 2021-06-04 22:25:53 +02:00
Philipp Kühn
78e2a6e775 add generic to commands type 2021-06-04 21:56:29 +02:00
Philipp Kühn
8275e62d9d Publish
- @tiptap/core@2.0.0-beta.80
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.27
 - @tiptap/html@2.0.0-beta.79
 - @tiptap/starter-kit@2.0.0-beta.76
2021-06-03 13:15:57 +02:00
Philipp Kühn
d037c5656a fix: fix merging options on configure for multiple extension instances 2021-06-03 13:13:43 +02:00
Philipp Kühn
2fd15f521b Publish
- @tiptap/core@2.0.0-beta.79
 - @tiptap/html@2.0.0-beta.78
 - @tiptap/starter-kit@2.0.0-beta.75
2021-06-02 11:05:50 +02:00
Philipp Kühn
29f476a9c9 version bump 2021-06-02 11:05:18 +02:00
Philipp Kühn
09ce876c79 Publish
- @tiptap/core@2.0.0-beta.77
 - @tiptap/html@2.0.0-beta.77
 - @tiptap/starter-kit@2.0.0-beta.74
2021-06-02 10:56:52 +02:00
Philipp Kühn
36dad2bbae feat: add setMeta command 2021-06-02 10:50:10 +02:00
Philipp Kühn
2eb177f7d2 Publish
- @tiptap/core@2.0.0-beta.76
 - @tiptap/html@2.0.0-beta.76
 - @tiptap/starter-kit@2.0.0-beta.73
2021-06-01 18:59:02 +02:00
Philipp Kühn
485fb8c74c fix: remove custom coordsAtPos method, fix #583 2021-06-01 18:57:46 +02:00
Philipp Kühn
4bc0de8834 Publish
- @tiptap/core@2.0.0-beta.75
 - @tiptap/html@2.0.0-beta.75
 - @tiptap/starter-kit@2.0.0-beta.72
2021-06-01 18:23:11 +02:00
Philipp Kühn
2a4e02ade3 fix: prevent dispatch empty fragment when parsing content with insertContent 2021-06-01 18:20:01 +02:00
Philipp Kühn
ad5dc2e194 Publish
- @tiptap/core@2.0.0-beta.74
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.74
 - @tiptap/starter-kit@2.0.0-beta.71
2021-05-31 21:06:55 +02:00
philippkuehn
f54b9c9b42 ci: fix code style linting errors 2021-05-31 17:20:25 +00:00
Markus Machatschek
52dd6e0e64 Prevent tiptap from creating duplicate style tags when injecting css 2021-05-31 19:12:05 +02:00
Philipp Kühn
71221f54d1 Publish
- @tiptap/core@2.0.0-beta.73
 - @tiptap/html@2.0.0-beta.73
 - @tiptap/starter-kit@2.0.0-beta.70
2021-05-29 21:04:39 +02:00
Philipp Kühn
3c4cc96fee fix: check for excluded marks in isMarkActive, fix #1388 2021-05-29 21:02:59 +02:00
Philipp Kühn
13d9ffda82 Publish
- @tiptap/core@2.0.0-beta.72
 - @tiptap/extension-placeholder@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.72
 - @tiptap/starter-kit@2.0.0-beta.69
2021-05-28 17:40:52 +02:00
Philipp Kühn
370966847e fix: fix error when calculating contentMatch within clearNodes command, fix #1361 2021-05-28 17:37:28 +02:00
Philipp Kühn
7b74d5849f fix lint errors 2021-05-28 15:16:33 +02:00
Philipp Kühn
3d271953c3 Publish
- @tiptap/core@2.0.0-beta.71
 - @tiptap/html@2.0.0-beta.71
 - @tiptap/starter-kit@2.0.0-beta.68
2021-05-28 14:06:33 +02:00
Philipp Kühn
e52f41ae78 fix: fix fragile schema validity test in splitBlock 2021-05-28 13:55:54 +02:00
Philipp Kühn
9d13db6988 Publish
- @tiptap/core@2.0.0-beta.70
 - @tiptap/html@2.0.0-beta.70
 - @tiptap/starter-kit@2.0.0-beta.67
 - @tiptap/vue-2@2.0.0-beta.34
 - @tiptap/vue-3@2.0.0-beta.40
2021-05-28 12:14:59 +02:00
Philipp Kühn
939fc3d93a fix: prevent bug when editor is destroyed very fast 2021-05-28 12:14:12 +02:00
Philipp Kühn
5b9395ee74 Publish
- @tiptap/core@2.0.0-beta.69
 - @tiptap/extension-bubble-menu@2.0.0-beta.20
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.25
 - @tiptap/extension-dropcursor@2.0.0-beta.14
 - @tiptap/extension-floating-menu@2.0.0-beta.16
 - @tiptap/extension-focus@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.57
 - @tiptap/extension-placeholder@2.0.0-beta.20
 - @tiptap/extension-strike@2.0.0-beta.15
 - @tiptap/extension-table@2.0.0-beta.22
 - @tiptap/extension-task-item@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.69
 - @tiptap/react@2.0.0-beta.43
 - @tiptap/starter-kit@2.0.0-beta.66
 - @tiptap/suggestion@2.0.0-beta.57
 - @tiptap/vue-2@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.39
2021-05-27 18:54:53 +02:00
Philipp Kühn
03d213ba8b dependencies: update 2021-05-27 18:52:37 +02:00
Philipp Kühn
42c0ca85b3 Publish
- @tiptap/core@2.0.0-beta.68
 - @tiptap/extension-bubble-menu@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.68
 - @tiptap/react@2.0.0-beta.42
 - @tiptap/starter-kit@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.32
 - @tiptap/vue-3@2.0.0-beta.38
2021-05-24 20:43:18 +02:00
Philipp Kühn
c0e68d5a25 fix: do not check for node selection within posToDOMRect 2021-05-24 20:40:24 +02:00
Philipp Kühn
3bb99b8e1e Publish
- @tiptap/core@2.0.0-beta.67
 - @tiptap/html@2.0.0-beta.67
 - @tiptap/starter-kit@2.0.0-beta.64
2021-05-24 08:47:57 +02:00
Philipp Kühn
a4ec4ffcfd fix: check for NodeSelection within posToDOMRect 2021-05-24 08:46:51 +02:00
Philipp Kühn
940fd69b61 fix: remove empty attributes in getDebugJSON 2021-05-19 18:27:12 +02:00
Philipp Kühn
61b06e73a5 Publish
- @tiptap/core@2.0.0-beta.66
 - @tiptap/html@2.0.0-beta.66
 - @tiptap/starter-kit@2.0.0-beta.63
2021-05-19 15:17:35 +02:00
Philipp Kühn
8f101810fe fix: preserve whitespace when using insertContent command 2021-05-19 15:15:56 +02:00
Philipp Kühn
c0cbd513f6 Publish
- @tiptap/core@2.0.0-beta.65
 - @tiptap/html@2.0.0-beta.65
 - @tiptap/starter-kit@2.0.0-beta.62
2021-05-19 00:26:18 +02:00
Philipp Kühn
2f7a6adca5 feat: allow number for setTextSelection and insertContentAt 2021-05-19 00:25:36 +02:00
Philipp Kühn
fc7d1ebf3f Publish
- @tiptap/core@2.0.0-beta.64
 - @tiptap/html@2.0.0-beta.64
 - @tiptap/react@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.61
 - @tiptap/vue-2@2.0.0-beta.31
 - @tiptap/vue-3@2.0.0-beta.37
2021-05-19 00:05:23 +02:00
Philipp Kühn
fcee5f82c6 feat: add deleteNode method to node views 2021-05-19 00:03:41 +02:00
Philipp Kühn
f829b45bf0 fix: add marks to JSONContent type 2021-05-18 22:51:53 +02:00
Philipp Kühn
6b154e4c81 Publish
- @tiptap/core@2.0.0-beta.63
 - @tiptap/extension-blockquote@2.0.0-beta.13
 - @tiptap/extension-bold@2.0.0-beta.13
 - @tiptap/extension-bubble-menu@2.0.0-beta.18
 - @tiptap/extension-bullet-list@2.0.0-beta.13
 - @tiptap/extension-character-count@2.0.0-beta.12
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.24
 - @tiptap/extension-code-block@2.0.0-beta.15
 - @tiptap/extension-code@2.0.0-beta.13
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.19
 - @tiptap/extension-collaboration@2.0.0-beta.18
 - @tiptap/extension-document@2.0.0-beta.12
 - @tiptap/extension-dropcursor@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.15
 - @tiptap/extension-focus@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.12
 - @tiptap/extension-gapcursor@2.0.0-beta.17
 - @tiptap/extension-hard-break@2.0.0-beta.13
 - @tiptap/extension-heading@2.0.0-beta.13
 - @tiptap/extension-highlight@2.0.0-beta.13
 - @tiptap/extension-history@2.0.0-beta.12
 - @tiptap/extension-horizontal-rule@2.0.0-beta.16
 - @tiptap/extension-image@2.0.0-beta.13
 - @tiptap/extension-italic@2.0.0-beta.13
 - @tiptap/extension-link@2.0.0-beta.17
 - @tiptap/extension-list-item@2.0.0-beta.13
 - @tiptap/extension-mention@2.0.0-beta.56
 - @tiptap/extension-ordered-list@2.0.0-beta.13
 - @tiptap/extension-paragraph@2.0.0-beta.14
 - @tiptap/extension-placeholder@2.0.0-beta.19
 - @tiptap/extension-strike@2.0.0-beta.14
 - @tiptap/extension-table-cell@2.0.0-beta.13
 - @tiptap/extension-table-header@2.0.0-beta.15
 - @tiptap/extension-table-row@2.0.0-beta.13
 - @tiptap/extension-table@2.0.0-beta.21
 - @tiptap/extension-task-item@2.0.0-beta.15
 - @tiptap/extension-task-list@2.0.0-beta.15
 - @tiptap/extension-text-align@2.0.0-beta.17
 - @tiptap/extension-text-style@2.0.0-beta.13
 - @tiptap/extension-text@2.0.0-beta.12
 - @tiptap/extension-typography@2.0.0-beta.12
 - @tiptap/extension-underline@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.63
 - @tiptap/react@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.60
 - @tiptap/suggestion@2.0.0-beta.56
 - @tiptap/vue-2@2.0.0-beta.30
 - @tiptap/vue-3@2.0.0-beta.36
2021-05-18 19:29:35 +02:00
Priestch
96a060eefd
docs: fix typo (#1339) 2021-05-18 18:36:18 +02:00
Philipp Kühn
76dd23f0e2 Publish
- @tiptap/core@2.0.0-beta.62
 - @tiptap/extension-bubble-menu@2.0.0-beta.17
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.23
 - @tiptap/extension-floating-menu@2.0.0-beta.14
 - @tiptap/extension-focus@2.0.0-beta.18
 - @tiptap/extension-mention@2.0.0-beta.55
 - @tiptap/extension-placeholder@2.0.0-beta.18
 - @tiptap/extension-table@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.62
 - @tiptap/react@2.0.0-beta.38
 - @tiptap/starter-kit@2.0.0-beta.59
 - @tiptap/suggestion@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.29
 - @tiptap/vue-3@2.0.0-beta.35
2021-05-17 21:07:19 +02:00
Philipp Kühn
5ee8857ca6 dependencies: update 2021-05-17 21:04:51 +02:00
Philipp Kühn
2ba3cad891 not sure about this one 2021-05-17 21:00:22 +02:00
Philipp Kühn
819aa16cfc Publish
- @tiptap/core@2.0.0-beta.61
 - @tiptap/html@2.0.0-beta.61
 - @tiptap/starter-kit@2.0.0-beta.58
2021-05-17 13:06:05 +02:00
Philipp Kühn
ff7dd9b919 feat: add support for checking for attributes in extendMarkRange 2021-05-17 13:00:54 +02:00
Philipp Kühn
5b8808a899 fix: fix export for getAttributes 2021-05-17 11:58:27 +02:00
Philipp Kühn
463661c5ed feat: add findChildrenInRange helper 2021-05-17 11:29:41 +02:00
Philipp Kühn
2bd17c7dc6 feat: export isList, fix #1326 2021-05-17 11:25:18 +02:00
Philipp Kühn
a8ba313255 Publish
- @tiptap/core@2.0.0-beta.60
 - @tiptap/html@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.57
2021-05-13 20:45:27 +02:00
Philipp Kühn
28737b1631 fix: fix missing extensions when using addExtension, fix #1309 2021-05-13 20:44:51 +02:00