Commit Graph

804 Commits

Author SHA1 Message Date
Hans Pagel
fde2b1572d add table commands, add tableRole to the schema, add buttons to the example 2021-01-22 20:01:01 +01:00
Hans Pagel
cfe0898fdd add schema 2021-01-22 20:01:01 +01:00
Hans Pagel
6a1661cf9f init table, table-row and table-cell 2021-01-22 20:01:01 +01:00
Philipp Kühn
a62f2e0429 use VueRenderer in VueNodeView 2021-01-22 08:53:55 +01:00
Philipp Kühn
319eb83303 rename suggestion command argument 2021-01-21 12:28:58 +01:00
Philipp Kühn
a2d5eef6b2 add commands experiment 2021-01-21 12:13:20 +01:00
Philipp Kühn
001e5b7579 update dependencies 2021-01-21 09:45:28 +01:00
Philipp Kühn
55d767d94c add replaceRange command 2021-01-20 20:37:53 +01:00
Philipp Kühn
1880b43e37 add backspace handler to mentions 2021-01-20 20:17:17 +01:00
Hans Pagel
bf9199184c Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Nodes/Mention/index.vue
#	packages/core/src/utilities/isClass.ts
#	packages/core/src/utilities/isObject.ts
2021-01-20 16:58:32 +01:00
Hans Pagel
271f77f6f4 docs: update content 2021-01-20 16:56:25 +01:00
Philipp Kühn
11d365f524 refactoring 2021-01-20 16:52:56 +01:00
Philipp Kühn
4004ec0ad5 refactoring 2021-01-20 16:39:42 +01:00
Hans Pagel
0fc15f46a1 refactor: move isClass to separate function and use in isObject 2021-01-20 15:30:23 +01:00
Hans Pagel
dba0c1ac15 fix: don’t merge classes 2021-01-20 15:10:30 +01:00
Philipp Kühn
faa8842698 fix tippy position 2021-01-20 11:32:58 +01:00
Philipp Kühn
8f95eb6aed add decorationTag and decorationClass option 2021-01-20 10:47:31 +01:00
Philipp Kühn
ba0d379101 add editor to suggestion command props 2021-01-20 09:23:44 +01:00
Philipp Kühn
1c424f4db1 add deep merge 2021-01-20 09:18:49 +01:00
Philipp Kühn
81db30e7d2 refactoring 2021-01-19 22:29:46 +01:00
Philipp Kühn
7a9b1f5c46 refactoring 2021-01-19 20:45:18 +01:00
Philipp Kühn
4256de7cde refactoring 2021-01-19 20:42:15 +01:00
Philipp Kühn
563f37d74b fix copying mentions as plain text 2021-01-19 20:27:51 +01:00
Philipp Kühn
7e88257a45 refactoring 2021-01-19 12:50:09 +01:00
Philipp Kühn
6b517a47ef refactoring 2021-01-19 12:28:33 +01:00
Philipp Kühn
7712325ba9 fix mention rendering 2021-01-19 12:03:38 +01:00
Philipp Kühn
c13d65c842 refactoring 2021-01-19 10:09:32 +01:00
Philipp Kühn
aaa0832883 refactoring 2021-01-18 23:41:38 +01:00
Philipp Kühn
dd3a2ce490 improve styling 2021-01-18 16:54:02 +01:00
Philipp Kühn
7adc8b24a0 add basic keyboard navigation 2021-01-18 16:45:49 +01:00
Philipp Kühn
f278ccc916 refactoring 2021-01-18 15:34:54 +01:00
Philipp Kühn
9651958ac4 refactoring 2021-01-18 13:06:56 +01:00
Philipp Kühn
f96dff1f0f add tippy 2021-01-18 12:40:13 +01:00
Philipp Kühn
06b88977fc rename VueRenderer to VueNodeViewRenderer 2021-01-18 12:40:05 +01:00
Philipp Kühn
9f0ae94201 refactoring 2021-01-15 15:58:39 +01:00
Philipp Kühn
decabc09c6 refactoring 2021-01-15 14:49:28 +01:00
Philipp Kühn
3d28386e11 maybe improve text match 2021-01-15 09:55:15 +01:00
Philipp Kühn
a5d28a0184 refactoring 2021-01-15 09:25:50 +01:00
Philipp Kühn
83b3de8711 Merge branch 'main' into feature/suggestions 2021-01-14 20:01:56 +01:00
Hans Pagel
f44c9773bf remove unused dependency from the starter kit, fix #93 2021-01-13 14:46:06 +01:00
Philipp Kühn
2608294d04 fix bug 2021-01-13 10:17:47 +01:00
Philipp Kühn
21b2d422fb fix nodeview type, fix #92 2021-01-13 09:09:56 +01:00
Hans Pagel
ecd0a6669a add support for raw Y.js fragments to the collaboration extension 2021-01-11 18:37:30 +01:00
Hans Pagel
b6e57d8a6a add a comment 2021-01-11 14:43:41 +01:00
Hans Pagel
e4801b0cfa allow to pass a fragment name to the collaboration extension 2021-01-11 14:42:12 +01:00
Hans Pagel
3496718654 make less assumptions about the Y.js provider, fix #70 2021-01-08 18:02:06 +01:00
Philipp Kühn
f061777111 Publish
- @tiptap/core@2.0.0-alpha.10
 - @tiptap/extension-text-align@2.0.0-alpha.6
 - @tiptap/html@2.0.0-alpha.6
 - @tiptap/vue-starter-kit@2.0.0-alpha.9
 - @tiptap/vue@2.0.0-alpha.6
2021-01-06 13:46:52 +01:00
Philipp Kühn
43dc14b9fc improve textAlign behavior within lists, see #72 2021-01-06 13:33:11 +01:00
Philipp Kühn
5e29cc1481 add more core commands 2021-01-06 13:02:30 +01:00
Philipp Kühn
ed3a34d5d7 fix reactive contenteditable for node views, fix #63 2021-01-04 14:57:24 +01:00
Philipp Kühn
ed4396da23 add extension check 2020-12-21 17:43:29 +01:00
Philipp Kühn
c13aa59492 update dependencies 2020-12-21 17:28:04 +01:00
Philipp Kühn
095db5c59e Merge branch 'main' into feature/suggestions 2020-12-18 23:07:29 +01:00
Philipp Kühn
d3d6b3d6ea Publish
- @tiptap/core@2.0.0-alpha.9
 - @tiptap/html@2.0.0-alpha.5
 - @tiptap/starter-kit@2.0.0-alpha.7
 - @tiptap/vue-starter-kit@2.0.0-alpha.8
2020-12-18 23:04:50 +01:00
Philipp Kühn
693866bacb fix optional starter kit options 2020-12-18 22:54:15 +01:00
Philipp Kühn
0371cb0a5d Publish
- @tiptap/core@2.0.0-alpha.8
 - @tiptap/extension-blockquote@2.0.0-alpha.5
 - @tiptap/extension-bold@2.0.0-alpha.5
 - @tiptap/extension-bullet-list@2.0.0-alpha.5
 - @tiptap/extension-code-block@2.0.0-alpha.5
 - @tiptap/extension-code@2.0.0-alpha.5
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.5
 - @tiptap/extension-collaboration@2.0.0-alpha.5
 - @tiptap/extension-document@2.0.0-alpha.5
 - @tiptap/extension-dropcursor@2.0.0-alpha.5
 - @tiptap/extension-focus@2.0.0-alpha.5
 - @tiptap/extension-font-family@2.0.0-alpha.5
 - @tiptap/extension-gapcursor@2.0.0-alpha.5
 - @tiptap/extension-hard-break@2.0.0-alpha.5
 - @tiptap/extension-heading@2.0.0-alpha.5
 - @tiptap/extension-highlight@2.0.0-alpha.5
 - @tiptap/extension-history@2.0.0-alpha.5
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.5
 - @tiptap/extension-image@2.0.0-alpha.5
 - @tiptap/extension-italic@2.0.0-alpha.5
 - @tiptap/extension-link@2.0.0-alpha.5
 - @tiptap/extension-list-item@2.0.0-alpha.5
 - @tiptap/extension-ordered-list@2.0.0-alpha.5
 - @tiptap/extension-paragraph@2.0.0-alpha.5
 - @tiptap/extension-strike@2.0.0-alpha.5
 - @tiptap/extension-task-item@2.0.0-alpha.6
 - @tiptap/extension-task-list@2.0.0-alpha.5
 - @tiptap/extension-text-align@2.0.0-alpha.5
 - @tiptap/extension-text-style@2.0.0-alpha.5
 - @tiptap/extension-text@2.0.0-alpha.5
 - @tiptap/extension-typography@2.0.0-alpha.5
 - @tiptap/extension-underline@2.0.0-alpha.5
 - @tiptap/html@2.0.0-alpha.4
 - @tiptap/starter-kit@2.0.0-alpha.6
 - @tiptap/vue-starter-kit@2.0.0-alpha.7
 - @tiptap/vue@2.0.0-alpha.5
2020-12-18 15:49:27 +01:00
Philipp Kühn
5a9b96aaf0 add basic mention extension 2020-12-17 17:13:35 +01:00
Philipp Kühn
c3d0f004d6 add basic suggestions package 2020-12-16 17:47:17 +01:00
Philipp Kühn
df0b2ef36a update dependencies 2020-12-16 17:10:47 +01:00
Philipp Kühn
5656a246d5 refactoring 2020-12-14 12:17:26 +01:00
Philipp Kühn
aef4bd88fc set parent component for vue node views 2020-12-14 12:05:46 +01:00
Philipp Kühn
5bce6db292 improve isEmpty 2020-12-08 21:15:17 +01:00
Philipp Kühn
d6e1838f99 fix y.js bug 2020-12-08 18:08:39 +01:00
Florian Wiech
4142637921
refactor: recreate extension exports 2020-12-07 21:32:50 +01:00
Florian Wiech
11de3a287f
refactor: restructure extensions 2020-12-07 21:09:02 +01:00
Hans Pagel
037658e701 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-12-04 13:27:02 +01:00
Hans Pagel
da404c3945 update y-websocket to fix the awareness states issue 2020-12-04 13:26:50 +01:00
Philipp Kühn
81af92a85c add multicolor option to highlight 2020-12-03 23:32:11 +01:00
Philipp Kühn
49dc46c445 change list item content 2020-12-03 15:11:47 +01:00
Philipp Kühn
cf47ceb4c6 Publish
- @tiptap/extension-task-item@2.0.0-alpha.5
2020-12-02 18:18:57 +01:00
Philipp Kühn
127d9f29ac fix a bug for task item 2020-12-02 18:13:16 +01:00
Philipp Kühn
a884cb81de Publish
- @tiptap/core@2.0.0-alpha.7
 - @tiptap/extension-blockquote@2.0.0-alpha.4
 - @tiptap/extension-bold@2.0.0-alpha.4
 - @tiptap/extension-bullet-list@2.0.0-alpha.4
 - @tiptap/extension-code-block@2.0.0-alpha.4
 - @tiptap/extension-code@2.0.0-alpha.4
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.4
 - @tiptap/extension-collaboration@2.0.0-alpha.4
 - @tiptap/extension-document@2.0.0-alpha.4
 - @tiptap/extension-dropcursor@2.0.0-alpha.4
 - @tiptap/extension-focus@2.0.0-alpha.4
 - @tiptap/extension-font-family@2.0.0-alpha.4
 - @tiptap/extension-gapcursor@2.0.0-alpha.4
 - @tiptap/extension-hard-break@2.0.0-alpha.4
 - @tiptap/extension-heading@2.0.0-alpha.4
 - @tiptap/extension-highlight@2.0.0-alpha.4
 - @tiptap/extension-history@2.0.0-alpha.4
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.4
 - @tiptap/extension-image@2.0.0-alpha.4
 - @tiptap/extension-italic@2.0.0-alpha.4
 - @tiptap/extension-link@2.0.0-alpha.4
 - @tiptap/extension-list-item@2.0.0-alpha.4
 - @tiptap/extension-ordered-list@2.0.0-alpha.4
 - @tiptap/extension-paragraph@2.0.0-alpha.4
 - @tiptap/extension-strike@2.0.0-alpha.4
 - @tiptap/extension-task-item@2.0.0-alpha.4
 - @tiptap/extension-task-list@2.0.0-alpha.4
 - @tiptap/extension-text-align@2.0.0-alpha.4
 - @tiptap/extension-text-style@2.0.0-alpha.4
 - @tiptap/extension-text@2.0.0-alpha.4
 - @tiptap/extension-typography@2.0.0-alpha.4
 - @tiptap/extension-underline@2.0.0-alpha.4
 - @tiptap/html@2.0.0-alpha.3
 - @tiptap/starter-kit@2.0.0-alpha.5
 - @tiptap/vue-starter-kit@2.0.0-alpha.6
 - @tiptap/vue@2.0.0-alpha.4
2020-12-02 17:08:17 +01:00
Philipp Kühn
4d9e3f7622 fix lists 2020-12-02 16:29:17 +01:00
Hans Pagel
ac820de528 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-12-02 15:35:52 +01:00
Hans Pagel
12d994275c fix: retrieve awareness states after reconnect 2020-12-02 15:35:33 +01:00
Philipp Kühn
ae3e36e2ce improve isMarkActive 2020-12-02 14:39:25 +01:00
Philipp Kühn
cd46e5ebd2 fix tests 2020-12-02 12:05:35 +01:00
Philipp Kühn
88f89df479 extension name is required now 2020-12-02 09:44:46 +01:00
Philipp Kühn
143b309bdf add collab commands 2020-12-02 09:28:55 +01:00
Philipp Kühn
5b794c9137 improve isActive 2020-12-02 08:55:34 +01:00
Philipp Kühn
532eaa4e86 fix chain again 2020-12-01 23:32:39 +01:00
Philipp Kühn
30d5ab5f39 dont add focus and blur transactions to history 2020-12-01 21:58:29 +01:00
Philipp Kühn
5ae9d8cca4 fix history for collab demo 2020-12-01 14:55:11 +01:00
Philipp Kühn
d8322d2e2e fix chained commands 2020-12-01 14:44:53 +01:00
Philipp Kühn
1495573d6b fix bug 2020-12-01 13:08:11 +01:00
Philipp Kühn
96920e5c14 fix togglemark 2020-12-01 12:45:30 +01:00
Philipp Kühn
fe9f74ebdf refactoring 2020-12-01 09:20:25 +01:00
Philipp Kühn
bc39e922ca export some helpers 2020-12-01 09:16:46 +01:00
Philipp Kühn
f556f00518 refactoring 2020-12-01 09:11:58 +01:00
Philipp Kühn
81c0d02f5d Merge branch 'feature/invert-isactive' into main 2020-12-01 09:00:45 +01:00
Philipp Kühn
f6b8c92e5b fix markinputrule 2020-11-30 23:41:46 +01:00
Philipp Kühn
6f8632f643 fix toggleMark 2020-11-30 21:31:57 +01:00
Philipp Kühn
3afe5af21e invert nodeIsActive 2020-11-30 21:10:13 +01:00
Philipp Kühn
bdc5998bb1 invert markIsActive 2020-11-30 20:53:02 +01:00
Philipp Kühn
c0911c315c improve isActive for marks 2020-11-30 15:40:16 +01:00
Hans Pagel
f1f974b13a Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-30 14:14:06 +01:00
Hans Pagel
af708c4fb7 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/CollaborativeEditing/index.vue
2020-11-30 14:13:54 +01:00
Philipp Kühn
f6206b3df5 add all events to extensions 2020-11-30 14:12:36 +01:00
Hans Pagel
442eba8c96 refactor collaboration example 2020-11-30 14:12:19 +01:00
Philipp Kühn
1ceb54bc19 rename init to create 2020-11-30 13:56:42 +01:00