Commit Graph

1470 Commits

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