Commit Graph

2101 Commits

Author SHA1 Message Date
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
724b90d8d6 Publish
- @tiptap/vue-3@2.0.0-beta.63
2021-09-23 09:53:44 +02:00
Philipp Kühn
19840f3b25 fix: add support for scoped styles, fix #1931 2021-09-23 09:53:11 +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
377bbb177d feat: setHardBreak now keeps splittable marks by default, fix #1934 2021-09-23 09:34:47 +02:00
Philipp Kühn
1b71080a11 dependencies: update 2021-09-22 22:56:54 +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
Kane Cohen
33420f4ae0
fix: Fix "destory" method in view plugins. (#1882) 2021-09-22 13:28:52 +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
Jan Vissers
047ef8c8c9
fix: Use pasteRegex in addPasteRules (#1922)
Seems like inputRegex was used in addPasteRules by mistake (?)
2021-09-21 17:27:26 +02:00
Philipp Kühn
e7a6c1f303 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.39
2021-09-21 09:30:35 +02:00
Enrique Alcántara
54be0e570e
fix: Allow extending code-block-lowlight (#1917)
Use the extension name when initializing the
LowlightPlugin. In this way, several extensions
can make use of the same plugin

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-21 09:26:11 +02:00
Philipp Kühn
071acd643b Publish
- @tiptap/vue-3@2.0.0-beta.61
2021-09-20 23:59:38 +02:00
Philipp Kühn
60e7755b7f fix: fix expose error when using new setup syntax (fix #1914) 2021-09-20 23:57:48 +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
Ruben Robles
4a6c3cbaac
fix: Add type for async items on suggestions (fix TS strict types complaining) (#1912) 2021-09-20 11:02:40 +02:00
Philipp Kühn
69076f256e dependencies: update 2021-09-20 09:41:58 +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
fe47c388ce fix: set correct component type for ReactRenderer, fix #1904 2021-09-18 20:45:00 +02:00
Philipp Kühn
1a43d2992f improve typescript setup 2021-09-17 12:43:26 +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
472f2139c5 fix: parse correct language for code blocks with multiple classes (see #1845) 2021-09-08 11:36:05 +02:00
Nicholas Bush
1799b907ec
feat: add includeChildren option to placeholder extension (#1416) 2021-09-08 09:38:57 +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
b95507797d Publish
- @tiptap/react@2.0.0-beta.66
2021-09-07 23:27:11 +02:00
Philipp Kühn
b06a1f4364 refactoring 2021-09-07 23:20:46 +02:00
castroCrea
d1f2ad293f
feat: add support for forwardRef component in reactRenderer (#1690, fix #1040) 2021-09-07 23:13:39 +02:00
Philipp Kühn
9e8eabe3f6 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.33
 - @tiptap/extension-floating-menu@2.0.0-beta.27
 - @tiptap/react@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.50
 - @tiptap/vue-3@2.0.0-beta.58
2021-09-07 20:57:12 +02:00
Philipp Kühn
8b545e4ae1 refactoring 2021-09-07 20:55:40 +02:00
Enrique
ca3763d3c2
fix: don’t initialize tippy on requestAnimationFrame to avoid race conditions (#1820)
Instead of initializting tippy when
the bubble menu and floating menu plugins are initialized,
defer the initialization of tippy to the moment when
the the editor should display the floating or bubble menu

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-07 20:46:45 +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
7fefd4c488 fix a type bug for now 2021-09-06 22:54:59 +02:00
Philipp Kühn
8d15436c28 dependencies: update 2021-09-06 22:43:40 +02:00
Philipp Kühn
65e1a404e5 refactoring 2021-09-06 22:33:16 +02:00
Jakob Košir
4dd0d6d4dc
feat: allow triggering suggestions without prefix space (#1826, fix #1384) 2021-09-06 22:25:41 +02:00
Philipp Kühn
787d7848cd fix: render line break in text/plain format for hard breaks, fix #1842 2021-09-06 19:05:01 +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
6ad4777a6e Publish
- @tiptap/extension-dropcursor@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.100
 - @tiptap/vue-3@2.0.0-beta.56
2021-08-26 14:12:10 +02:00
Mauricio Walters
46701fde66
fix: use shallowRef on Editor (#1804) 2021-08-26 14:08:33 +02:00
Philipp Kühn
b642df0ed2 dependencies: update 2021-08-24 23:39:53 +02:00
Philipp Kühn
358aff376f Publish
- @tiptap/react@2.0.0-beta.63
2021-08-24 22:14:02 +02:00
Philipp Kühn
b15a8a8683 fix: fix a bug when using nested node views in react, fix #1747 2021-08-24 22:13:18 +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
3664e3b1b0 Publish
- @tiptap/extension-mention@2.0.0-beta.70
 - @tiptap/suggestion@2.0.0-beta.68
 - @tiptap/vue-3@2.0.0-beta.55
2021-08-23 22:40:16 +02:00
Philipp Kühn
d3242c9a07 fix: fix types for BubbleMenu and FloatingMenu props 2021-08-23 22:21:18 +02:00
Philipp Kühn
839acc1d9f fix: get correct clientRect when using async suggesteion items, fix #1782 2021-08-23 22:13:51 +02:00
Philipp Kühn
5ee5091759 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.31
 - @tiptap/extension-floating-menu@2.0.0-beta.25
 - @tiptap/extension-mention@2.0.0-beta.69
 - @tiptap/react@2.0.0-beta.62
 - @tiptap/suggestion@2.0.0-beta.67
 - @tiptap/vue-2@2.0.0-beta.48
 - @tiptap/vue-3@2.0.0-beta.54
2021-08-23 18:45:37 +02:00
Philipp Kühn
70a328bd3d fix: make shouldShow and pluginKey option for menus, fix #1779 2021-08-23 18:44:40 +02:00
Hans Pagel
1618e8ee85
Update README.md 2021-08-22 14:14:07 +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
b7d22bf0dc check for simple space only 2021-08-20 21:02:54 +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
3f7e6b219b fix: prevent multiple space characters after mention node, fix #1703 2021-08-20 09:33:16 +02:00
Philipp Kühn
bafe94f512 dependencies: update 2021-08-20 09:25:46 +02:00
Hans Pagel
ae9f2d290a Publish
- @tiptap/extension-color@2.0.0-beta.2
2021-08-19 10:39:57 +02:00
Hans Pagel
f5ebaeac3c
packages: add a new color extension to set the text color (#1744) 2021-08-19 10:37:51 +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
b4702959c9 refactor: remove deprecated method 2021-08-13 15:48:03 +02:00
Philipp Kühn
9cf99fedc0 refactor: remove deprecated packages 2021-08-13 15:47:53 +02:00
Philipp Kühn
731c1640d7 Publish
- @tiptap/extension-mention@2.0.0-beta.66
 - @tiptap/suggestion@2.0.0-beta.64
2021-08-13 15:15:43 +02:00
Philipp Kühn
9789372cea fix: improve suggestion handling for chinese input, fix #1449 2021-08-13 15:13:19 +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
d9abb0c736 Publish
- @tiptap/extension-mention@2.0.0-beta.65
 - @tiptap/suggestion@2.0.0-beta.63
2021-08-13 13:18:58 +02:00
Philipp Kühn
7cf3350a83 fix: add pluginKey option to suggestion plugin, fix #1282 2021-08-13 13:14:54 +02:00
Philipp Kühn
bcc8234050 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.28
 - @tiptap/extension-floating-menu@2.0.0-beta.22
 - @tiptap/react@2.0.0-beta.59
 - @tiptap/vue-2@2.0.0-beta.45
 - @tiptap/vue-3@2.0.0-beta.51
2021-08-13 12:34:32 +02:00
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +02:00
Philipp Kühn
8fd75bc4b6 Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.94
2021-08-12 23:53:08 +02:00
Philipp Kühn
6e76bb84fc fix: remove node before hr if it’s an empty text block (fix #1665) 2021-08-12 23:51:37 +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
f57466ccd0 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.26
 - @tiptap/extension-floating-menu@2.0.0-beta.20
 - @tiptap/extension-paragraph@2.0.0-beta.17
 - @tiptap/extension-typography@2.0.0-beta.14
 - @tiptap/react@2.0.0-beta.57
 - @tiptap/starter-kit@2.0.0-beta.91
 - @tiptap/vue-2@2.0.0-beta.43
 - @tiptap/vue-3@2.0.0-beta.49
2021-08-11 14:40:00 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503)
* add key option to bubble menu

* ignore react for now

* add shouldShow option to bubble menu extension

* improve types

* remove BubbleMenuPluginKey

* add key and shouldShow option to floating menu extension

* fix: don’t show floating menu within code block

* docs: add new menu options
2021-08-11 14:37:58 +02:00
Philipp Kühn
bcc1309cd9 fix: use setNode instead of toggleNode for setParagraph command 2021-08-10 16:59:09 +02:00
castroCrea
ffd241b2d8
Add typography trademark (#1699) 2021-08-09 18:19:06 +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
239a2e36a4 fix: don’t resize tables if editable is set to false, fix #1549 2021-08-09 17:41:17 +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
a0444b5ec3 code style 2021-08-09 15:21:44 +02:00
dkrym
60606f99a1
fix: use correct state when doc changed externally (#1646) 2021-08-09 15:20:46 +02:00
Philipp Kühn
463b7b1eb3 dependencies: update 2021-08-09 14:54:24 +02:00
Philipp Kühn
6a5871ddba Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-08-05 12:55:59 +02:00
Philipp Kühn
8fcc80d68e fix: improve export for StarterKitOptions 2021-08-05 12:55:55 +02:00
Joe Vallender
6c08057bb2
fix: Apply the correct regex for code extension in markPasteRule (#1671) 2021-08-02 11:08:03 +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
eb27b1fbb1 Publish
- @tiptap/react@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.42
 - @tiptap/vue-3@2.0.0-beta.48
2021-07-28 14:52:27 +02:00
Philipp Kühn
6ef931f85d fix another bug for updating node views 2021-07-28 14:51:58 +02:00
Philipp Kühn
d7f6e0ce3f fix: fix updating node views, fix #1656 2021-07-28 14:49:00 +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
Flávio Carvalho
83a53c16db
fix: Fix multi character suggest (#1620) 2021-07-26 15:39:08 +02:00
Philipp Kühn
4636b1a1a5 fix type for getAttributes 2021-07-26 15:36:12 +02:00
Philipp Kühn
c315935bf9 fix error 2021-07-26 15:14:22 +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
Arthur McGregor
e367974e30
Change TextAlignOptions to interface (not type) (#1623) 2021-07-26 15:09:08 +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
Arthur McGregor
bd38299498
Add additional input rules to typography extension
superscriptTwo
superscriptThree
oneQuarter
threeQuarters
2021-07-22 10:36:08 +12:00
Ilya Amursky
4a2a428a4c fix: export starter kit extension options 2021-07-20 13:51:25 +02:00
Ilya Amursky
1b43de331d fix: export text align extension options 2021-07-20 13:50:52 +02:00
sibiraj-s
656a80fc3f Update hostic-dom to fix style attributes 2021-07-20 13:49:55 +02:00
sibiraj-s
8ed6ac4219 Export NodeViewRendererOptions 2021-07-17 08:53:05 +02:00
Markus Machatschek
2559ef1af1 Fix custom start for ordered lists 2021-07-15 13:28:33 +02:00
Hans Pagel
97dd95199f history: code style 2021-07-14 23:51:53 +02:00
Markus Machatschek
a331d72383 Add russian undo/redo shortcuts and fix tests 2021-07-14 23:49:45 +02:00
Hans Pagel
dbe2a8370a collaboration cursor: fix type for clientId, fix #1582 2021-07-13 23:30:01 +02:00
BrianHung
1ac8353768 initialize task-item nodeview with dataset checked 2021-07-10 23:36:03 +02:00
BrianHung
6c1e705a7a update task-item.ts nodeview to update data-checked
#1156
2021-07-10 23:36:03 +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
Yousef
cb910f5add export createTable 2021-07-06 21:42:27 +02:00
Philipp Kühn
304080ce1c Publish
- @tiptap/react@2.0.0-beta.52
2021-06-24 19:59:34 +02:00
Philipp Kühn
44e47222a0 fix: check for destroyed editor before creating node views in react 2021-06-24 19:59:06 +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
c3cebfe752 Publish
- @tiptap/extension-text-align@2.0.0-beta.20
2021-06-18 12:34:01 +02:00
Philipp Kühn
b4e41afd17 fix: remove default types for textAlign extension, fix #1430
There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
2021-06-18 12:33:18 +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
ddb9a4bf18 fix: fix a bug where setting text align isn’t working when heading extension is not added 2021-06-17 17:34:06 +02:00
Philipp Kühn
108c081001 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.23
 - @tiptap/react@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.38
 - @tiptap/vue-3@2.0.0-beta.44
2021-06-15 19:07:39 +02:00
Philipp Kühn
f12b1273f2 fix: fix a bug where bubble menu does not appear when selection starts from empty paragraph node, fix #1474 2021-06-15 19:06:26 +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
philippkuehn
1b723ea57c ci: fix code style linting errors 2021-06-15 06:11:08 +00:00
shadow-light
5178172864
fix: Fix parsing of mention nodes (#1471) 2021-06-15 08:10:17 +02:00
Philipp Kühn
123f2067e5 fix: revert excluding superscript from subscript, and vice versa to prevent error if not both extensions are used 2021-06-14 23:47:31 +02:00
Philipp Kühn
697b2529d9 Publish
- @tiptap/extension-text-style@2.0.0-beta.15
2021-06-14 22:28:55 +02:00
Tom Boettger
fbf442269d
fix: Fix removal of textStyle mark when any style resets (#1465)
I built some extensions based on the textStyle extension but whenever I reset a style/attribute, the whole textStyle mark gets removed when there are still other styles defined in the mark.
2021-06-14 22:28:16 +02:00
Philipp Kühn
8624505ce1 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.36
 - @tiptap/vue-3@2.0.0-beta.42
2021-06-14 19:02:50 +02:00
Philipp Kühn
a3a7650784 fix: show bubble menu for atom nodes even if there is no text content, fix #1446 2021-06-14 18:58:10 +02:00
Philipp Kühn
6034eb9b30 fix: hide bubble menu on drag, fix #1443 2021-06-14 18:28:27 +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
3b78af44a0 feat: add renderLabel option to mention extension, see #1322 2021-06-14 16:40:17 +02:00
Philipp Kühn
c64761a9e5 BREAKING CHANGE: data-mention is not used to parse a mention id or label anymore 2021-06-14 16:22:09 +02:00
Philipp Kühn
299580a77d code style 2021-06-14 16:17:13 +02:00
philippkuehn
88329c8567 ci: fix code style linting errors 2021-06-14 14:14:00 +00:00
Tom Hartley
c3afe880ae
feat: add label attribute to mention extension (#1322) 2021-06-14 16:13:06 +02:00
Philipp Kühn
a3a847f711 code style 2021-06-14 16:06:49 +02:00
philippkuehn
15edaf0561 ci: fix code style linting errors 2021-06-14 14:03:29 +00:00
Philipp Kühn
55203d38eb
Merge pull request #1452 from YousefED/patch-2
use forwardRef for react wrappers
2021-06-14 16:02:45 +02:00
Philipp Kühn
acd789be0a code style 2021-06-14 16:00:32 +02:00
Philipp Kühn
1aabaf1b5d
Merge pull request #1444 from shadow-light/patch-2
Make drop cursor default to regular caret color
2021-06-14 15:59:53 +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
11b4866948 fix: don’t show placeholder if node contains only atom nodes, fix #1457 2021-06-14 15:07:17 +02:00
Philipp Kühn
fe24b6d7de dependencies: udpate 2021-06-14 15:02:26 +02:00
Yousef
df8310407d
Update NodeViewWrapper.tsx 2021-06-11 08:33:35 +02:00
Yousef
cc6bc0fa40
Update NodeViewContent.tsx 2021-06-11 08:33:22 +02:00
Yousef
deb79ea729
NodeViewContent forwardRef 2021-06-11 08:06:44 +02:00
Yousef
83525ec4f1
NodeViewWrapper forwardRef 2021-06-11 08:04:53 +02:00
shadow-light
4fdeb944a2
Make drop cursor default to regular caret color
Currently drop cursor defaults to black rather than the text color, which is what normal carets default to. Using `currentcolor` should provide a better default value.
2021-06-10 09:56:06 +10:00
Philipp Kühn
cf372f9449 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.2
 - @tiptap/extension-superscript@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.35
 - @tiptap/vue-3@2.0.0-beta.41
2021-06-09 11:07:01 +02:00
Philipp Kühn
87a8b6fda8 fix types 2021-06-09 11:05:41 +02:00
Philipp Kühn
c24ed30cad dependencies: update 2021-06-09 11:00:44 +02:00
Philipp Kühn
887651d005
Merge pull request #1437 from BrianHung/superscript-subscript-keyboard-shortcuts
Add keyboard shortcuts to toggle superscript and subscript marks.
2021-06-09 10:58:03 +02:00
Brian Hung
f3a94e1db4 Add keyboard shortcuts to toggle superscript and subscript marks. 2021-06-08 21:23:58 -07:00
Brian Hung
ec11554c09 Exclude superscript from subscript, and vice versa. 2021-06-08 18:47:04 -07:00
Hans Pagel
3f57a13d19 feature: add subscript and superscript extensions, docs and tests 2021-06-08 14:52:38 +02:00
shadow-light
c531c5a797
Fix name of FloatingMenu 2021-06-08 09:53:05 +10: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
f038b94fba Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.28
2021-06-03 21:23:15 +02:00
Philipp Kühn
38f3601e6f Revert "feat: update lowlight to v2"
This reverts commit 7e96d98a21.
2021-06-03 21:20:36 +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
c949fb6c7f remove log 2021-06-03 09:59:03 +02:00
Philipp Kühn
c8037b6c9d debug 2021-06-03 09:42:15 +02:00
Philipp Kühn
7e7af06806 add logging 2021-06-03 09:30:41 +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
Philipp Kühn
86fa519ed3 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-31 20:49:52 +02:00
Philipp Kühn
7e96d98a21 feat: update lowlight to v2 2021-05-31 20:49:42 +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
a66db3eaa9 Publish
- @tiptap/react@2.0.0-beta.45
2021-05-29 20:14:28 +02:00
Philipp Kühn
78f75c3e0e fix: maybe move content dom on update, fix #1370 2021-05-29 20:12:21 +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
3606eb9d02 Publish
- @tiptap/react@2.0.0-beta.44
2021-05-28 15:01:41 +02:00
Philipp Kühn
60708a7817 fix: maybe move content dom on update, see #1370 2021-05-28 15:00:51 +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
c58a753e94 fix: prevent checkbox change when editor isn’t editable, fix #1386 2021-05-27 18:33:15 +02:00
akirarika
93ccf0e315 a small clerical error? 2021-05-26 16:56:41 +08:00
Yousef
bdd6e2b87c
Allow passing of DependencyList to useEditor
in case the options depend on props of the consuming component, it would be nice to be able to pass a dependencylist to `useEditor`. Unless there's a better way to handle dependency updates
2021-05-25 14:51:36 +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
0f299d228e fix: move all child nodes within EditorContent 2021-05-18 23:41:54 +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
Philipp Kühn
9b198912f0 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-18 19:25:23 +02:00
Philipp Kühn
0d9e488836 fix: add support for using suggestions at top level, fix #1340 2021-05-18 19:25:20 +02:00
Priestch
96a060eefd
docs: fix typo (#1339) 2021-05-18 18:36:18 +02:00
Philipp Kühn
a412d43cae Publish
- @tiptap/react@2.0.0-beta.39
2021-05-18 15:11:59 +02:00
Philipp Kühn
8979143c37 fix: add prop support for EditorContent, fix #1332 2021-05-18 15:09:15 +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
503d730b1a Publish
- @tiptap/extension-placeholder@2.0.0-beta.17
2021-05-13 21:26:32 +02:00
Philipp Kühn
456f2b702b fix: check for empty text, fix #1292 2021-05-13 21:25:33 +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
Philipp Kühn
5d329cb80c dependencies: update 2021-05-13 20:32:57 +02:00
Philipp Kühn
64d4a39de6 Publish
- @tiptap/core@2.0.0-beta.59
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.59
 - @tiptap/react@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.56
2021-05-13 20:29:20 +02:00
Philipp Kühn
fe03d9c455 bump versions 2021-05-13 20:28:05 +02:00
Philipp Kühn
7baac2bc67 Publish
- @tiptap/core@2.0.0-beta.57
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.57
 - @tiptap/react@2.0.0-beta.35
 - @tiptap/starter-kit@2.0.0-beta.54
2021-05-13 20:25:39 +02:00
Philipp Kühn
6a5f5da2d7 add changelog 2021-05-13 20:24:55 +02:00
Andrea Vaccari
655957d733 fix(core): Increment i in defaultBlockAt 2021-05-13 11:39:26 -05:00
Philipp Kühn
185e1c40af refactor: remove ts-ignore 2021-05-13 15:02:22 +02:00
Philipp Kühn
ac060723dc dependencies: update 2021-05-13 15:02:09 +02:00
Philipp Kühn
543189034a Publish
- @tiptap/core@2.0.0-beta.56
 - @tiptap/extension-blockquote@2.0.0-beta.12
 - @tiptap/extension-bold@2.0.0-beta.12
 - @tiptap/extension-bubble-menu@2.0.0-beta.16
 - @tiptap/extension-bullet-list@2.0.0-beta.12
 - @tiptap/extension-character-count@2.0.0-beta.11
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.19
 - @tiptap/extension-code-block@2.0.0-beta.14
 - @tiptap/extension-code@2.0.0-beta.12
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.18
 - @tiptap/extension-collaboration@2.0.0-beta.17
 - @tiptap/extension-document@2.0.0-beta.11
 - @tiptap/extension-dropcursor@2.0.0-beta.12
 - @tiptap/extension-floating-menu@2.0.0-beta.13
 - @tiptap/extension-focus@2.0.0-beta.17
 - @tiptap/extension-font-family@2.0.0-beta.11
 - @tiptap/extension-gapcursor@2.0.0-beta.16
 - @tiptap/extension-hard-break@2.0.0-beta.12
 - @tiptap/extension-heading@2.0.0-beta.12
 - @tiptap/extension-highlight@2.0.0-beta.12
 - @tiptap/extension-history@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.15
 - @tiptap/extension-image@2.0.0-beta.12
 - @tiptap/extension-italic@2.0.0-beta.12
 - @tiptap/extension-link@2.0.0-beta.16
 - @tiptap/extension-list-item@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.54
 - @tiptap/extension-ordered-list@2.0.0-beta.12
 - @tiptap/extension-paragraph@2.0.0-beta.13
 - @tiptap/extension-placeholder@2.0.0-beta.16
 - @tiptap/extension-strike@2.0.0-beta.13
 - @tiptap/extension-table-cell@2.0.0-beta.12
 - @tiptap/extension-table-header@2.0.0-beta.14
 - @tiptap/extension-table-row@2.0.0-beta.12
 - @tiptap/extension-table@2.0.0-beta.19
 - @tiptap/extension-task-item@2.0.0-beta.14
 - @tiptap/extension-task-list@2.0.0-beta.14
 - @tiptap/extension-text-align@2.0.0-beta.16
 - @tiptap/extension-text-style@2.0.0-beta.12
 - @tiptap/extension-text@2.0.0-beta.11
 - @tiptap/extension-typography@2.0.0-beta.11
 - @tiptap/extension-underline@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.56
 - @tiptap/react@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.54
 - @tiptap/vue-2@2.0.0-beta.28
 - @tiptap/vue-3@2.0.0-beta.34
2021-05-13 14:51:00 +02:00
Philipp Kühn
a35b2533eb fix: fix a bug in detecting a current list in toggleList command 2021-05-13 14:43:27 +02:00
Philipp Kühn
33cd806a86 Publish
- @tiptap/core@2.0.0-beta.55
 - @tiptap/extension-text-align@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.55
 - @tiptap/starter-kit@2.0.0-beta.52
2021-05-11 17:59:17 +02:00
Philipp Kühn
d3b704f25f refactor: change sort of code 2021-05-11 17:15:23 +02:00
Philipp Kühn
592ea65f8b fix whitespace 2021-05-11 17:05:13 +02:00
Philipp Kühn
8a245f563e
Merge pull request #1251 from robguthrie/patch-1
When text align is default, don't add a style attribute
2021-05-11 17:04:30 +02:00
Philipp Kühn
2a79f59c6d
Merge pull request #1301 from zcuric/feature/export-mark-helpers
feat: export mark helpers
2021-05-11 17:04:01 +02:00
Philipp Kühn
655c5647f0 fix: fix a bug when configurating the same extension multiple times 2021-05-11 17:03:34 +02:00
Zdravko Curic
313ab0eac7 feat: export mark helpers 2021-05-11 11:22:28 +02:00
Philipp Kühn
1646f6efc1 Publish
- @tiptap/core@2.0.0-beta.54
 - @tiptap/extension-collaboration@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.51
2021-05-10 00:22:57 +02:00
Philipp Kühn
b4e2b6fc9d fix: set correct priority when extending extensions, fix #1288 2021-05-10 00:13:32 +02:00
Philipp Kühn
bf50af4cf6 fix: add warn message when using collab and history extension together 2021-05-09 23:49:20 +02:00
Philipp Kühn
5f6e81ebe7 Publish
- @tiptap/core@2.0.0-beta.53
 - @tiptap/extension-link@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.50
2021-05-07 11:11:27 +02:00
Philipp Kühn
072905cb95 feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes 2021-05-07 11:10:18 +02:00
Philipp Kühn
bb66822c19 Publish
- @tiptap/core@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.52
 - @tiptap/starter-kit@2.0.0-beta.49
2021-05-07 10:46:01 +02:00
Philipp Kühn
b0755cbad6
Merge pull request #1273 from ueberdosis/feature/generate-json-from-html
New Feature: Generate JSON from HTML
2021-05-07 10:37:17 +02:00
Philipp Kühn
0610fce06a
Merge pull request #1278 from zcuric/main
feat: expose node helpers
2021-05-07 10:35:34 +02:00
Philipp Kühn
8e92806c3d Publish
- @tiptap/extension-mention@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.53
2021-05-07 10:34:26 +02:00
Philipp Kühn
a03a01ab04 fix: move @tiptap/core to peerDependency 2021-05-07 10:34:00 +02:00
Philipp Kühn
bc24317f06 Publish
- @tiptap/core@2.0.0-beta.51
 - @tiptap/extension-mention@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.48
 - @tiptap/suggestion@2.0.0-beta.52
2021-05-07 10:27:45 +02:00
Philipp Kühn
129ad83167 fix: add support for priority and nested extension for getSchema 2021-05-07 10:25:55 +02:00
Philipp Kühn
cbc0dd8920 fix: remove editor from addExtensions context 2021-05-07 10:24:48 +02:00
Philipp Kühn
243dc5e216 Publish
- @tiptap/core@2.0.0-beta.50
 - @tiptap/extension-mention@2.0.0-beta.51
 - @tiptap/html@2.0.0-beta.50
 - @tiptap/starter-kit@2.0.0-beta.47
 - @tiptap/suggestion@2.0.0-beta.51
2021-05-07 10:11:43 +02:00
Philipp Kühn
ae17bd101c refactoring 2021-05-07 10:08:30 +02:00
Philipp Kühn
7ddc5d7076 Publish
- @tiptap/core@2.0.0-beta.49
 - @tiptap/extension-blockquote@2.0.0-beta.11
 - @tiptap/extension-bold@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.15
 - @tiptap/extension-bullet-list@2.0.0-beta.11
 - @tiptap/extension-character-count@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.18
 - @tiptap/extension-code-block@2.0.0-beta.13
 - @tiptap/extension-code@2.0.0-beta.11
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.17
 - @tiptap/extension-collaboration@2.0.0-beta.15
 - @tiptap/extension-document@2.0.0-beta.10
 - @tiptap/extension-dropcursor@2.0.0-beta.11
 - @tiptap/extension-floating-menu@2.0.0-beta.12
 - @tiptap/extension-focus@2.0.0-beta.16
 - @tiptap/extension-font-family@2.0.0-beta.10
 - @tiptap/extension-gapcursor@2.0.0-beta.15
 - @tiptap/extension-hard-break@2.0.0-beta.11
 - @tiptap/extension-heading@2.0.0-beta.11
 - @tiptap/extension-highlight@2.0.0-beta.11
 - @tiptap/extension-history@2.0.0-beta.10
 - @tiptap/extension-horizontal-rule@2.0.0-beta.14
 - @tiptap/extension-image@2.0.0-beta.11
 - @tiptap/extension-italic@2.0.0-beta.11
 - @tiptap/extension-link@2.0.0-beta.14
 - @tiptap/extension-list-item@2.0.0-beta.11
 - @tiptap/extension-mention@2.0.0-beta.50
 - @tiptap/extension-ordered-list@2.0.0-beta.11
 - @tiptap/extension-paragraph@2.0.0-beta.12
 - @tiptap/extension-placeholder@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.12
 - @tiptap/extension-table-cell@2.0.0-beta.11
 - @tiptap/extension-table-header@2.0.0-beta.13
 - @tiptap/extension-table-row@2.0.0-beta.11
 - @tiptap/extension-table@2.0.0-beta.18
 - @tiptap/extension-task-item@2.0.0-beta.13
 - @tiptap/extension-task-list@2.0.0-beta.13
 - @tiptap/extension-text-align@2.0.0-beta.14
 - @tiptap/extension-text-style@2.0.0-beta.11
 - @tiptap/extension-text@2.0.0-beta.10
 - @tiptap/extension-typography@2.0.0-beta.10
 - @tiptap/extension-underline@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.49
 - @tiptap/react@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.46
 - @tiptap/suggestion@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.27
 - @tiptap/vue-3@2.0.0-beta.33
2021-05-07 10:06:42 +02:00
Philipp Kühn
bc320d0b4b fix: revert adding exports 2021-05-07 10:02:04 +02:00
Philipp Kühn
7da647d99f fix: fix a bug that messed up pasted link attributes, fix #1284 2021-05-07 09:54:40 +02:00
Philipp Kühn
c86e4119cd Publish
- @tiptap/core@2.0.0-beta.48
 - @tiptap/extension-blockquote@2.0.0-beta.10
 - @tiptap/extension-bold@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.10
 - @tiptap/extension-character-count@2.0.0-beta.9
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.17
 - @tiptap/extension-code-block@2.0.0-beta.12
 - @tiptap/extension-code@2.0.0-beta.10
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.16
 - @tiptap/extension-collaboration@2.0.0-beta.14
 - @tiptap/extension-document@2.0.0-beta.9
 - @tiptap/extension-dropcursor@2.0.0-beta.10
 - @tiptap/extension-floating-menu@2.0.0-beta.11
 - @tiptap/extension-focus@2.0.0-beta.15
 - @tiptap/extension-font-family@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.14
 - @tiptap/extension-hard-break@2.0.0-beta.10
 - @tiptap/extension-heading@2.0.0-beta.10
 - @tiptap/extension-highlight@2.0.0-beta.10
 - @tiptap/extension-history@2.0.0-beta.9
 - @tiptap/extension-horizontal-rule@2.0.0-beta.13
 - @tiptap/extension-image@2.0.0-beta.10
 - @tiptap/extension-italic@2.0.0-beta.10
 - @tiptap/extension-link@2.0.0-beta.13
 - @tiptap/extension-list-item@2.0.0-beta.10
 - @tiptap/extension-mention@2.0.0-beta.49
 - @tiptap/extension-ordered-list@2.0.0-beta.10
 - @tiptap/extension-paragraph@2.0.0-beta.11
 - @tiptap/extension-placeholder@2.0.0-beta.14
 - @tiptap/extension-strike@2.0.0-beta.11
 - @tiptap/extension-table-cell@2.0.0-beta.10
 - @tiptap/extension-table-header@2.0.0-beta.12
 - @tiptap/extension-table-row@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.17
 - @tiptap/extension-task-item@2.0.0-beta.12
 - @tiptap/extension-task-list@2.0.0-beta.12
 - @tiptap/extension-text-align@2.0.0-beta.13
 - @tiptap/extension-text-style@2.0.0-beta.10
 - @tiptap/extension-text@2.0.0-beta.9
 - @tiptap/extension-typography@2.0.0-beta.9
 - @tiptap/extension-underline@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.48
 - @tiptap/react@2.0.0-beta.32
 - @tiptap/starter-kit@2.0.0-beta.45
 - @tiptap/suggestion@2.0.0-beta.49
 - @tiptap/vue-2@2.0.0-beta.26
 - @tiptap/vue-3@2.0.0-beta.32
2021-05-06 23:24:15 +02:00
Philipp Kühn
f8d6475e21 fix: revert adding type: module 2021-05-06 23:21:11 +02:00
Philipp Kühn
fb1196c7a7 Publish
- @tiptap/core@2.0.0-beta.47
 - @tiptap/extension-blockquote@2.0.0-beta.9
 - @tiptap/extension-bold@2.0.0-beta.9
 - @tiptap/extension-bubble-menu@2.0.0-beta.13
 - @tiptap/extension-bullet-list@2.0.0-beta.9
 - @tiptap/extension-character-count@2.0.0-beta.8
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.16
 - @tiptap/extension-code-block@2.0.0-beta.11
 - @tiptap/extension-code@2.0.0-beta.9
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.15
 - @tiptap/extension-collaboration@2.0.0-beta.13
 - @tiptap/extension-document@2.0.0-beta.8
 - @tiptap/extension-dropcursor@2.0.0-beta.9
 - @tiptap/extension-floating-menu@2.0.0-beta.10
 - @tiptap/extension-focus@2.0.0-beta.14
 - @tiptap/extension-font-family@2.0.0-beta.8
 - @tiptap/extension-gapcursor@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.9
 - @tiptap/extension-heading@2.0.0-beta.9
 - @tiptap/extension-highlight@2.0.0-beta.9
 - @tiptap/extension-history@2.0.0-beta.8
 - @tiptap/extension-horizontal-rule@2.0.0-beta.12
 - @tiptap/extension-image@2.0.0-beta.9
 - @tiptap/extension-italic@2.0.0-beta.9
 - @tiptap/extension-link@2.0.0-beta.12
 - @tiptap/extension-list-item@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.48
 - @tiptap/extension-ordered-list@2.0.0-beta.9
 - @tiptap/extension-paragraph@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.13
 - @tiptap/extension-strike@2.0.0-beta.10
 - @tiptap/extension-table-cell@2.0.0-beta.9
 - @tiptap/extension-table-header@2.0.0-beta.11
 - @tiptap/extension-table-row@2.0.0-beta.9
 - @tiptap/extension-table@2.0.0-beta.16
 - @tiptap/extension-task-item@2.0.0-beta.11
 - @tiptap/extension-task-list@2.0.0-beta.11
 - @tiptap/extension-text-align@2.0.0-beta.12
 - @tiptap/extension-text-style@2.0.0-beta.9
 - @tiptap/extension-text@2.0.0-beta.8
 - @tiptap/extension-typography@2.0.0-beta.8
 - @tiptap/extension-underline@2.0.0-beta.10
 - @tiptap/html@2.0.0-beta.47
 - @tiptap/react@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.44
 - @tiptap/suggestion@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.25
 - @tiptap/vue-3@2.0.0-beta.31
2021-05-06 23:00:19 +02:00
Philipp Kühn
1277fa4715 fix: add exports to package.json 2021-05-06 22:51:46 +02:00
Robert Guthrie
3d0226fadf
Update packages/extension-text-align/src/text-align.ts
Co-authored-by: Zdravko Curic <zcuric@users.noreply.github.com>
2021-05-07 08:06:28 +12:00
Philipp Kühn
78b336dea4 Publish
- @tiptap/core@2.0.0-beta.46
 - @tiptap/extension-mention@2.0.0-beta.47
 - @tiptap/html@2.0.0-beta.46
 - @tiptap/starter-kit@2.0.0-beta.43
 - @tiptap/suggestion@2.0.0-beta.47
2021-05-06 18:52:39 +02:00
Philipp Kühn
21384fc7a6 feat: add StarterKit extension 2021-05-06 18:41:05 +02:00
Philipp Kühn
26e672e2f0 feat: add addExtensions option 2021-05-06 18:39:47 +02:00
Zdravko Curic
6048f9b31b feat: expose node helpers to core 2021-05-06 14:52:44 +02:00
Philipp Kühn
9718002875 Publish
- @tiptap/core@2.0.0-beta.45
 - @tiptap/extension-blockquote@2.0.0-beta.8
 - @tiptap/extension-bold@2.0.0-beta.8
 - @tiptap/extension-bubble-menu@2.0.0-beta.12
 - @tiptap/extension-bullet-list@2.0.0-beta.8
 - @tiptap/extension-character-count@2.0.0-beta.7
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.15
 - @tiptap/extension-code-block@2.0.0-beta.10
 - @tiptap/extension-code@2.0.0-beta.8
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.14
 - @tiptap/extension-collaboration@2.0.0-beta.12
 - @tiptap/extension-document@2.0.0-beta.7
 - @tiptap/extension-dropcursor@2.0.0-beta.8
 - @tiptap/extension-floating-menu@2.0.0-beta.9
 - @tiptap/extension-focus@2.0.0-beta.13
 - @tiptap/extension-font-family@2.0.0-beta.7
 - @tiptap/extension-gapcursor@2.0.0-beta.12
 - @tiptap/extension-hard-break@2.0.0-beta.8
 - @tiptap/extension-heading@2.0.0-beta.8
 - @tiptap/extension-highlight@2.0.0-beta.8
 - @tiptap/extension-history@2.0.0-beta.7
 - @tiptap/extension-horizontal-rule@2.0.0-beta.11
 - @tiptap/extension-image@2.0.0-beta.8
 - @tiptap/extension-italic@2.0.0-beta.8
 - @tiptap/extension-link@2.0.0-beta.11
 - @tiptap/extension-list-item@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.46
 - @tiptap/extension-ordered-list@2.0.0-beta.8
 - @tiptap/extension-paragraph@2.0.0-beta.9
 - @tiptap/extension-placeholder@2.0.0-beta.12
 - @tiptap/extension-strike@2.0.0-beta.9
 - @tiptap/extension-table-cell@2.0.0-beta.8
 - @tiptap/extension-table-header@2.0.0-beta.10
 - @tiptap/extension-table-row@2.0.0-beta.8
 - @tiptap/extension-table@2.0.0-beta.15
 - @tiptap/extension-task-item@2.0.0-beta.10
 - @tiptap/extension-task-list@2.0.0-beta.10
 - @tiptap/extension-text-align@2.0.0-beta.11
 - @tiptap/extension-text-style@2.0.0-beta.8
 - @tiptap/extension-text@2.0.0-beta.7
 - @tiptap/extension-typography@2.0.0-beta.7
 - @tiptap/extension-underline@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.45
 - @tiptap/react@2.0.0-beta.30
 - @tiptap/starter-kit@2.0.0-beta.42
 - @tiptap/suggestion@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.24
 - @tiptap/vue-3@2.0.0-beta.30
2021-05-06 09:57:52 +02:00
Philipp Kühn
6472d2c271 fix: add CellSelection support for bubble menu 2021-05-06 09:54:35 +02:00
Philipp Kühn
9399e3061f remove some deprecated commands 2021-05-05 23:45:17 +02:00
Hans Pagel
a9c0bf5982 add a generateJSON utility to the HTML package 2021-05-05 23:10:45 +02:00
Hans Pagel
7feb19eb72 feature: add generateJSON utility function to generate JSON from a HTML string 2021-05-05 21:24:24 +02:00
Philipp Kühn
c64520b74d Publish
- @tiptap/core@2.0.0-beta.44
 - @tiptap/extension-blockquote@2.0.0-beta.7
 - @tiptap/extension-bold@2.0.0-beta.7
 - @tiptap/extension-bubble-menu@2.0.0-beta.11
 - @tiptap/extension-bullet-list@2.0.0-beta.7
 - @tiptap/extension-character-count@2.0.0-beta.6
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.14
 - @tiptap/extension-code-block@2.0.0-beta.9
 - @tiptap/extension-code@2.0.0-beta.7
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.13
 - @tiptap/extension-collaboration@2.0.0-beta.11
 - @tiptap/extension-document@2.0.0-beta.6
 - @tiptap/extension-dropcursor@2.0.0-beta.7
 - @tiptap/extension-floating-menu@2.0.0-beta.8
 - @tiptap/extension-focus@2.0.0-beta.12
 - @tiptap/extension-font-family@2.0.0-beta.6
 - @tiptap/extension-gapcursor@2.0.0-beta.11
 - @tiptap/extension-hard-break@2.0.0-beta.7
 - @tiptap/extension-heading@2.0.0-beta.7
 - @tiptap/extension-highlight@2.0.0-beta.7
 - @tiptap/extension-history@2.0.0-beta.6
 - @tiptap/extension-horizontal-rule@2.0.0-beta.10
 - @tiptap/extension-image@2.0.0-beta.7
 - @tiptap/extension-italic@2.0.0-beta.7
 - @tiptap/extension-link@2.0.0-beta.10
 - @tiptap/extension-list-item@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.45
 - @tiptap/extension-ordered-list@2.0.0-beta.7
 - @tiptap/extension-paragraph@2.0.0-beta.8
 - @tiptap/extension-placeholder@2.0.0-beta.11
 - @tiptap/extension-strike@2.0.0-beta.8
 - @tiptap/extension-table-cell@2.0.0-beta.7
 - @tiptap/extension-table-header@2.0.0-beta.9
 - @tiptap/extension-table-row@2.0.0-beta.7
 - @tiptap/extension-table@2.0.0-beta.14
 - @tiptap/extension-task-item@2.0.0-beta.9
 - @tiptap/extension-task-list@2.0.0-beta.9
 - @tiptap/extension-text-align@2.0.0-beta.10
 - @tiptap/extension-text-style@2.0.0-beta.7
 - @tiptap/extension-text@2.0.0-beta.6
 - @tiptap/extension-typography@2.0.0-beta.6
 - @tiptap/extension-underline@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.44
 - @tiptap/react@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.41
 - @tiptap/suggestion@2.0.0-beta.45
 - @tiptap/vue-2@2.0.0-beta.23
 - @tiptap/vue-3@2.0.0-beta.29
2021-05-05 21:05:29 +02:00
Philipp Kühn
33f8a57960 remove minified umd builds 2021-05-05 21:00:53 +02:00
Philipp Kühn
e9c9176032 refactoring 2021-05-05 20:50:08 +02:00
Philipp Kühn
86d570fb79 feat: remove deprecated commands insertHTML, insertNode and insertText 2021-05-05 20:50:01 +02:00
Philipp Kühn
0030f083b0 docs: update content 2021-05-05 19:42:47 +02:00
Philipp Kühn
55d430ef8f refactoring 2021-05-05 18:51:42 +02:00
Philipp Kühn
71740687f4 use replaceWith instead of replaceRangeWith in insertContentAt 2021-05-05 18:48:22 +02:00
Philipp Kühn
9320eaf05f Merge branch 'main' into feature/remove-replace-commands 2021-05-05 18:37:10 +02:00
Philipp Kühn
9b32e15a8f Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.28
2021-05-05 18:32:25 +02:00
Philipp Kühn
d5dd568d86 fix: fix lint error 2021-05-05 18:21:36 +02:00
Chris O'Sullivan
5c5680d00e Change how ref is handled in VueRenderer 2021-05-05 09:44:07 -05:00
Philipp Kühn
fda4c780d3 use insertContent in some extensions 2021-05-05 14:50:43 +02:00
Philipp Kühn
12b6f0e4f7 use tr.replaceRangeWith instead of tr.insert for insertContent command 2021-05-05 14:50:27 +02:00
Philipp Kühn
63b4e15b0c refactoring 2021-05-05 14:14:09 +02:00
Philipp Kühn
b5c51723ea remove insertText from insertContent 2021-05-05 14:13:58 +02:00
Philipp Kühn
63902d4bdb remove replaceRange from mention node 2021-05-05 13:49:32 +02:00
Philipp Kühn
ec838a11f2 improve Content type 2021-05-05 13:08:19 +02:00
Philipp Kühn
9ff7e2400e add insertContentAt command 2021-05-05 13:00:30 +02:00
Philipp Kühn
d955c9372a Publish
- @tiptap/core@2.0.0-beta.43
 - @tiptap/extension-link@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.44
 - @tiptap/html@2.0.0-beta.43
 - @tiptap/react@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.39
 - @tiptap/suggestion@2.0.0-beta.44
2021-05-05 09:46:38 +02:00
Philipp Kühn
5848e6a2d8 update dev dependencies 2021-05-05 09:44:40 +02:00
Philipp Kühn
9e9401e68b feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 2021-05-05 09:33:52 +02:00
Philipp Kühn
b131330ca1 don’t check for canReplaceWith within replaceRange 2021-05-04 20:51:32 +02:00
Philipp Kühn
e0895bd919 Publish
- @tiptap/core@2.0.0-beta.42
 - @tiptap/extension-bubble-menu@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.43
 - @tiptap/extension-placeholder@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.42
 - @tiptap/react@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.38
 - @tiptap/suggestion@2.0.0-beta.43
 - @tiptap/vue-2@2.0.0-beta.22
 - @tiptap/vue-3@2.0.0-beta.27
2021-05-04 11:09:39 +02:00
Philipp Kühn
0e1d6d41fe refactoring 2021-05-04 11:03:11 +02:00
Philipp Kühn
a96e0c2816
Merge pull request #1253 from zcuric/main
feat: better types for Vue 2
2021-05-04 10:54:58 +02:00
Philipp Kühn
b3fb0228e0 fix: ignore editable in dispatchTransaction, fix #1239 2021-05-04 10:46:32 +02:00
Zdravko Curic
23a152a8df feat: better types for Vue 2 2021-05-03 15:11:26 +02:00
Philipp Kühn
80cf8bb71b throw error for missing mark/node type 2021-05-03 09:50:57 +02:00
Philipp Kühn
d4c0e4a51c dependencies: update 2021-05-03 09:30:46 +02:00
Philipp Kühn
335a75e3f3
Merge pull request #1252 from Markario/patch-1
Fix returning true/false in can().chain().run()
2021-05-03 09:14:37 +02:00
Mark Zepeda
7426be019e
Fix returning true/false in can().chain().run()
I think this was previously meant to return a function in the proxy object getter, but now it's a standalone function and should return the result of the callbacks.
2021-05-02 20:04:10 -05:00
Robert Guthrie
5bb499eba8
When text align is default, don't add a style attribute 2021-05-03 11:54:03 +12:00
chrisarmstrong
823b67b1e6
Make compatible with Typography extension
They Typography extension automatically converts two hyphens `--` into an em dash `–`, which means typing three hyphens in a row results in an em dash and a hyphen `–-`, instead of triggering an hr. 

I propose adding the `–-` pattern to this `nodeInputRule` so typing three hyphens in a row will still trigger an hr, even if 'smart dashes' are enabled via the Typography extension or otherwise.
2021-04-28 10:05:48 +01:00
Philipp Kühn
8393342b19 Publish
- @tiptap/core@2.0.0-beta.41
 - @tiptap/extension-mention@2.0.0-beta.42
 - @tiptap/html@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.37
 - @tiptap/suggestion@2.0.0-beta.42
2021-04-27 22:03:23 +02:00
Philipp Kühn
0b67f18e3a fix: fix onBeforeCreate event handler, fix #1236 2021-04-27 21:52:22 +02:00
Philipp Kühn
c90e522934 Publish
- @tiptap/core@2.0.0-beta.40
 - @tiptap/extension-mention@2.0.0-beta.41
 - @tiptap/extension-table@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.36
 - @tiptap/suggestion@2.0.0-beta.41
2021-04-27 21:10:32 +02:00
Philipp Kühn
234d23887b fix: prevent a bug for node views when pressing enter on iOS, fix #1214 2021-04-27 21:07:12 +02:00
Philipp Kühn
fb3990d333 use minMax fo selection commands 2021-04-27 11:52:50 +02:00
Philipp Kühn
eb7e92f10a feat: add setCellSelection command 2021-04-27 11:41:38 +02:00
Philipp Kühn
811bf693eb feat: add setNodeSelection and setTextSelection commands 2021-04-27 11:41:24 +02:00
Philipp Kühn
fe61a6e3d8 Publish
- @tiptap/core@2.0.0-beta.39
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.40
 - @tiptap/extension-placeholder@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.39
 - @tiptap/react@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.35
 - @tiptap/suggestion@2.0.0-beta.40
2021-04-27 10:55:02 +02:00
Philipp Kühn
592892edd1 fix: add correct type for parseOptions 2021-04-26 23:43:32 +02:00
Philipp Kühn
26785dbec0 fix: fix type error for commands 2021-04-26 23:33:45 +02:00
Philipp Kühn
ebb00f4f9d dependencies: update 2021-04-26 23:25:04 +02:00
Philipp Kühn
9a40c17b34 fix: set correct type for emitUpdate 2021-04-25 21:04:26 +02:00
Philipp Kühn
ef51852e6a Publish
- @tiptap/react@2.0.0-beta.25
2021-04-23 23:42:16 +02:00
Philipp Kühn
cfb3b80f63 fix: allow passing props to NodeViewWrapper and NodeViewContent 2021-04-23 23:38:38 +02:00
Philipp Kühn
bd9e15d78f Publish
- @tiptap/core@2.0.0-beta.38
 - @tiptap/extension-blockquote@2.0.0-beta.6
 - @tiptap/extension-bold@2.0.0-beta.6
 - @tiptap/extension-bubble-menu@2.0.0-beta.9
 - @tiptap/extension-bullet-list@2.0.0-beta.6
 - @tiptap/extension-character-count@2.0.0-beta.5
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.11
 - @tiptap/extension-code-block@2.0.0-beta.8
 - @tiptap/extension-code@2.0.0-beta.6
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.12
 - @tiptap/extension-collaboration@2.0.0-beta.10
 - @tiptap/extension-document@2.0.0-beta.5
 - @tiptap/extension-dropcursor@2.0.0-beta.6
 - @tiptap/extension-floating-menu@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.10
 - @tiptap/extension-font-family@2.0.0-beta.5
 - @tiptap/extension-gapcursor@2.0.0-beta.10
 - @tiptap/extension-hard-break@2.0.0-beta.6
 - @tiptap/extension-heading@2.0.0-beta.6
 - @tiptap/extension-highlight@2.0.0-beta.6
 - @tiptap/extension-history@2.0.0-beta.5
 - @tiptap/extension-horizontal-rule@2.0.0-beta.7
 - @tiptap/extension-image@2.0.0-beta.6
 - @tiptap/extension-italic@2.0.0-beta.6
 - @tiptap/extension-link@2.0.0-beta.8
 - @tiptap/extension-list-item@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.39
 - @tiptap/extension-ordered-list@2.0.0-beta.6
 - @tiptap/extension-paragraph@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.8
 - @tiptap/extension-strike@2.0.0-beta.7
 - @tiptap/extension-table-cell@2.0.0-beta.6
 - @tiptap/extension-table-header@2.0.0-beta.8
 - @tiptap/extension-table-row@2.0.0-beta.6
 - @tiptap/extension-table@2.0.0-beta.11
 - @tiptap/extension-task-item@2.0.0-beta.8
 - @tiptap/extension-task-list@2.0.0-beta.8
 - @tiptap/extension-text-align@2.0.0-beta.9
 - @tiptap/extension-text-style@2.0.0-beta.6
 - @tiptap/extension-text@2.0.0-beta.5
 - @tiptap/extension-typography@2.0.0-beta.5
 - @tiptap/extension-underline@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.38
 - @tiptap/react@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.34
 - @tiptap/suggestion@2.0.0-beta.39
 - @tiptap/vue-2@2.0.0-beta.21
 - @tiptap/vue-3@2.0.0-beta.26
2021-04-23 23:10:36 +02:00
Philipp Kühn
b84a56a84a fix: improve isActive check for floating menu when using custom doc content, fix #1205 2021-04-23 23:01:53 +02:00
Philipp Kühn
888cce2e4c refactor: don’t use destructuring for props 2021-04-23 20:50:01 +02:00
Philipp Kühn
20f870dc9d Publish
- @tiptap/core@2.0.0-beta.37
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.11
 - @tiptap/extension-collaboration@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.38
 - @tiptap/extension-task-item@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.38
2021-04-23 09:02:06 +02:00
Philipp Kühn
cfd29fac86 fix: better merge mark attributes for existing marks, fix #1039 2021-04-23 08:58:03 +02:00
Philipp Kühn
5e53e444d5 refactor: use chain on checkbox click 2021-04-22 23:10:54 +02:00
Philipp Kühn
d6b6f5bd8e dependencies: update 2021-04-22 21:28:10 +02:00
Philipp Kühn
4b68a369a1 Publish
- @tiptap/core@2.0.0-beta.36
 - @tiptap/extension-blockquote@2.0.0-beta.5
 - @tiptap/extension-bold@2.0.0-beta.5
 - @tiptap/extension-bubble-menu@2.0.0-beta.8
 - @tiptap/extension-bullet-list@2.0.0-beta.5
 - @tiptap/extension-character-count@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.10
 - @tiptap/extension-code-block@2.0.0-beta.7
 - @tiptap/extension-code@2.0.0-beta.5
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.10
 - @tiptap/extension-collaboration@2.0.0-beta.8
 - @tiptap/extension-document@2.0.0-beta.4
 - @tiptap/extension-dropcursor@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.5
 - @tiptap/extension-focus@2.0.0-beta.9
 - @tiptap/extension-font-family@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.9
 - @tiptap/extension-hard-break@2.0.0-beta.5
 - @tiptap/extension-heading@2.0.0-beta.5
 - @tiptap/extension-highlight@2.0.0-beta.5
 - @tiptap/extension-history@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.6
 - @tiptap/extension-image@2.0.0-beta.5
 - @tiptap/extension-italic@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.7
 - @tiptap/extension-list-item@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.37
 - @tiptap/extension-ordered-list@2.0.0-beta.5
 - @tiptap/extension-paragraph@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.7
 - @tiptap/extension-strike@2.0.0-beta.6
 - @tiptap/extension-table-cell@2.0.0-beta.5
 - @tiptap/extension-table-header@2.0.0-beta.7
 - @tiptap/extension-table-row@2.0.0-beta.5
 - @tiptap/extension-table@2.0.0-beta.10
 - @tiptap/extension-task-item@2.0.0-beta.6
 - @tiptap/extension-task-list@2.0.0-beta.7
 - @tiptap/extension-text-align@2.0.0-beta.8
 - @tiptap/extension-text-style@2.0.0-beta.5
 - @tiptap/extension-text@2.0.0-beta.4
 - @tiptap/extension-typography@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.36
 - @tiptap/react@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.32
 - @tiptap/suggestion@2.0.0-beta.37
 - @tiptap/vue-2@2.0.0-beta.20
 - @tiptap/vue-3@2.0.0-beta.25
2021-04-22 14:54:48 +02:00
Philipp Kühn
e885ffa15b fix: prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197 2021-04-22 14:23:48 +02:00
Philipp Kühn
8ed220a12d fix: fix a bug for empty node selection where the bubble menu should not be visible, fix #1023 2021-04-21 23:38:13 +02:00
Hans Pagel
f6a242438e replace link to GitHub repository 2021-04-21 15:31:11 +02:00
Philipp Kühn
8fd618a788 Publish
- @tiptap/core@2.0.0-beta.35
 - @tiptap/extension-blockquote@2.0.0-beta.4
 - @tiptap/extension-bold@2.0.0-beta.4
 - @tiptap/extension-bullet-list@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.9
 - @tiptap/extension-code-block@2.0.0-beta.6
 - @tiptap/extension-code@2.0.0-beta.4
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.8
 - @tiptap/extension-hard-break@2.0.0-beta.4
 - @tiptap/extension-heading@2.0.0-beta.4
 - @tiptap/extension-highlight@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.5
 - @tiptap/extension-image@2.0.0-beta.4
 - @tiptap/extension-italic@2.0.0-beta.4
 - @tiptap/extension-link@2.0.0-beta.6
 - @tiptap/extension-list-item@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.36
 - @tiptap/extension-ordered-list@2.0.0-beta.4
 - @tiptap/extension-paragraph@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.5
 - @tiptap/extension-table-cell@2.0.0-beta.4
 - @tiptap/extension-table-header@2.0.0-beta.6
 - @tiptap/extension-table-row@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.9
 - @tiptap/extension-task-item@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.35
 - @tiptap/react@2.0.0-beta.22
 - @tiptap/starter-kit@2.0.0-beta.31
 - @tiptap/suggestion@2.0.0-beta.36
 - @tiptap/vue-2@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.24
2021-04-21 09:54:20 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
d720d77e8d refactor: use name instead of magic string 2021-04-20 23:12:46 +02:00
Philipp Kühn
df43c1bc47 fix: add name to context 2021-04-20 23:12:21 +02:00
Philipp Kühn
a43d4c7bcb fix: add name to context 2021-04-20 23:12:15 +02:00
Philipp Kühn
12f60abb73 feat: add name to extension context 2021-04-20 23:11:35 +02:00
Philipp Kühn
92ced9f998 fix: don’t use state in KeyboardShortcutCommand anymore 2021-04-20 23:01:06 +02:00
Philipp Kühn
046d1ccb3b refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:59:16 +02:00
Philipp Kühn
9ca865a253 refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:58:59 +02:00
Philipp Kühn
e0c2460a96 feat: add editor prop to KeyboardShortcutCommand 2021-04-20 22:58:09 +02:00
Philipp Kühn
8bb30776bc Publish
- @tiptap/core@2.0.0-beta.34
 - @tiptap/extension-mention@2.0.0-beta.35
 - @tiptap/html@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.30
 - @tiptap/suggestion@2.0.0-beta.35
2021-04-20 17:21:53 +02:00
Philipp Kühn
4e6d43bbfb fix: fix a bug when dragging node views 2021-04-20 17:18:59 +02:00
Philipp Kühn
cc1f1a787a Publish
- @tiptap/core@2.0.0-beta.33
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.8
 - @tiptap/extension-collaboration@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.34
 - @tiptap/html@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.29
 - @tiptap/suggestion@2.0.0-beta.34
2021-04-20 11:50:54 +02:00
Philipp Kühn
b6852ad9ca depencencies: update 2021-04-20 09:35:34 +02:00
Philipp Kühn
aa002a012b fix: fix extension option merging 2021-04-17 21:25:29 +02:00
Philipp Kühn
148380b70d Publish
- @tiptap/extension-mention@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.23
2021-04-16 23:35:25 +02:00
Philipp Kühn
f6d8776ca0 fix: fix editor type for VueRenderer, fix #281 2021-04-16 23:34:29 +02:00
Philipp Kühn
07c6d51338 fix: fix type for clientRect 2021-04-16 23:33:30 +02:00
Philipp Kühn
ea9f541091 Publish
- @tiptap/core@2.0.0-beta.32
 - @tiptap/extension-blockquote@2.0.0-beta.3
 - @tiptap/extension-bold@2.0.0-beta.3
 - @tiptap/extension-bubble-menu@2.0.0-beta.7
 - @tiptap/extension-bullet-list@2.0.0-beta.3
 - @tiptap/extension-character-count@2.0.0-beta.3
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.8
 - @tiptap/extension-code-block@2.0.0-beta.5
 - @tiptap/extension-code@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.7
 - @tiptap/extension-collaboration@2.0.0-beta.6
 - @tiptap/extension-document@2.0.0-beta.3
 - @tiptap/extension-dropcursor@2.0.0-beta.4
 - @tiptap/extension-floating-menu@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.8
 - @tiptap/extension-font-family@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.7
 - @tiptap/extension-hard-break@2.0.0-beta.3
 - @tiptap/extension-heading@2.0.0-beta.3
 - @tiptap/extension-highlight@2.0.0-beta.3
 - @tiptap/extension-history@2.0.0-beta.3
 - @tiptap/extension-horizontal-rule@2.0.0-beta.4
 - @tiptap/extension-image@2.0.0-beta.3
 - @tiptap/extension-italic@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.5
 - @tiptap/extension-list-item@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.32
 - @tiptap/extension-ordered-list@2.0.0-beta.3
 - @tiptap/extension-paragraph@2.0.0-beta.4
 - @tiptap/extension-placeholder@2.0.0-beta.6
 - @tiptap/extension-strike@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.5
 - @tiptap/extension-table-row@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.8
 - @tiptap/extension-task-item@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.5
 - @tiptap/extension-text-align@2.0.0-beta.7
 - @tiptap/extension-text-style@2.0.0-beta.3
 - @tiptap/extension-text@2.0.0-beta.3
 - @tiptap/extension-typography@2.0.0-beta.3
 - @tiptap/extension-underline@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.32
 - @tiptap/react@2.0.0-beta.21
 - @tiptap/starter-kit@2.0.0-beta.28
 - @tiptap/suggestion@2.0.0-beta.32
 - @tiptap/vue-2@2.0.0-beta.18
 - @tiptap/vue-3@2.0.0-beta.22
2021-04-16 14:54:37 +02:00
Philipp Kühn
89b72b8608 refactoring: rename posToClientRect to posToDOMRect 2021-04-16 14:44:10 +02:00
Philipp Kühn
a0ba4542ef fix menu fade animations 2021-04-16 13:29:50 +02:00
Philipp Kühn
9f64015157 feat: remove resize event handler 2021-04-16 12:51:47 +02:00
Philipp Kühn
9a56f666a1 feat: add tippyOptions prop 2021-04-16 12:42:56 +02:00
Philipp Kühn
398fc7f210 fix: fix tippy for react 2021-04-16 11:34:37 +02:00
Philipp Kühn
3b5746a34c enable hideOnClick again 2021-04-16 11:14:30 +02:00
Philipp Kühn
54df2ce077 feat: use tippy for floating menu 2021-04-16 11:12:03 +02:00
Philipp Kühn
76b1e58657 refactor: code style 2021-04-16 11:11:41 +02:00
Philipp Kühn
d7282f168b feat: remove keepInBounds 2021-04-16 10:46:50 +02:00
Philipp Kühn
c28d8f7fad refactor: remove coordsAtPos from bubble menu extension 2021-04-16 09:57:23 +02:00
Philipp Kühn
8dab6144a6 feat: add coordsAtPos and posToClientRect helper methods 2021-04-16 09:56:52 +02:00
Philipp Kühn
cadabd09e0 Merge branch 'main' into feature/tippy-menus 2021-04-16 09:30:42 +02:00
Philipp Kühn
99d309030b Publish
- @tiptap/core@2.0.0-beta.31
 - @tiptap/extension-mention@2.0.0-beta.31
 - @tiptap/html@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.27
 - @tiptap/suggestion@2.0.0-beta.31
2021-04-16 00:19:17 +02:00
Philipp Kühn
4137e00d98 fix: fix type for emitUpdate, fix #276 2021-04-16 00:17:09 +02:00
Philipp Kühn
634c1ae493 Publish
- @tiptap/core@2.0.0-beta.30
 - @tiptap/extension-blockquote@2.0.0-beta.2
 - @tiptap/extension-bold@2.0.0-beta.2
 - @tiptap/extension-bubble-menu@2.0.0-beta.6
 - @tiptap/extension-bullet-list@2.0.0-beta.2
 - @tiptap/extension-character-count@2.0.0-beta.2
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.7
 - @tiptap/extension-code-block@2.0.0-beta.4
 - @tiptap/extension-code@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.6
 - @tiptap/extension-collaboration@2.0.0-beta.5
 - @tiptap/extension-document@2.0.0-beta.2
 - @tiptap/extension-dropcursor@2.0.0-beta.3
 - @tiptap/extension-floating-menu@2.0.0-beta.3
 - @tiptap/extension-focus@2.0.0-beta.7
 - @tiptap/extension-font-family@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.6
 - @tiptap/extension-hard-break@2.0.0-beta.2
 - @tiptap/extension-heading@2.0.0-beta.2
 - @tiptap/extension-highlight@2.0.0-beta.2
 - @tiptap/extension-history@2.0.0-beta.2
 - @tiptap/extension-horizontal-rule@2.0.0-beta.3
 - @tiptap/extension-image@2.0.0-beta.2
 - @tiptap/extension-italic@2.0.0-beta.2
 - @tiptap/extension-link@2.0.0-beta.4
 - @tiptap/extension-list-item@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.30
 - @tiptap/extension-ordered-list@2.0.0-beta.2
 - @tiptap/extension-paragraph@2.0.0-beta.3
 - @tiptap/extension-placeholder@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.3
 - @tiptap/extension-table-cell@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.4
 - @tiptap/extension-table-row@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.7
 - @tiptap/extension-task-item@2.0.0-beta.3
 - @tiptap/extension-task-list@2.0.0-beta.4
 - @tiptap/extension-text-align@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.2
 - @tiptap/extension-text@2.0.0-beta.2
 - @tiptap/extension-typography@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.30
 - @tiptap/react@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.26
 - @tiptap/suggestion@2.0.0-beta.30
 - @tiptap/vue-2@2.0.0-beta.17
 - @tiptap/vue-3@2.0.0-beta.21
2021-04-15 23:45:50 +02:00
Philipp Kühn
afe12f1603 fix attributes 2021-04-15 23:14:47 +02:00
Philipp Kühn
08974c6332 fix lint errors 2021-04-15 22:58:13 +02:00
Philipp Kühn
998356a530 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/add-hierarchy-to-extensions
# Conflicts:
#	packages/extension-code-block-lowlight/src/code-block-lowlight.ts
2021-04-15 22:57:04 +02:00
Philipp Kühn
b3596582da fix some more errors 2021-04-15 22:53:02 +02:00
Philipp Kühn
bc35016728 wip: use parent for code bleock highlight extension 2021-04-15 22:15:07 +02:00
Philipp Kühn
6c2eea094c wip: fix isList 2021-04-15 22:08:52 +02:00
Philipp Kühn
05434afc47 wip: add extension.name 2021-04-15 22:03:45 +02:00
Hans Pagel
accceccd09 docs: update content 2021-04-15 21:48:19 +02:00
Philipp Kühn
016bda4010 wip: fix extendNodeSchema and extendMarkSchema 2021-04-15 21:43:41 +02:00
Philipp Kühn
07bc40ce75 wip: add getExtensionField 2021-04-15 21:14:33 +02:00
Philipp Kühn
d194b90a61 wip: save hierachy within extension classes 2021-04-15 14:40:28 +02:00
Philipp Kühn
6e8970566b Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.6
2021-04-14 10:05:57 +02:00
Philipp Kühn
edb4a0da3b bump 2021-04-14 10:05:29 +02:00
Philipp Kühn
125f16e967 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.4
2021-04-14 10:00:39 +02:00
Philipp Kühn
922f25e8cd remove parentConfig from code block extension for now, see #259 2021-04-14 09:53:17 +02:00
Philipp Kühn
c40ce34eec wip: add some hierarchy tests 2021-04-14 09:48:38 +02:00
Philipp Kühn
daa5dc0fb1 fix: fix lowlight decorations for vue 3 2021-04-12 16:20:49 +02:00
Philipp Kühn
00ac898242 Publish
- @tiptap/core@2.0.0-beta.29
 - @tiptap/extension-mention@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.25
 - @tiptap/suggestion@2.0.0-beta.29
2021-04-12 12:41:59 +02:00
Philipp Kühn
0a6312382f fix: fix adding mark only with insertContent(), fix #264 2021-04-12 12:39:36 +02:00
Philipp Kühn
28d30a1034 Publish
- @tiptap/core@2.0.0-beta.28
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.28
 - @tiptap/extension-table@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.24
 - @tiptap/suggestion@2.0.0-beta.28
2021-04-12 11:16:59 +02:00
Philipp Kühn
5e1ec5d2a6 feat: add parentConfig to extension context for more extendable extensions, fix #259 2021-04-12 11:11:02 +02:00
Philipp Kühn
cdf977a547 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.2
 - @tiptap/extension-code-block@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.23
2021-04-11 19:01:23 +02:00
Philipp Kühn
33c30c0d6d fix: fix a bug in link click handler, where we can’t click on text selections. fix #263 2021-04-11 18:59:07 +02:00
Philipp Kühn
92f6ea25cc fix: remove codeblock when at start of document, fix #262 2021-04-11 18:29:03 +02:00
Philipp Kühn
65ee85d6cc Publish
- @tiptap/react@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.20
2021-04-11 14:04:22 +02:00
Philipp Kühn
ea0992f66e fix: fix using react node views with insertContent 2021-04-11 14:03:16 +02:00
Philipp Kühn
054edc32a4 use tippy for bubble menu 2021-04-09 22:42:09 +02:00
Philipp Kühn
009a948cae fix types for vue-3 in vscode 2021-04-09 13:43:39 +02:00
Philipp Kühn
9fbde0f8da Publish
- @tiptap/core@2.0.0-beta.27
 - @tiptap/extension-mention@2.0.0-beta.27
 - @tiptap/extension-strike@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.22
 - @tiptap/suggestion@2.0.0-beta.27
2021-04-09 13:22:27 +02:00
Philipp Kühn
eff2c4140a fix: fix a bug where strike and underline can’t parsed together 2021-04-09 13:20:54 +02:00
Philipp Kühn
e7fe7248af fix: add scrollIntoView for insertContent 2021-04-09 10:45:23 +02:00
Philipp Kühn
a5794e7c00 Publish
- @tiptap/core@2.0.0-beta.26
 - @tiptap/extension-mention@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.21
 - @tiptap/suggestion@2.0.0-beta.26
2021-04-09 10:07:07 +02:00
Philipp Kühn
708ac94ceb fix: fix a bug when detecting changes within node views 2021-04-09 09:51:07 +02:00
Philipp Kühn
99153760d6 Publish
- @tiptap/core@2.0.0-beta.25
 - @tiptap/extension-mention@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.25
 - @tiptap/starter-kit@2.0.0-beta.20
 - @tiptap/suggestion@2.0.0-beta.25
2021-04-09 08:24:24 +02:00
Philipp Kühn
39147f5b02 fix: fixed type for Content 2021-04-09 08:22:13 +02:00
Philipp Kühn
3ef0c3bf8d Publish
- @tiptap/core@2.0.0-beta.24
 - @tiptap/extension-mention@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.19
 - @tiptap/suggestion@2.0.0-beta.24
2021-04-09 00:14:04 +02:00
Philipp Kühn
d2c5b71c28 fix: improve drag position for node views even more 2021-04-09 00:11:29 +02:00
Philipp Kühn
6029d74f79 Publish
- @tiptap/core@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.18
 - @tiptap/suggestion@2.0.0-beta.23
2021-04-08 23:55:51 +02:00
Philipp Kühn
5e5b8db6eb fix: improve drag position for node views 2021-04-08 23:53:47 +02:00
Philipp Kühn
992986bc46 Publish
- @tiptap/core@2.0.0-beta.22
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.22
 - @tiptap/extension-text-align@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.22
 - @tiptap/react@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.17
 - @tiptap/suggestion@2.0.0-beta.22
 - @tiptap/vue-2@2.0.0-beta.16
 - @tiptap/vue-3@2.0.0-beta.19
2021-04-08 23:08:39 +02:00
Philipp Kühn
d6890b19c3 fix package.json 2021-04-08 22:58:51 +02:00
Philipp Kühn
b48da13665 prevent empty decorations 2021-04-08 22:44:40 +02:00
Philipp Kühn
08bc5c3d81 Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-08 22:18:59 +02:00
Philipp Kühn
bd392ee8c2 remove languages option from codeblocklowlight 2021-04-08 22:13:50 +02:00
Philipp Kühn
113d50b814 Publish
- @tiptap/core@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.21
 - @tiptap/extension-text-align@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.17
 - @tiptap/starter-kit@2.0.0-beta.16
 - @tiptap/suggestion@2.0.0-beta.21
 - @tiptap/vue-2@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.18
2021-04-08 09:15:09 +02:00
Philipp Kühn
f8dec5f905 fix: make as prop optional 2021-04-08 09:11:45 +02:00
Philipp Kühn
536663f816 fix: improve node view error message 2021-04-08 09:05:43 +02:00
Philipp Kühn
95f31f48fd Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-07 22:39:39 +02:00
Philipp Kühn
160ee9f846 enable clipboardTextSerializer again 2021-04-07 22:22:39 +02:00
Philipp Kühn
7877fbcb11 fix lint 2021-04-07 22:09:46 +02:00
Philipp Kühn
a0e2a830d7 refactor: remove isEditable from node views, remove viewUpdate event 2021-04-07 22:07:36 +02:00
Philipp Kühn
7b1d8d103c Publish
- @tiptap/core@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.20
 - @tiptap/extension-text-align@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.15
 - @tiptap/suggestion@2.0.0-beta.20
2021-04-07 21:32:38 +02:00
Philipp Kühn
3334d930f3 feat: add resetAttributes() command, deprecate resetNodeAttributes() 2021-04-07 21:30:55 +02:00
Philipp Kühn
41a044417e Publish
- @tiptap/core@2.0.0-beta.19
 - @tiptap/extension-mention@2.0.0-beta.19
 - @tiptap/extension-text-align@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.14
 - @tiptap/suggestion@2.0.0-beta.19
2021-04-07 21:18:49 +02:00
Philipp Kühn
aac32b4df6 feat: add updateAttributes() command, deprecate updateNodeAttributes(), fix #254 2021-04-07 21:17:02 +02:00
Philipp Kühn
ae2e496a70 Publish
- @tiptap/core@2.0.0-beta.18
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.18
 - @tiptap/extension-paragraph@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.13
 - @tiptap/suggestion@2.0.0-beta.18
2021-04-07 18:35:17 +02:00
Philipp Kühn
bb1ae659a4 feat: add priority option to extensions 2021-04-07 18:29:16 +02:00
Philipp Kühn
6d83bef97d Publish
- @tiptap/core@2.0.0-beta.17
 - @tiptap/extension-mention@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.17
 - @tiptap/react@2.0.0-beta.16
 - @tiptap/starter-kit@2.0.0-beta.12
 - @tiptap/suggestion@2.0.0-beta.17
2021-04-07 16:08:33 +02:00
Philipp Kühn
beb96c5cbf fix: remove debug log 2021-04-07 16:03:01 +02:00
Philipp Kühn
2718ccff6f fix some react ts issues 2021-04-07 14:29:51 +02:00
Philipp Kühn
a06a8f0fa2 Publish
- @tiptap/core@2.0.0-beta.16
 - @tiptap/extension-horizontal-rule@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.16
 - @tiptap/react@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.11
 - @tiptap/suggestion@2.0.0-beta.16
2021-04-07 12:01:33 +02:00
Philipp Kühn
b8d9b7d4c7 feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode() 2021-04-07 11:53:37 +02:00
Philipp Kühn
af17f2c657 fix: improve handling of horizontal rule at document end, fix #248 2021-04-06 23:48:51 +02:00
Philipp Kühn
92c2c81b8e why 2021-04-06 23:00:03 +02:00
Philipp Kühn
c83cd59df1 Publish
- @tiptap/vue-3@2.0.0-beta.17
2021-04-06 19:50:07 +02:00
Philipp Kühn
73650c12e0 fix: fix vue dependency 2021-04-06 19:46:48 +02:00
Philipp Kühn
70daefa1ca remove deprecated packages 2021-04-06 19:15:46 +02:00
Philipp Kühn
2a64dda01d Publish
- @tiptap/core@2.0.0-beta.15
 - @tiptap/extension-dropcursor@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.15
 - @tiptap/extension-placeholder@2.0.0-beta.4
 - @tiptap/extension-task-item@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.10
 - @tiptap/suggestion@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.16
 - @tiptap/vue-starter-kit@2.0.0-beta.14
2021-04-06 19:11:40 +02:00
Philipp Kühn
cc5d8d3623 dependencies: update dependencies 2021-04-06 19:09:37 +02:00
Philipp Kühn
5622deca30 fix: fix checkbox in firefox, fix #251 2021-04-06 18:57:39 +02:00
Philipp Kühn
130023bca5 update dependencies 2021-04-05 11:41:10 +02:00
Philipp Kühn
65ef42a0b1 refactoring 2021-04-04 23:44:57 +02:00
Philipp Kühn
143e0204a3 refactoring 2021-04-04 23:41:44 +02:00
Philipp Kühn
704e01de6a Merge branch 'main' into feature/extension-code-block-lowlight
# Conflicts:
#	docs/src/docPages/api/nodes/code-block-lowlight.md
#	docs/src/links.yaml
2021-04-04 23:13:52 +02:00
Philipp Kühn
8bfcba3e62 Publish
- @tiptap/react@2.0.0-beta.14
2021-04-04 21:46:14 +02:00
philippkuehn
cdb57b2e39 ci: fix code style linting errors 2021-04-04 19:44:43 +00:00
Philipp Kühn
bdb5d72495 feat: render wrapper element for inline node views as span, fix #242 2021-04-04 21:43:48 +02:00
Philipp Kühn
5faf1ab10f Publish
- @tiptap/core@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.14
 - @tiptap/starter-kit@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.14
 - @tiptap/vue-starter-kit@2.0.0-beta.13
2021-04-04 09:52:29 +02:00
Philipp Kühn
3a5cad6bea check for contenteditable within nodeviews 2021-04-04 09:50:36 +02:00
Philipp Kühn
550b8bd216 Publish
- @tiptap/vue-2@2.0.0-beta.14
 - @tiptap/vue-3@2.0.0-beta.15
2021-04-03 23:18:30 +02:00
Philipp Kühn
177eed65a4 fix menus in vue 3 for now 2021-04-03 23:17:36 +02:00
Philipp Kühn
7c757415e9 fix adding decoration classes to node views in vue 2021-04-03 23:15:13 +02:00
Philipp Kühn
25582c64cc add y.js support for codeblock extension 2021-04-03 12:34:27 +02:00
Philipp Kühn
6757813fd0 refactoring 2021-04-02 23:53:04 +02:00
Philipp Kühn
dd505d2773 refactoring 2021-04-02 23:40:52 +02:00
Philipp Kühn
c94264894b fix a big in highlighter 2021-04-02 23:02:05 +02:00
Philipp Kühn
74bd678e8b remove custom name for lowlight code block 2021-04-02 22:30:12 +02:00
Philipp Kühn
faa0ef8bfa check for language in highlighting 2021-04-02 22:21:17 +02:00
Philipp Kühn
c8f384b9fc remove log 2021-04-02 22:20:20 +02:00
Philipp Kühn
f1dac9aaef Publish
- @tiptap/core@2.0.0-beta.13
 - @tiptap/extension-code-block@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.13
 - @tiptap/starter-kit@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.12
2021-04-02 21:59:12 +02:00
Philipp Kühn
a5e1030e4f add insertNode command 2021-04-02 21:55:25 +02:00
Philipp Kühn
7adf1853d7 add basic lowlight extension 2021-04-02 00:07:40 +02:00
Philipp Kühn
4d882af5d7 fix typo 2021-04-01 23:03:27 +02:00
Philipp Kühn
aa7a9f7015 Publish
- @tiptap/core@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.12
 - @tiptap/vue-starter-kit@2.0.0-beta.11
2021-04-01 19:11:11 +02:00
Philipp Kühn
f2ca9322ee add keepOnSplit option for marks 2021-04-01 19:06:40 +02:00
Philipp Kühn
9cdc76a082 fix whitespace 2021-04-01 18:42:31 +02:00
Philipp Kühn
1bd865809d Publish
- @tiptap/react@2.0.0-beta.13
 - @tiptap/vue-2@2.0.0-beta.13
 - @tiptap/vue-3@2.0.0-beta.14
2021-04-01 18:00:24 +02:00
Philipp Kühn
4d4f96bfc0 fix flicker bug for menus 2021-04-01 17:55:32 +02:00
Philipp Kühn
17726770d2 Publish
- @tiptap/core@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.11
 - @tiptap/react@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.12
 - @tiptap/vue-3@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.10
2021-04-01 16:29:08 +02:00
Philipp Kühn
e25e1ddd27 update menus on resize 2021-04-01 16:22:02 +02:00
Philipp Kühn
c68fa74ad1 add resize event 2021-04-01 16:21:47 +02:00
Philipp Kühn
b9ee5555e5 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.11
 - @tiptap/vue-3@2.0.0-beta.12
2021-04-01 16:00:55 +02:00
Philipp Kühn
f2a45f68d4 Merge branch 'feature/extension-floating-menu'
# Conflicts:
#	packages/react/package.json
#	packages/vue-2/package.json
#	packages/vue-3/package.json
2021-04-01 15:57:23 +02:00
Philipp Kühn
3eac1ce319 add floating menu to vue 3 and react 2021-04-01 15:55:19 +02:00
Philipp Kühn
c55ebc7ea6 improve default node detection for floating menu 2021-04-01 15:33:37 +02:00
Philipp Kühn
007e6f855b add basic floating menu 2021-04-01 15:19:31 +02:00
Philipp Kühn
95642d979c Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.10
 - @tiptap/vue-3@2.0.0-beta.11
2021-04-01 12:20:57 +02:00
Philipp Kühn
0e11fa6cff remove transform 2021-04-01 12:12:23 +02:00
Philipp Kühn
3cf22b02c6 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.5
 - @tiptap/vue-2@2.0.0-beta.9
 - @tiptap/vue-3@2.0.0-beta.10
 - @tiptap/vue-starter-kit@2.0.0-beta.9
2021-03-31 23:40:03 +02:00
Philipp Kühn
8881af4785 add core dependency, fix #201 2021-03-31 23:38:12 +02:00
Philipp Kühn
4ddb698398 fix readme 2021-03-31 22:15:48 +02:00
Philipp Kühn
2cf5792bea Publish
- @tiptap/vue-3@2.0.0-beta.9
2021-03-31 16:54:35 +02:00
Philipp Kühn
bb6cef9862 add missing dependency 2021-03-31 16:53:38 +02:00
Philipp Kühn
62b46ab15a Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.8
 - @tiptap/vue-2@2.0.0-beta.8
2021-03-31 16:53:07 +02:00
Philipp Kühn
56a037b8e8 dont use document in BubbleMenu extension 2021-03-31 16:51:48 +02:00
Philipp Kühn
0e31fff97f Publish
- @tiptap/core@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.10
 - @tiptap/react@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.7
 - @tiptap/vue-3@2.0.0-beta.8
 - @tiptap/vue-starter-kit@2.0.0-beta.8
 - @tiptap/vue@2.0.0-beta.5
2021-03-31 14:17:14 +02:00
Philipp Kühn
f8d029040a fix type cycle bug in vite 2021-03-31 13:44:56 +02:00
Philipp Kühn
d06f5c0c73 fix using registerPlugin and unregisterPlugin for vue-3 2021-03-31 12:11:55 +02:00
Philipp Kühn
2b0a0dad0f add bubble menu to vue-3 2021-03-31 11:52:36 +02:00
Philipp Kühn
e0895926bd refactoring 2021-03-31 11:13:09 +02:00
Philipp Kühn
a90f08fb1c fix a bug in bubble menu 2021-03-31 10:58:05 +02:00
Philipp Kühn
df58611810 rename type 2021-03-31 10:22:54 +02:00
Philipp Kühn
6f5a96d2e5 add menububble react component 2021-03-31 10:21:34 +02:00
Philipp Kühn
0bdac219f5 remove unused file 2021-03-31 10:00:01 +02:00
Philipp Kühn
5213069bb4 add react demo (WIP) to bubble menu 2021-03-30 14:24:52 +02:00
Philipp Kühn
daa8e72477 add doc page for bubble menu 2021-03-30 14:07:18 +02:00
Philipp Kühn
35ca89311f refactoring 2021-03-30 12:56:23 +02:00
Philipp Kühn
86fa24231c improve bubble menu 2021-03-30 12:45:56 +02:00
Philipp Kühn
0aa9408124 fix a bug 2021-03-30 12:20:19 +02:00
Philipp Kühn
d25567ff74 refactoring 2021-03-30 12:13:55 +02:00
Philipp Kühn
71a4e5e646 add bubble menu from v1 2021-03-30 11:36:51 +02:00
Philipp Kühn
60a3b0dfdd set props for composition api, see #236 2021-03-29 21:24:20 +02:00
Philipp Kühn
43bafac060 update dependencies 2021-03-29 17:23:45 +02:00
Philipp Kühn
1a7288eb3b Publish
- @tiptap/core@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.9
2021-03-28 21:33:02 +02:00
Philipp Kühn
4717d7ff9a fix more commands for cell selections 2021-03-28 21:30:47 +02:00
Philipp Kühn
ffde0a382e Publish
- @tiptap/core@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.8
2021-03-28 21:12:41 +02:00
Philipp Kühn
9595a23eb8 fix updating marks for multiple table cells, fix #186 2021-03-28 21:07:56 +02:00
Philipp Kühn
bb1dad7560 Publish
- @tiptap/core@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.7
 - @tiptap/react@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.7
 - @tiptap/vue-2@2.0.0-beta.6
 - @tiptap/vue-3@2.0.0-beta.7
 - @tiptap/vue-starter-kit@2.0.0-beta.7
 - @tiptap/vue@2.0.0-beta.4
2021-03-28 20:22:10 +02:00
Philipp Kühn
b7cf5e3e4f fix colwidth for tablehead, see #186 2021-03-28 20:19:17 +02:00
Philipp Kühn
0a238d9c12 add editor to placeholder props 2021-03-27 11:16:50 +01:00
Hans Pagel
5f599c45b9 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2021-03-25 09:48:56 +01:00
Philipp Kühn
1656fa0700 Publish
- @tiptap/extension-focus@2.0.0-beta.4
2021-03-25 08:35:25 +01:00
Philipp Kühn
aa93e97359 fix focus extension for leaf nodes, fix #223 2021-03-25 08:32:39 +01:00
Philipp Kühn
a0d71ed189 Publish
- @tiptap/core@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.6
 - @tiptap/react@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.6
 - @tiptap/vue-2@2.0.0-beta.5
 - @tiptap/vue-3@2.0.0-beta.6
 - @tiptap/vue-starter-kit@2.0.0-beta.6
 - @tiptap/vue@2.0.0-beta.3
2021-03-24 22:55:37 +01:00
Philipp Kühn
49611e16e5 add placeholder extension 2021-03-24 22:50:30 +01:00
Philipp Kühn
58939fe02b update dependencies 2021-03-24 22:27:10 +01:00
Philipp Kühn
43320e51c7 add isNodeEmpty helper method 2021-03-24 22:23:08 +01:00
Hans Pagel
a5f28e421e fix conflicting keyboard shortcut for the task list 2021-03-24 20:39:56 +01:00
Philipp Kühn
e5b808bd67 Publish
- @tiptap/core@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.5
2021-03-18 13:59:02 +01:00
Philipp Kühn
1a74bbb0fb improve node view handling with inputs, fix #211 2021-03-18 13:54:48 +01:00
Philipp Kühn
923775ae39 Publish
- @tiptap/core@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.4
 - @tiptap/vue-2@2.0.0-beta.4
 - @tiptap/vue-3@2.0.0-beta.5
 - @tiptap/vue-starter-kit@2.0.0-beta.5
 - @tiptap/vue@2.0.0-beta.2
2021-03-18 11:42:20 +01:00
Philipp Kühn
6e87882820 fix bug in markPasteRule, fix #215 2021-03-18 10:54:16 +01:00
Philipp Kühn
df5908d42e add classname support for react components 2021-03-18 09:38:10 +01:00
Philipp Kühn
375bb15dc1 update dependencies 2021-03-18 00:01:17 +01:00
Philipp Kühn
5323eb7e82 Publish
- @tiptap/vue-2@2.0.0-beta.3
 - @tiptap/vue-3@2.0.0-beta.4
2021-03-17 21:49:55 +01:00
Philipp Kühn
f0f6e79408 add nodeViewProps, fix #214 2021-03-17 21:43:45 +01:00
Philipp Kühn
7d52a3aad1 improve some types, fix #213 2021-03-17 21:21:57 +01:00
Philipp Kühn
7d740a5cd8 Publish
- @tiptap/core@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.4
 - @tiptap/extension-collaboration@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.3
 - @tiptap/vue-2@2.0.0-beta.2
 - @tiptap/vue-3@2.0.0-beta.3
 - @tiptap/vue-starter-kit@2.0.0-beta.4
2021-03-16 22:30:06 +01:00
Philipp Kühn
49fcf829f3 refactoring 2021-03-16 22:22:13 +01:00
Philipp Kühn
a76de1ab6d move some nodeview logic to core 2021-03-16 21:55:40 +01:00
Philipp Kühn
6841408e0d code style 2021-03-15 18:48:51 +01:00
Philipp Kühn
9bc68d6d85 refactoring 2021-03-15 18:42:58 +01:00
Philipp Kühn
57915d8638 fix toggle editor 2021-03-15 14:53:23 +01:00
Philipp Kühn
d0a15ad069 prevent dispatch on readonly 2021-03-15 13:27:52 +01:00
Philipp Kühn
4a4adc10e1 Merge branch 'feature/react-renderer' into main 2021-03-15 09:07:52 +01:00
Philipp Kühn
e765c8e981 refactoring 2021-03-15 09:00:44 +01:00
Philipp Kühn
385ee1d1f4 add ref to reactrenderer 2021-03-15 00:22:17 +01:00
Philipp Kühn
29abba56e7 refactoring 2021-03-14 23:09:32 +01:00
Philipp Kühn
56aaf75db5 refactoring 2021-03-14 22:41:25 +01:00
Philipp Kühn
8ccb1d08cf add dynamic tags 2021-03-14 21:45:14 +01:00
Philipp Kühn
380d27fe86 add useReactNodeView hook 2021-03-14 20:40:40 +01:00
Philipp Kühn
109bff0892 refactoring 2021-03-14 18:00:50 +01:00
Philipp Kühn
baa5bcc964 refactoring 2021-03-14 17:01:52 +01:00
Philipp Kühn
5e9a0d4225 add basic react nodeviewrenderer 2021-03-14 16:30:06 +01:00
Philipp Kühn
bc60a91904 wip react renderer 2021-03-12 21:21:13 +01:00
Hans Pagel
be3a18a4a3 fix typo, fix #199 2021-03-11 11:09:35 +01:00
Philipp Kühn
aebf70256d Publish
- @tiptap/vue-3@2.0.0-beta.2
2021-03-10 00:13:57 +01:00
Philipp Kühn
aa3823f239 change vue 3 version 2021-03-10 00:12:54 +01:00
Philipp Kühn
bf357dd7cb Publish
- @tiptap/core@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.3
 - @tiptap/extension-collaboration@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.3
 - @tiptap/suggestion@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.3
2021-03-09 09:56:07 +01:00
Philipp Kühn
15848473ed rename selection to selectionUpdate, add editor to event listener props 2021-03-09 09:50:03 +01:00
Philipp Kühn
789a1d5551 add type 2021-03-08 23:33:19 +01:00
Philipp Kühn
d64ddf6c1b refactoring 2021-03-08 23:10:10 +01:00
Philipp Kühn
7f698a7553 refactoring 2021-03-08 22:16:32 +01:00
Philipp Kühn
ed7f8c257e add useEditor 2021-03-08 22:00:07 +01:00
Philipp Kühn
0c494ab136 Merge branch 'main' into feature/react
# Conflicts:
#	yarn.lock
2021-03-08 18:10:21 +01:00
Philipp Kühn
43a13594f0 Publish
- @tiptap/extension-collaboration-cursor@2.0.0-beta.2
 - @tiptap/extension-collaboration@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.2
2021-03-08 13:56:47 +01:00
Philipp Kühn
86a8ce349a update dependencies 2021-03-08 13:47:55 +01:00
Philipp Kühn
c20b43aa6c try to improve react support 2021-03-08 13:19:05 +01:00
Philipp Kühn
67781052b0 Publish
- @tiptap/core@2.0.0-beta.1
 - @tiptap/extension-blockquote@2.0.0-beta.1
 - @tiptap/extension-bold@2.0.0-beta.1
 - @tiptap/extension-bullet-list@2.0.0-beta.1
 - @tiptap/extension-character-count@2.0.0-beta.1
 - @tiptap/extension-code-block@2.0.0-beta.1
 - @tiptap/extension-code@2.0.0-beta.1
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.1
 - @tiptap/extension-collaboration@2.0.0-beta.1
 - @tiptap/extension-document@2.0.0-beta.1
 - @tiptap/extension-dropcursor@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.1
 - @tiptap/extension-font-family@2.0.0-beta.1
 - @tiptap/extension-gapcursor@2.0.0-beta.1
 - @tiptap/extension-hard-break@2.0.0-beta.1
 - @tiptap/extension-heading@2.0.0-beta.1
 - @tiptap/extension-highlight@2.0.0-beta.1
 - @tiptap/extension-history@2.0.0-beta.1
 - @tiptap/extension-horizontal-rule@2.0.0-beta.1
 - @tiptap/extension-image@2.0.0-beta.1
 - @tiptap/extension-italic@2.0.0-beta.1
 - @tiptap/extension-link@2.0.0-beta.1
 - @tiptap/extension-list-item@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.1
 - @tiptap/extension-ordered-list@2.0.0-beta.1
 - @tiptap/extension-paragraph@2.0.0-beta.1
 - @tiptap/extension-strike@2.0.0-beta.1
 - @tiptap/extension-table-cell@2.0.0-beta.1
 - @tiptap/extension-table-header@2.0.0-beta.1
 - @tiptap/extension-table-row@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.1
 - @tiptap/extension-task-item@2.0.0-beta.1
 - @tiptap/extension-task-list@2.0.0-beta.1
 - @tiptap/extension-text-align@2.0.0-beta.1
 - @tiptap/extension-text-style@2.0.0-beta.1
 - @tiptap/extension-text@2.0.0-beta.1
 - @tiptap/extension-typography@2.0.0-beta.1
 - @tiptap/extension-underline@2.0.0-beta.1
 - @tiptap/html@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.1
 - @tiptap/starter-kit@2.0.0-beta.1
 - @tiptap/suggestion@2.0.0-beta.1
 - @tiptap/vue-2@2.0.0-beta.1
 - @tiptap/vue-3@2.0.0-beta.1
 - @tiptap/vue-starter-kit@2.0.0-beta.1
 - @tiptap/vue@2.0.0-beta.1
2021-03-05 12:50:07 +01:00
Philipp Kühn
2f5ef1cf53 fix versions 2021-03-05 12:49:34 +01:00
Philipp Kühn
2fa178c0f7 alpha to beta 2021-03-05 12:47:10 +01:00
Philipp Kühn
c925160e78 add comment 2021-03-05 12:15:50 +01:00
Philipp Kühn
56e1a0e045 fix table resizing, fix #183 2021-03-05 12:13:49 +01:00
Philipp Kühn
2017b84578 fix some typescript bugs 2021-03-05 11:58:52 +01:00
Philipp Kühn
e9e3418a0f don’t use __vue__ 2021-03-05 11:01:26 +01:00
Philipp Kühn
aa3913cb06 refactoring 2021-03-05 10:20:17 +01:00
Philipp Kühn
983b56a5f2 add NodeViewWrapper and NodeViewContent to vue-2 2021-03-05 10:18:44 +01:00
Philipp Kühn
328d5a459d refactoring 2021-03-05 09:46:47 +01:00
Philipp Kühn
3bf900e7f6 add NodeViewWrapper and NodeViewContent component 2021-03-05 00:02:28 +01:00
Philipp Kühn
053a266a31 fix updating props, fix #181 2021-03-01 21:04:25 +01:00
Philipp Kühn
6bafc18215 refactoring 2021-03-01 08:44:01 +01:00
Philipp Kühn
79bb54be69 Publish
- @tiptap/core@2.0.0-alpha.22
 - @tiptap/extension-mention@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.18
 - @tiptap/suggestion@2.0.0-alpha.12
 - @tiptap/vue-2@2.0.0-alpha.1
 - @tiptap/vue-3@2.0.0-alpha.1
2021-02-28 23:56:21 +01:00
Philipp Kühn
6d66571128 add useEditor 2021-02-28 23:47:34 +01:00
Philipp Kühn
64b8f5c514 update docs 2021-02-28 23:39:29 +01:00
Philipp Kühn
00e673f700 change exports 2021-02-28 23:24:26 +01:00
Philipp Kühn
4721fe451f refactoring 2021-02-28 00:02:51 +01:00
Philipp Kühn
015c47707a add vue-2 and vue-3 2021-02-27 23:56:08 +01:00
Philipp Kühn
5fc6c1b7c2 Publish
- @tiptap/core@2.0.0-alpha.21
 - @tiptap/extension-mention@2.0.0-alpha.11
 - @tiptap/html@2.0.0-alpha.17
 - @tiptap/suggestion@2.0.0-alpha.11
2021-02-26 19:04:50 +01:00
Philipp Kühn
e31ddbd2d8 remove unused file 2021-02-26 19:03:41 +01:00
Philipp Kühn
2b9f6bc129 Publish
- @tiptap/core@2.0.0-alpha.20
 - @tiptap/extension-collaboration@2.0.0-alpha.12
 - @tiptap/extension-focus@2.0.0-alpha.12
 - @tiptap/extension-gapcursor@2.0.0-alpha.12
 - @tiptap/extension-mention@2.0.0-alpha.10
 - @tiptap/extension-table@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.16
 - @tiptap/react@2.0.0-alpha.2
 - @tiptap/starter-kit@2.0.0-alpha.14
 - @tiptap/suggestion@2.0.0-alpha.10
 - @tiptap/vue-starter-kit@2.0.0-alpha.16
 - @tiptap/vue@2.0.0-alpha.13
2021-02-26 18:59:00 +01:00
Philipp Kühn
aaaa6ac51d update dependencies 2021-02-26 18:47:39 +01:00
Philipp Kühn
fa006aee63 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2021-02-26 18:11:48 +01:00
Philipp Kühn
a7ab9454b5 move isCellSelection to table extension 2021-02-26 18:11:42 +01:00
Hans Pagel
c84176c064 fix depency error 2021-02-26 02:25:33 +01:00
Hans Pagel
bf5fb2ad3c move React components to a package, translate default editor example to React 2021-02-26 02:00:35 +01:00
Philipp Kühn
9bb9c92523 add comment 2021-02-23 11:59:59 +01:00
Philipp Kühn
2de981dbe2 improve handling of node selections for node views, fix #153 2021-02-23 11:58:30 +01:00
Philipp Kühn
bd621f4677 fix can().undo() for collab 2021-02-22 10:40:56 +01:00
Philipp Kühn
9f0715ebff remove @types/prosemirror-tables 2021-02-21 22:06:12 +01:00
Philipp Kühn
92a6768b3d allow to define everything within extensions 2021-02-19 17:47:22 +01:00
Philipp Kühn
45e260d535 fix allowGapCursor type 2021-02-19 17:41:11 +01:00
Philipp Kühn
6fb28a2741 make extension configs extendable 2021-02-19 17:35:50 +01:00
Philipp Kühn
46501ee226 add allowGapCursor option 2021-02-19 11:17:27 +01:00
Philipp Kühn
b06b368621 fix bug 2021-02-19 11:17:18 +01:00
Philipp Kühn
ba69a0d8f9 improve extending nodes and marks 2021-02-19 10:54:47 +01:00