Commit Graph

1036 Commits

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