Commit Graph

1458 Commits

Author SHA1 Message Date
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