Commit Graph

156 Commits

Author SHA1 Message Date
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
17c33e0b23 dependencies: update 2021-08-20 21:11:10 +02:00
Philipp Kühn
bafe94f512 dependencies: update 2021-08-20 09:25:46 +02:00
Philipp Kühn
903220b86b Publish
- @tiptap/core@2.0.0-beta.99
 - @tiptap/extension-bubble-menu@2.0.0-beta.29
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.34
 - @tiptap/extension-floating-menu@2.0.0-beta.23
 - @tiptap/extension-focus@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.67
 - @tiptap/extension-placeholder@2.0.0-beta.27
 - @tiptap/extension-table@2.0.0-beta.28
 - @tiptap/html@2.0.0-beta.98
 - @tiptap/react@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.97
 - @tiptap/suggestion@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.46
 - @tiptap/vue-3@2.0.0-beta.52
2021-08-13 23:55:57 +02:00
Philipp Kühn
5bc7eb0e8b dependencies: update 2021-08-13 23:44:08 +02:00
Philipp Kühn
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
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
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
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
463b7b1eb3 dependencies: update 2021-08-09 14:54:24 +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
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
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
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
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
dcc1093db4 Publish
- @tiptap/core@2.0.0-beta.83
 - @tiptap/extension-bubble-menu@2.0.0-beta.22
 - @tiptap/extension-dropcursor@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.59
 - @tiptap/extension-placeholder@2.0.0-beta.23
 - @tiptap/extension-subscript@2.0.0-beta.3
 - @tiptap/extension-superscript@2.0.0-beta.3
 - @tiptap/extension-text-style@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.82
 - @tiptap/react@2.0.0-beta.49
 - @tiptap/starter-kit@2.0.0-beta.79
 - @tiptap/vue-2@2.0.0-beta.37
 - @tiptap/vue-3@2.0.0-beta.43
2021-06-15 08:16:19 +02:00
Philipp Kühn
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
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
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
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
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
c24ed30cad dependencies: update 2021-06-09 11:00:44 +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
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
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
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
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