Commit Graph

1193 Commits

Author SHA1 Message Date
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
Philipp Kühn
6c39aea432 add destroy event 2020-11-30 13:50:06 +01:00
Hans Pagel
6f3517a5cf Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-30 13:35:57 +01:00
Hans Pagel
e2c5720a0d refactor the collaboration extensions 2020-11-30 13:35:49 +01:00
Philipp Kühn
f486ddf80a split helpers and utilities 2020-11-30 09:42:53 +01:00
Philipp Kühn
8d38459289 refactoring 2020-11-30 09:21:31 +01:00
Philipp Kühn
ec56158739 add support for only checking attributes in isActive 2020-11-30 00:04:30 +01:00
Philipp Kühn
410a24f7db refactoring 2020-11-27 16:45:39 +01:00
Hans Pagel
52a4f655e8 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-27 15:23:25 +01:00
Hans Pagel
527bfe4e2e add descriptions to all packages 2020-11-27 14:58:28 +01:00
Philipp Kühn
ebd84cf488 add onSelection event 2020-11-27 14:52:19 +01:00
Philipp Kühn
ac0e32587a add missing options to starter kit 2020-11-25 23:35:23 +01:00
Philipp Kühn
dbebb1ca9e check isEditable in node view renderer 2020-11-25 23:19:23 +01:00
Philipp Kühn
b5ba3fd3eb improve node views 2020-11-25 22:11:17 +01:00
Philipp Kühn
ddc20c9e47 fix cursor bug 2020-11-25 21:50:40 +01:00
Philipp Kühn
d479c184aa add VueRendererOptions 2020-11-25 21:19:34 +01:00
Philipp Kühn
fd94e321ea cleanup drag handle example 2020-11-25 17:58:53 +01:00
Philipp Kühn
b7ca33aeae improve draggable example 2020-11-25 17:19:24 +01:00
Philipp Kühn
e407c5ebf3 refactoring 2020-11-25 15:21:50 +01:00
Philipp Kühn
0b19e7d327 improve drag 2020-11-25 14:49:36 +01:00
Philipp Kühn
c66c30ea49 Merge branch 'main' into feature/vue-node-views 2020-11-25 11:38:50 +01:00
Philipp Kühn
d7084845f4 fix task list example 2020-11-25 11:24:10 +01:00
Philipp Kühn
507fd981d5 try to improve drag handling 2020-11-25 11:21:53 +01:00
Philipp Kühn
da45af3a51 Merge branch 'main' into feature/vue-node-views 2020-11-25 10:00:13 +01:00
Philipp Kühn
12a2e6e677 fix lint 2020-11-25 09:53:29 +01:00
Philipp Kühn
ddc71f792a manually merge HTMLAttributes 2020-11-25 09:50:54 +01:00
Philipp Kühn
d938979584 try to solve nested drag handles 2020-11-24 21:50:54 +01:00
Hans Pagel
7a058b9c2f fix linting 2020-11-24 17:29:43 +01:00
Hans Pagel
5685cf83a4 improve link testing 2020-11-24 17:26:47 +01:00
Philipp Kühn
f4368f9021 improve support for drag and drop 2020-11-24 11:40:09 +01:00
Philipp Kühn
ae6630e6dc remove log 2020-11-24 10:52:27 +01:00
Philipp Kühn
dcac8e5407 improve node views 2020-11-24 10:51:57 +01:00
Philipp Kühn
3128c5eb9d improve ignoreMutation 2020-11-23 18:31:35 +01:00
Philipp Kühn
b4f3f8279e Merge branch 'main' into feature/vue-node-views 2020-11-23 17:30:45 +01:00
Philipp Kühn
2f81c6b65b cleanup dependencies 2020-11-23 17:23:32 +01:00
Philipp Kühn
f708697863 update dependencies 2020-11-23 17:11:48 +01:00
Philipp Kühn
675912166c rename unsetMarks to unsetAllMarks 2020-11-21 00:05:27 +01:00
Philipp Kühn
8f6ae0e69e replace toggleBlockType with toggleNode( 2020-11-21 00:00:57 +01:00
Philipp Kühn
540b0656f3 rename setBlockType to setNode 2020-11-20 23:56:41 +01:00
Philipp Kühn
c433428fba refactoring 2020-11-20 23:44:23 +01:00
Philipp Kühn
feda283fcb add enableInputRules and enablePasteRules option 2020-11-20 21:30:12 +01:00
Philipp Kühn
d7441deec9 Publish
- @tiptap/starter-kit@2.0.0-alpha.4
 - @tiptap/vue-starter-kit@2.0.0-alpha.5
2020-11-20 15:59:26 +01:00
Philipp Kühn
cafb894c17 Merge branch 'main' into feature/vue-node-views 2020-11-20 09:45:36 +01:00
Philipp Kühn
683e7f112e fix version again 2020-11-20 09:45:25 +01:00
Philipp Kühn
19e07c938d Merge branch 'main' into feature/vue-node-views 2020-11-20 09:41:38 +01:00
Philipp Kühn
20159bd9da fix version 2020-11-20 09:41:28 +01:00
Philipp Kühn
c625b63d10 Merge branch 'main' into feature/vue-node-views 2020-11-19 22:15:10 +01:00
Philipp Kühn
4ec26623bc Publish
- @tiptap/starter-kit@2.0.0-alpha.3
 - @tiptap/vue-starter-kit@2.0.0-alpha.4
2020-11-19 21:48:03 +01:00
Philipp Kühn
5f58ddcca9 fix versions 2020-11-19 21:47:10 +01:00
Philipp Kühn
7966af0fec Publish
- @tiptap/extension-blockquote@2.0.0-alpha.3
 - @tiptap/extension-bold@2.0.0-alpha.3
 - @tiptap/extension-bullet-list@2.0.0-alpha.3
 - @tiptap/extension-code-block@2.0.0-alpha.3
 - @tiptap/extension-code@2.0.0-alpha.3
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.3
 - @tiptap/extension-collaboration@2.0.0-alpha.3
 - @tiptap/extension-document@2.0.0-alpha.3
 - @tiptap/extension-dropcursor@2.0.0-alpha.3
 - @tiptap/extension-focus@2.0.0-alpha.3
 - @tiptap/extension-font-family@2.0.0-alpha.3
 - @tiptap/extension-gapcursor@2.0.0-alpha.3
 - @tiptap/extension-hard-break@2.0.0-alpha.3
 - @tiptap/extension-heading@2.0.0-alpha.3
 - @tiptap/extension-highlight@2.0.0-alpha.3
 - @tiptap/extension-history@2.0.0-alpha.3
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.3
 - @tiptap/extension-image@2.0.0-alpha.3
 - @tiptap/extension-italic@2.0.0-alpha.3
 - @tiptap/extension-link@2.0.0-alpha.3
 - @tiptap/extension-list-item@2.0.0-alpha.3
 - @tiptap/extension-ordered-list@2.0.0-alpha.3
 - @tiptap/extension-paragraph@2.0.0-alpha.3
 - @tiptap/extension-strike@2.0.0-alpha.3
 - @tiptap/extension-task-item@2.0.0-alpha.3
 - @tiptap/extension-task-list@2.0.0-alpha.3
 - @tiptap/extension-text-align@2.0.0-alpha.3
 - @tiptap/extension-text-style@2.0.0-alpha.3
 - @tiptap/extension-text@2.0.0-alpha.3
 - @tiptap/extension-typography@2.0.0-alpha.3
 - @tiptap/extension-underline@2.0.0-alpha.3
 - @tiptap/vue-starter-kit@2.0.0-alpha.3
 - @tiptap/vue@2.0.0-alpha.3
2020-11-19 21:38:43 +01:00
Philipp Kühn
aa32ade04f update version 2020-11-19 21:33:10 +01:00
Philipp Kühn
c460fe130b Publish
- @tiptap/core@2.0.0-alpha.6
 - @tiptap/extension-blockquote@2.0.0-alpha.2
 - @tiptap/extension-bold@2.0.0-alpha.2
 - @tiptap/extension-bullet-list@2.0.0-alpha.2
 - @tiptap/extension-code-block@2.0.0-alpha.2
 - @tiptap/extension-code@2.0.0-alpha.2
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.2
 - @tiptap/extension-collaboration@2.0.0-alpha.2
 - @tiptap/extension-document@2.0.0-alpha.2
 - @tiptap/extension-dropcursor@2.0.0-alpha.2
 - @tiptap/extension-focus@2.0.0-alpha.2
 - @tiptap/extension-font-family@2.0.0-alpha.2
 - @tiptap/extension-gapcursor@2.0.0-alpha.2
 - @tiptap/extension-hard-break@2.0.0-alpha.2
 - @tiptap/extension-heading@2.0.0-alpha.2
 - @tiptap/extension-highlight@2.0.0-alpha.2
 - @tiptap/extension-history@2.0.0-alpha.2
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.2
 - @tiptap/extension-image@2.0.0-alpha.2
 - @tiptap/extension-italic@2.0.0-alpha.2
 - @tiptap/extension-link@2.0.0-alpha.2
 - @tiptap/extension-list-item@2.0.0-alpha.2
 - @tiptap/extension-ordered-list@2.0.0-alpha.2
 - @tiptap/extension-paragraph@2.0.0-alpha.2
 - @tiptap/extension-strike@2.0.0-alpha.2
 - @tiptap/extension-task-item@2.0.0-alpha.2
 - @tiptap/extension-task-list@2.0.0-alpha.2
 - @tiptap/extension-text-align@2.0.0-alpha.2
 - @tiptap/extension-text-style@2.0.0-alpha.2
 - @tiptap/extension-text@2.0.0-alpha.2
 - @tiptap/extension-typography@2.0.0-alpha.2
 - @tiptap/extension-underline@2.0.0-alpha.2
 - @tiptap/html@2.0.0-alpha.2
 - @tiptap/starter-kit@2.0.0-alpha.2
 - @tiptap/vue-starter-kit@2.0.0-alpha.2
 - @tiptap/vue@2.0.0-alpha.2
2020-11-19 21:12:09 +01:00
Philipp Kühn
6cb3de0f4e dont use instanceof 2020-11-19 21:08:25 +01:00
Philipp Kühn
7f0f29742c some more tests 2020-11-19 21:00:24 +01:00
Philipp Kühn
2d2ffb60ef use functional component 2020-11-19 10:36:06 +01:00
Philipp Kühn
967a82b375 Merge branch 'main' into feature/vue-node-views 2020-11-19 09:38:23 +01:00
Philipp Kühn
0860170684 improve node views 2020-11-19 09:38:05 +01:00
Hans Pagel
a4cc02cff6 rework keyboard shortcuts 2020-11-19 01:16:10 +01:00
Philipp Kühn
b8886fa408 add node view playground 2020-11-18 22:50:07 +01:00
Philipp Kühn
8146dd0842 add dropcursor options 2020-11-18 21:40:20 +01:00
Philipp Kühn
276118e48e Publish
- @tiptap/core@2.0.0-alpha.5
 - @tiptap/extension-blockquote@2.0.0-alpha.1
 - @tiptap/extension-bold@2.0.0-alpha.1
 - @tiptap/extension-bullet-list@2.0.0-alpha.1
 - @tiptap/extension-code-block@2.0.0-alpha.1
 - @tiptap/extension-code@2.0.0-alpha.1
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.1
 - @tiptap/extension-collaboration@2.0.0-alpha.1
 - @tiptap/extension-document@2.0.0-alpha.1
 - @tiptap/extension-dropcursor@2.0.0-alpha.1
 - @tiptap/extension-focus@2.0.0-alpha.1
 - @tiptap/extension-font-family@2.0.0-alpha.1
 - @tiptap/extension-gapcursor@2.0.0-alpha.1
 - @tiptap/extension-hard-break@2.0.0-alpha.1
 - @tiptap/extension-heading@2.0.0-alpha.1
 - @tiptap/extension-highlight@2.0.0-alpha.1
 - @tiptap/extension-history@2.0.0-alpha.1
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.1
 - @tiptap/extension-image@2.0.0-alpha.1
 - @tiptap/extension-italic@2.0.0-alpha.1
 - @tiptap/extension-link@2.0.0-alpha.1
 - @tiptap/extension-list-item@2.0.0-alpha.1
 - @tiptap/extension-ordered-list@2.0.0-alpha.1
 - @tiptap/extension-paragraph@2.0.0-alpha.1
 - @tiptap/extension-strike@2.0.0-alpha.1
 - @tiptap/extension-task-item@2.0.0-alpha.1
 - @tiptap/extension-task-list@2.0.0-alpha.1
 - @tiptap/extension-text-align@2.0.0-alpha.1
 - @tiptap/extension-text-style@2.0.0-alpha.1
 - @tiptap/extension-text@2.0.0-alpha.1
 - @tiptap/extension-typography@2.0.0-alpha.1
 - @tiptap/extension-underline@2.0.0-alpha.1
 - @tiptap/html@2.0.0-alpha.1
 - @tiptap/starter-kit@2.0.0-alpha.1
 - @tiptap/vue-starter-kit@2.0.0-alpha.1
 - @tiptap/vue@2.0.0-alpha.1
2020-11-18 18:29:09 +01:00
Philipp Kühn
b936dff15c update versions 2020-11-18 18:18:25 +01:00
Philipp Kühn
d075d5c425 rename removeMarks to unsetMarks 2020-11-18 17:43:59 +01:00
Philipp Kühn
2c5885c026 rename removeMark to unsetMark 2020-11-18 17:38:16 +01:00
Philipp Kühn
c0a0c7a204 reorder 2020-11-18 17:36:29 +01:00
Philipp Kühn
e3a3d99c51 rename addMark to setMark 2020-11-18 17:36:00 +01:00
Philipp Kühn
1b45acd5d5 rename some commands 2020-11-18 16:59:58 +01:00
Philipp Kühn
91297d29fb fix lint 2020-11-18 16:45:48 +01:00
Philipp Kühn
d66535317f reorder 2020-11-18 16:44:23 +01:00
Philipp Kühn
a474fe0ce7 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-18 16:43:32 +01:00
Philipp Kühn
3cd6c55279 restructure commands 2020-11-18 16:43:27 +01:00
Hans Pagel
4f753bc596 replace rich-text with rich-text 2020-11-18 15:29:50 +01:00
Philipp Kühn
e9602626b7 improve resetNodeAttributes command 2020-11-18 15:18:30 +01:00
Philipp Kühn
4a78318a74 add type option to updateNodeAttributes 2020-11-18 14:46:47 +01:00
Philipp Kühn
86fef8eca1 update textalign commands 2020-11-18 12:34:06 +01:00
Philipp Kühn
ab5e144a5f add paragraph command 2020-11-18 12:29:24 +01:00
Philipp Kühn
e526c788c9 add image command 2020-11-18 12:28:08 +01:00
Philipp Kühn
9a376a66e6 add horizontal rule command 2020-11-18 12:26:13 +01:00
Philipp Kühn
45a4562d4a add heading commands 2020-11-18 12:24:41 +01:00
Philipp Kühn
bf08653bba add hardbreak commands 2020-11-18 12:11:45 +01:00
Philipp Kühn
fbee7656c8 add fontFamily commands 2020-11-18 12:09:04 +01:00
Philipp Kühn
116b189a93 add codeblock commands 2020-11-18 12:00:26 +01:00
Philipp Kühn
a148d9cd17 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-18 11:54:28 +01:00
Philipp Kühn
012beb286c add blockquote commands 2020-11-18 11:54:18 +01:00
Hans Pagel
be5a715926 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-18 11:51:38 +01:00
Hans Pagel
31d0414550 update dependencies 2020-11-18 11:42:00 +01:00
Philipp Kühn
489e064c76 rename tasklist command 2020-11-18 11:35:28 +01:00
Philipp Kühn
d1c767413e rename ordererdlist command 2020-11-18 11:34:44 +01:00
Philipp Kühn
6ca1a6c307 rename bulletlist command 2020-11-18 11:33:33 +01:00
hanspagel
29f8b7212a ci: fix code style linting errors 2020-11-18 10:29:55 +00:00
Hans Pagel
8e1fd50967 add a linting error which should be fixed automatically 2020-11-18 11:29:05 +01:00
hanspagel
4e487dd575 ci: fix code style linting errors 2020-11-18 10:18:16 +00:00
Hans Pagel
b3db94c944 add linting error to test automatic fixing 2020-11-18 11:17:03 +01:00
Philipp Kühn
56bb26f124 formatting 2020-11-18 11:10:37 +01:00
Philipp Kühn
56c8bb1bd0 add link commands 2020-11-18 11:10:06 +01:00
Philipp Kühn
9d99e9c9d0 remove updateMarkAttributes 2020-11-18 11:05:19 +01:00
Philipp Kühn
91377be21e rename 2020-11-17 22:45:56 +01:00
Philipp Kühn
34a25c7ea0 add highlight commands 2020-11-17 21:59:04 +01:00
Philipp Kühn
f9025775ca add code commands 2020-11-17 21:53:39 +01:00
Philipp Kühn
8195cbd91d add underline commands 2020-11-17 21:52:16 +01:00
Philipp Kühn
3ea2711aef add strike commands 2020-11-17 21:50:40 +01:00
Philipp Kühn
f24e8f7ee9 add italic commands 2020-11-17 21:49:23 +01:00
Philipp Kühn
3349ebf081 add bold commands 2020-11-17 21:47:39 +01:00
Philipp Kühn
0354f02842 add addMark command 2020-11-17 21:38:15 +01:00
Philipp Kühn
82a57351a7 add editorProps to editorOptions 2020-11-17 21:21:19 +01:00
Philipp Kühn
14c6bfce6f add parseOptions to editorOptions 2020-11-17 21:15:10 +01:00
Philipp Kühn
a4ad1572e8 rename some methods 2020-11-17 21:10:08 +01:00
Philipp Kühn
99aebcc18b refactoring 2020-11-17 21:04:38 +01:00
Philipp Kühn
ad3418e1d2 refactoring 2020-11-17 19:36:27 +01:00
Hans Pagel
3d3dcdaf42 add type to onTransaction 2020-11-17 16:24:25 +01:00
Hans Pagel
aa17a4313c rename autoFocus to autofocus 2020-11-17 15:47:39 +01:00
Philipp Kühn
def735edec add events to editor options 2020-11-17 15:27:00 +01:00
Philipp Kühn
c71851e14c add a command command 2020-11-17 14:38:42 +01:00
Philipp Kühn
a8a578edb7 Publish
- @tiptap/extension-blockquote@1.0.0-alpha.2
 - @tiptap/extension-bold@1.0.0-alpha.2
 - @tiptap/extension-bullet-list@1.0.0-alpha.2
 - @tiptap/extension-code-block@1.0.0-alpha.2
 - @tiptap/extension-code@1.0.0-alpha.2
 - @tiptap/extension-collaboration-cursor@1.0.0-alpha.2
 - @tiptap/extension-collaboration@1.0.0-alpha.2
 - @tiptap/extension-document@1.0.0-alpha.2
 - @tiptap/extension-dropcursor@1.0.0-alpha.2
 - @tiptap/extension-focus@1.0.0-alpha.2
 - @tiptap/extension-font-family@1.0.0-alpha.2
 - @tiptap/extension-gapcursor@1.0.0-alpha.2
 - @tiptap/extension-hard-break@1.0.0-alpha.2
 - @tiptap/extension-heading@1.0.0-alpha.2
 - @tiptap/extension-highlight@1.0.0-alpha.2
 - @tiptap/extension-history@1.0.0-alpha.2
 - @tiptap/extension-horizontal-rule@1.0.0-alpha.2
 - @tiptap/extension-image@1.0.0-alpha.2
 - @tiptap/extension-italic@1.0.0-alpha.2
 - @tiptap/extension-link@1.0.0-alpha.2
 - @tiptap/extension-list-item@1.0.0-alpha.2
 - @tiptap/extension-ordered-list@1.0.0-alpha.2
 - @tiptap/extension-paragraph@1.0.0-alpha.2
 - @tiptap/extension-strike@1.0.0-alpha.2
 - @tiptap/extension-task-item@1.0.0-alpha.2
 - @tiptap/extension-task-list@1.0.0-alpha.2
 - @tiptap/extension-text-align@1.0.0-alpha.2
 - @tiptap/extension-text-style@1.0.0-alpha.2
 - @tiptap/extension-text@1.0.0-alpha.2
 - @tiptap/extension-typography@1.0.0-alpha.2
 - @tiptap/extension-underline@1.0.0-alpha.2
 - @tiptap/html@1.0.0-alpha.2
 - @tiptap/starter-kit@1.0.0-alpha.2
 - @tiptap/vue-starter-kit@1.0.0-alpha.2
 - @tiptap/vue@1.0.0-alpha.2
2020-11-16 23:14:50 +01:00
Philipp Kühn
7243a54dd6 fix type paths 2020-11-16 23:14:09 +01:00
Philipp Kühn
00a69c1e65 fix versions 2020-11-16 22:43:13 +01:00
Philipp Kühn
81d3cb2368 Publish
- @tiptap/core@2.0.0-alpha.4
 - @tiptap/extension-blockquote@1.0.0-alpha.1
 - @tiptap/extension-bold@1.0.0-alpha.1
 - @tiptap/extension-bullet-list@1.0.0-alpha.1
 - @tiptap/extension-code-block@1.0.0-alpha.1
 - @tiptap/extension-code@1.0.0-alpha.1
 - @tiptap/extension-collaboration-cursor@1.0.0-alpha.1
 - @tiptap/extension-collaboration@1.0.0-alpha.1
 - @tiptap/extension-document@1.0.0-alpha.1
 - @tiptap/extension-dropcursor@1.0.0-alpha.1
 - @tiptap/extension-focus@1.0.0-alpha.1
 - @tiptap/extension-font-family@1.0.0-alpha.1
 - @tiptap/extension-gapcursor@1.0.0-alpha.1
 - @tiptap/extension-hard-break@1.0.0-alpha.1
 - @tiptap/extension-heading@1.0.0-alpha.1
 - @tiptap/extension-highlight@1.0.0-alpha.1
 - @tiptap/extension-history@1.0.0-alpha.1
 - @tiptap/extension-horizontal-rule@1.0.0-alpha.1
 - @tiptap/extension-image@1.0.0-alpha.1
 - @tiptap/extension-italic@1.0.0-alpha.1
 - @tiptap/extension-link@1.0.0-alpha.1
 - @tiptap/extension-list-item@1.0.0-alpha.1
 - @tiptap/extension-ordered-list@1.0.0-alpha.1
 - @tiptap/extension-paragraph@1.0.0-alpha.1
 - @tiptap/extension-strike@1.0.0-alpha.1
 - @tiptap/extension-task-item@1.0.0-alpha.1
 - @tiptap/extension-task-list@1.0.0-alpha.1
 - @tiptap/extension-text-align@1.0.0-alpha.1
 - @tiptap/extension-text-style@1.0.0-alpha.1
 - @tiptap/extension-text@1.0.0-alpha.1
 - @tiptap/extension-typography@1.0.0-alpha.1
 - @tiptap/extension-underline@1.0.0-alpha.1
 - @tiptap/html@1.0.0-alpha.1
 - @tiptap/starter-kit@1.0.0-alpha.1
 - @tiptap/vue-starter-kit@1.0.0-alpha.1
 - @tiptap/vue@1.0.0-alpha.1
2020-11-16 22:40:37 +01:00
Philipp Kühn
9a7ef512e1 update versions 2020-11-16 22:38:37 +01:00
Philipp Kühn
87067fb4a7 fix versions 2020-11-16 22:01:37 +01:00
Philipp Kühn
d05c9fda3e refactoring 2020-11-16 21:54:40 +01:00
Philipp Kühn
13a314e123 refactoring 2020-11-16 21:42:35 +01:00
Philipp Kühn
f17b5f977c Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-16 17:26:09 +01:00
Philipp Kühn
0e2815b317 fix some bugs 2020-11-16 17:25:55 +01:00
Hans Pagel
4e96b14007 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-16 17:18:44 +01:00
Hans Pagel
1ed6db24c2 remove provider setting from collab extension 2020-11-16 17:18:07 +01:00
Philipp Kühn
163c8f3034 Publish
- @tiptap/core@2.0.0-alpha.3
2020-11-16 16:59:24 +01:00
Philipp Kühn
0c9ce26c02 Revert "use global namespace"
This reverts commit 24c3a9abd3.

# Conflicts:
#	packages/core/src/Editor.ts
2020-11-16 16:58:30 +01:00
Philipp Kühn
0cee9fb3b7 Publish
- @tiptap/core@2.0.0-alpha.2
2020-11-16 15:57:49 +01:00
Philipp Kühn
282cdfebd6 move some types 2020-11-16 15:56:44 +01:00
Philipp Kühn
9a8fc32634 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-16 15:40:17 +01:00
Philipp Kühn
24c3a9abd3 use global namespace 2020-11-16 15:40:05 +01:00
Hans Pagel
1cf60b290c add READMEs to all packages 2020-11-16 15:23:08 +01:00
Hans Pagel
a74e714096 update package.json keywords 2020-11-16 15:23:00 +01:00
Hans Pagel
08eab9c047 add more meta data to all package.jsons 2020-11-16 15:15:26 +01:00
Philipp Kühn
3a6479eeca Publish
- @tiptap/core@2.0.0-alpha.1
2020-11-16 12:58:29 +01:00
Philipp Kühn
5860462b89 downgrade again 2020-11-16 12:58:02 +01:00
Philipp Kühn
eaa5f53d58 bump version 2020-11-16 12:45:33 +01:00
Philipp Kühn
09c8af6e58 fix ts paths again 2020-11-16 12:41:45 +01:00
Philipp Kühn
e37e6424e5 Publish
- @tiptap/core@2.0.0-alpha.0
2020-11-16 12:32:56 +01:00
Philipp Kühn
d451f28644 downgrade 2020-11-16 12:31:22 +01:00
Philipp Kühn
88dc369812 Publish
- @tiptap/core@2.0.0-alpha.0
2020-11-16 12:29:52 +01:00
Philipp Kühn
c56c9602ba downgrade 2020-11-16 12:29:35 +01:00
Philipp Kühn
c0cd5750a5 Publish
- @tiptap/core@2.0.0-alpha.0
2020-11-16 12:22:07 +01:00
Philipp Kühn
f939a2a86d downgrade 2020-11-16 12:21:44 +01:00
Philipp Kühn
dd7d2f693e Publish
- @tiptap/core@2.0.0-alpha.0
2020-11-16 12:19:27 +01:00
Philipp Kühn
68b49aaa67 downgrade version 2020-11-16 12:08:44 +01:00
Philipp Kühn
e6bff7a4cd rename 2020-11-16 11:21:54 +01:00
Philipp Kühn
8a7603edaf replace NodeExtension with Node, replace MarkExtension with Mark 2020-11-16 11:19:43 +01:00
Philipp Kühn
b44aafa97c rename set to configure 2020-11-16 11:07:06 +01:00
Philipp Kühn
356696772e fix lint 2020-11-16 10:29:01 +01:00
Philipp Kühn
0fdfe33820 create new instance on extension set method 2020-11-16 10:22:12 +01:00
Philipp Kühn
b450bb9850 we dont need this anymore 2020-11-16 10:03:21 +01:00
Philipp Kühn
c87f49c1fe improve new extensions 2020-11-16 09:43:17 +01:00
Philipp Kühn
034ee139a3 add new syntax to all packages 2020-11-15 23:25:25 +01:00
Philipp Kühn
2a321f6739 merge HTMLAttributes 2020-11-14 17:27:59 +01:00
Philipp Kühn
9d7e022ccb fix bug 2020-11-14 09:23:47 +01:00
Philipp Kühn
f329229e03 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-13 16:44:26 +01:00
Philipp Kühn
2591ffe419 add HTMLAttributes to defaultoptions 2020-11-13 16:44:22 +01:00
Philipp Kühn
c840a562de rename attributes to HTMLAttributes 2020-11-13 16:07:20 +01:00
Hans Pagel
480f863de3 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-13 15:47:06 +01:00
Philipp Kühn
5bccbacf32 improve v-model example 2020-11-13 15:30:09 +01:00
Hans Pagel
1f30ea271b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-13 15:08:40 +01:00
Hans Pagel
5b76bf5141 add comments to all commands 2020-11-13 15:08:30 +01:00
Philipp Kühn
13489998b9 prefix all commands with ‚commands‘ 2020-11-13 11:42:04 +01:00
Philipp Kühn
c3fa5ebf1b add new command getter 2020-11-13 09:58:30 +01:00
Philipp Kühn
6d73e60bfb improve link regex 2020-11-13 09:07:51 +01:00
Philipp Kühn
0ca99d7b71 fix types in package.json for all packages 2020-11-13 08:59:00 +01:00
Philipp Kühn
a2f83b78c1 add extensions prop 2020-11-12 10:14:50 +01:00
Philipp Kühn
dbefbb98fa add FullEditor component 2020-11-12 00:01:18 +01:00
Philipp Kühn
ec9c561d84 improve core bundle size 2020-11-11 23:18:03 +01:00
Philipp Kühn
adb4272188 improve build dependencies 2020-11-11 21:00:53 +01:00
Philipp Kühn
39a3da3e2d add dependencies 2020-11-11 20:44:21 +01:00
Philipp Kühn
7ad611378b update types 2020-11-11 14:00:56 +01:00
Philipp Kühn
1243e4cd50 update dependencies 2020-11-11 13:56:52 +01:00
Philipp Kühn
6946a43cc4 fix bug 2020-11-11 10:40:00 +01:00
Philipp Kühn
fe0842d8c8 add extension options to default extensions 2020-11-11 10:21:25 +01:00
Philipp Kühn
0db8d2cc61 check heading options for rendering 2020-11-11 10:20:50 +01:00
Philipp Kühn
01e81752f5 improve types 2020-11-10 23:13:27 +01:00
Philipp Kühn
5dbbfaf46a improve types 2020-11-10 22:52:54 +01:00
Philipp Kühn
cb5ca0c084 refactoring 2020-11-10 21:18:22 +01:00
Philipp Kühn
54c2dcb8e6 remove log 2020-11-10 16:30:07 +01:00
Philipp Kühn
d3b4e7a1d4 fix build for now 2020-11-10 16:29:31 +01:00
Philipp Kühn
7d121eb39a improve build script 2020-11-10 09:21:47 +01:00
Philipp Kühn
0181b70bc2 add basic build script 2020-11-06 23:55:30 +01:00
Philipp Kühn
01a8125a87 fix build 2020-11-06 18:25:33 +01:00
Philipp Kühn
2d9aa5a834 refactoring 2020-11-06 18:17:32 +01:00
Philipp Kühn
2e62e94852 refactoring 2020-11-06 17:34:58 +01:00
Philipp Kühn
fd314bf6f5 Merge branch 'feature/text-style-mark' of https://github.com/ueberdosis/tiptap-next into feature/text-style-mark
# Conflicts:
#	docs/src/demos/Marks/TextStyle/index.vue
2020-11-06 16:24:20 +01:00
Philipp Kühn
1af7829924 improve text style extension 2020-11-06 16:21:19 +01:00
Hans Pagel
f28f33f140 Merge branch 'main' into feature/text-style-mark 2020-11-06 16:06:40 +01:00
Hans Pagel
be44c6c6c7 improve typography extension 2020-11-06 15:31:29 +01:00
Philipp Kühn
944d5e7039 add basic font-family extension 2020-11-06 15:14:04 +01:00
Philipp Kühn
d6930a6ba6 add basic text style mark 2020-11-06 14:46:59 +01:00
Philipp Kühn
da1aaec025 improve getMarkAttrs when selection is empty 2020-11-06 14:03:51 +01:00
Philipp Kühn
c5b9241673 code style 2020-11-06 13:42:40 +01:00
Philipp Kühn
d9df787fde dont extend mark range for updateMarkAttributes 2020-11-06 13:38:48 +01:00
Philipp Kühn
ab1d789161 add extendMarkRange command 2020-11-06 13:38:21 +01:00
Philipp Kühn
dc62ac1326 fix some bugs 2020-11-06 00:13:18 +01:00
Philipp Kühn
e4eed4ea09 Merge branch 'main' into feature/new-highlight-extension 2020-11-05 23:19:37 +01:00
Hans Pagel
7fa5ad5db4 add mooore typography rules 2020-11-05 23:06:59 +01:00
Philipp Kühn
9c3d8fe142 fix command name 2020-11-05 22:53:22 +01:00
Hans Pagel
2a0ef712cc Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-05 22:50:20 +01:00
Hans Pagel
7a7e517577 add arrows to the typography extension 2020-11-05 22:50:07 +01:00
Philipp Kühn
3875c71f8e Merge branch 'main' into feature/new-highlight-extension 2020-11-05 22:35:46 +01:00
Philipp Kühn
3ce0e791f6 rename updateMark and setNodeAttributes, fix #38 2020-11-05 21:59:04 +01:00
Philipp Kühn
9103172837 Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	docs/src/docPages/api/extensions.md
#	docs/src/links.yaml
#	packages/core/src/extensions/toggleMark.ts
2020-11-05 21:27:20 +01:00
Philipp Kühn
d081e81991 fix task list name 2020-11-05 14:51:34 +01:00
Philipp Kühn
4be0444153 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-05 14:44:17 +01:00
Philipp Kühn
a8e478abec reuse attrs for setNodeAttributes and resetNodeAttributes, fix #37 2020-11-05 14:44:14 +01:00
Hans Pagel
520cc318a6 add content 2020-11-05 14:39:28 +01:00
Philipp Kühn
6f3db0970f move commands again 2020-11-04 22:38:52 +01:00
Philipp Kühn
ca0c3188f3 fix lint 2020-11-04 21:54:59 +01:00
Philipp Kühn
fcd264bb16 add comment 2020-11-04 17:25:25 +01:00
Philipp Kühn
09ddf954a7 add withAttributes and withMarks option to splitBlock command 2020-11-04 17:01:51 +01:00
Philipp Kühn
1d3de73f82 refactoring 2020-11-04 15:40:32 +01:00
Philipp Kühn
7a16546d6f add try command 2020-11-04 15:31:42 +01:00
Philipp Kühn
0ba95a7ae3 use splitBlockKeepMarks by default, disable weird selectAll 2020-11-04 12:40:13 +01:00
Philipp Kühn
4ed01c41cb rename schema names 2020-11-03 20:57:09 +01:00
Philipp Kühn
50d1d6372e Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-03 20:39:06 +01:00
Hans Pagel
9bcdb57f14 update content, add text align justify 2020-11-03 16:13:13 +01:00
Philipp Kühn
5f35d92acc fix focus command 2020-11-02 23:41:47 +01:00
Philipp Kühn
3a79b8c564 fix keymaps 2020-11-02 23:26:41 +01:00
Philipp Kühn
ade9847e72 remove unused file 2020-11-02 22:46:56 +01:00
Philipp Kühn
971e8838a0 move plugins to extensions 2020-11-02 22:43:54 +01:00
Philipp Kühn
727442c3a5 add tests for mergeAttributes 2020-11-02 22:17:39 +01:00
Philipp Kühn
d3319bea4e fix input rules for marks 2020-11-02 19:18:38 +01:00
Philipp Kühn
7338266813 refactoring 2020-11-02 17:22:04 +01:00
Philipp Kühn
7bfab4685f add can method to editor class 2020-11-02 17:18:12 +01:00
Philipp Kühn
389937c32f refactoring 2020-11-02 16:23:43 +01:00
Philipp Kühn
83ebbf957a add setDefaultNodeAttributes 2020-11-02 15:46:56 +01:00
Philipp Kühn
a5d1c76f40 fix broken document 2020-11-02 15:18:03 +01:00
Philipp Kühn
2bc02e50e0 improve commands 2020-11-02 14:46:18 +01:00
Philipp Kühn
8f4abb720a add can method 2020-11-02 14:29:58 +01:00
Philipp Kühn
85c1a8ace9 add clearNodes command 2020-11-02 12:45:19 +01:00
Philipp Kühn
3dc25640c9 remove list option 2020-11-02 11:18:44 +01:00
Philipp Kühn
bfc58caea5 add list group 2020-11-02 11:16:31 +01:00
Philipp Kühn
ca5a60b7a2 improve toggleList 2020-11-02 11:16:18 +01:00
Philipp Kühn
8e480f86b9 fix build 2020-11-01 15:38:10 +01:00
Philipp Kühn
97831ea8e5 add typography extension 2020-11-01 00:28:46 +01:00
Philipp Kühn
4ce0eef6c0 move dropcursor and gapcursor to its own package 2020-11-01 00:16:28 +01:00
Philipp Kühn
d810054492 refactor tests 2020-10-31 23:56:31 +01:00
Philipp Kühn
cb647de043 add tests to fromString 2020-10-31 23:45:36 +01:00
Philipp Kühn
b570fcb560 add fromString method 2020-10-31 23:35:30 +01:00
Philipp Kühn
2aab7c3659 fix shortcuts for task item 2020-10-30 17:48:41 +01:00
Philipp Kühn
a4211303df improve node view rendering for task items 2020-10-30 17:44:13 +01:00
Philipp Kühn
a71221d8df fix types 2020-10-30 17:43:59 +01:00
Philipp Kühn
8f37817a42 fix linting 2020-10-30 17:01:54 +01:00
Philipp Kühn
3e3dd26ca5 add inline option to image node 2020-10-30 16:57:55 +01:00
Philipp Kühn
a8216d0840 move inputrule from task_list to task_item 2020-10-30 16:51:25 +01:00
Philipp Kühn
62149cc5b2 refactoring 2020-10-30 16:06:30 +01:00
Philipp Kühn
b99cdcdb6f improve default styling for node views 2020-10-30 16:06:24 +01:00
Philipp Kühn
e5e47aaa48 add list option to nodes 2020-10-30 15:46:15 +01:00
Philipp Kühn
073ef2ee0d add optional callback functions to schema fields 2020-10-30 15:20:10 +01:00
Philipp Kühn
b28a322d8b add node view to task item 2020-10-30 14:55:48 +01:00
Philipp Kühn
cf8956bca1 remove node view from image extension 2020-10-30 13:20:27 +01:00
Philipp Kühn
3e00fadcaa add basic task list and task item extension 2020-10-30 13:19:06 +01:00
Philipp Kühn
f9089932ff add basic implementation for node views 2020-10-30 11:08:23 +01:00
Philipp Kühn
516d0da41c nothing works 2020-10-29 09:26:24 +01:00
Philipp Kühn
12b783c4d2 formatting 2020-10-28 21:30:50 +01:00
Philipp Kühn
f642c8ecad remove @types/jsdom 2020-10-28 20:44:59 +01:00
Hans Pagel
4dad818f7d rename HTML function names 2020-10-28 17:20:38 +01:00
Hans Pagel
4af6049792 add hostic-dom 2020-10-28 17:12:25 +01:00
Hans Pagel
228ef24424 refactoring 2020-10-28 11:52:10 +01:00
Philipp Kühn
079c39a7d0 refactor splitblock command 2020-10-27 23:16:45 +01:00
Hans Pagel
e7ceeccac8 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-10-27 22:40:18 +01:00
Hans Pagel
2c787625d3 code style 2020-10-27 22:40:07 +01:00
Philipp Kühn
a731ff8ea2 refactoring 2020-10-27 22:35:31 +01:00
Hans Pagel
65391c914a remove ts-ignore comments 2020-10-27 22:25:45 +01:00
Hans Pagel
2a706fd3d2 clean up 2020-10-27 22:23:37 +01:00
Hans Pagel
c9da3ab269 clean up and add attributes to the highlight command 2020-10-27 22:22:34 +01:00
Hans Pagel
47109ed97f improve the highlight extension, add pasteRule and inputRule 2020-10-27 22:14:40 +01:00
Philipp Kühn
d8e82959ec add some random image 2020-10-27 21:38:29 +01:00
Hans Pagel
a1a3ecd2d0 refactor highligh extension to the new API 2020-10-27 21:21:20 +01:00
Hans Pagel
59dbe41620 add todo 2020-10-27 20:36:29 +01:00
Hans Pagel
da3618ec6f Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	packages/core/src/commands/toggleMark.ts
2020-10-27 20:36:22 +01:00
Philipp Kühn
fd7d0f03bd add basic image extension 2020-10-27 15:32:55 +01:00
Philipp Kühn
ed7d3862b2 refactor some attributes to new syntax 2020-10-27 14:53:23 +01:00
Philipp Kühn
77f67bceae improve attribute handling 2020-10-27 14:53:08 +01:00
Philipp Kühn
fd278f922f fix most inputrules for now 2020-10-27 14:16:42 +01:00
Philipp Kühn
a346c7b8cd update dependencies 2020-10-27 14:15:57 +01:00
Philipp Kühn
350e34f389 add some comments 2020-10-27 13:19:23 +01:00
Philipp Kühn
9fdb57cacb formatting 2020-10-27 12:59:18 +01:00
Philipp Kühn
aec18efc0e add comment 2020-10-27 12:38:07 +01:00
Philipp Kühn
8d0c67cc66 use custom splitblock command for text align 2020-10-27 12:37:20 +01:00
Philipp Kühn
2c150f5192 refactoring 2020-10-27 12:37:00 +01:00
Philipp Kühn
db54e44438 add ugly customSplitBlock command (WIP) 2020-10-27 12:02:26 +01:00
Philipp Kühn
2fdaf724d4 wording 2020-10-27 11:55:19 +01:00
Philipp Kühn
b962890de5 add defaultAlignment option to text align extension 2020-10-27 11:55:13 +01:00
Philipp Kühn
2c52f0ce06 dont use data- attributes as default 2020-10-27 11:54:58 +01:00
Philipp Kühn
4b046d7034 remove unused code 2020-10-26 22:41:20 +01:00
Philipp Kühn
4a139f5651 improve attributes 2020-10-26 20:04:55 +01:00
Philipp Kühn
dd95a75a05 fix tests 2020-10-25 22:27:31 +01:00
Philipp Kühn
ac9fdf6481 refactor link extension 2020-10-25 22:11:53 +01:00
Philipp Kühn
16d52d05a0 add data-attribute fallback to attribute parser 2020-10-24 23:53:56 +02:00
Philipp Kühn
c85844ae11 add fallback renderer for attributes 2020-10-24 13:48:41 +02:00
Philipp Kühn
59d6051d05 improve attribute type 2020-10-24 00:09:58 +02:00
Philipp Kühn
98580b2149 fix some bugs 2020-10-23 23:41:54 +02:00
Philipp Kühn
b4c231d85c refactoring 2020-10-23 23:16:54 +02:00
Philipp Kühn
56df3bd392 implement basic parseHTML for global attributes 2020-10-23 22:55:48 +02:00
Philipp Kühn
4bff000751 add textAlign command 2020-10-23 17:50:28 +02:00
Philipp Kühn
9f908b2cbf add setNodeAttributes command 2020-10-23 17:19:12 +02:00
Philipp Kühn
5976d6083c add basic text align extension 2020-10-23 15:23:40 +02:00
Philipp Kühn
ecadf7ea0a merge attributes 2020-10-23 15:02:52 +02:00
Philipp Kühn
e01a0b8484 add isEmpty method, fix #28 2020-10-23 14:28:25 +02:00
Philipp Kühn
e2aa2e4bba fix tests 2020-10-23 14:24:19 +02:00
Philipp Kühn
f37e6da902 rename .json() to .getJSON() and .html() to .getHTML(), fix #22, fix #23 2020-10-23 11:58:00 +02:00
Philipp Kühn
575f7f0f7c codestyle 2020-10-23 11:42:00 +02:00
Philipp Kühn
f7153cfe66 fix bug 2020-10-23 11:41:24 +02:00
Philipp Kühn
54195d29eb fix more errors 2020-10-23 11:24:27 +02:00
Philipp Kühn
c330e41a50 fix some errors 2020-10-23 10:59:26 +02:00
Philipp Kühn
56da8880dc fix command types 2020-10-23 10:48:10 +02:00
Philipp Kühn
fd298b645b add core extensions 2020-10-23 10:44:30 +02:00
Philipp Kühn
73285aadce fix broken input rules 2020-10-23 09:20:26 +02:00
Philipp Kühn
23a8ce2417 remove unused packages 2020-10-22 23:25:43 +02:00
Philipp Kühn
d8d33c7429 add type to this context in extensions 2020-10-22 23:21:52 +02:00
Philipp Kühn
6746163dda add AllExtensions interface 2020-10-22 22:40:40 +02:00
Philipp Kühn
79172753ef add new syntax to all extensions 2020-10-22 12:34:49 +02:00
Philipp Kühn
e442b5a8fe rename files 2020-10-22 11:19:49 +02:00
Philipp Kühn
930eb63564 refactoring 2020-10-22 11:14:44 +02:00
Philipp Kühn
9697d585fe refactoring 2020-10-22 09:42:28 +02:00
Philipp Kühn
5a2417fa53 refactoring 2020-10-22 09:23:37 +02:00
Philipp Kühn
faa65b5450 refactoring 2020-10-22 09:14:24 +02:00
Philipp Kühn
5dcbdebbb7 add global attributes 2020-10-21 23:55:14 +02:00
Philipp Kühn
9fad9cd476 check for rendered attribute 2020-10-21 23:35:12 +02:00
Philipp Kühn
6752d52541 add basic implementation for attributes 2020-10-21 23:32:28 +02:00
Philipp Kühn
7fffe97532 add markextension 2020-10-21 21:13:38 +02:00
Philipp Kühn
10e16208f9 refactoring 2020-10-21 21:01:39 +02:00
Philipp Kühn
2ebf4bf790 refactoring 2020-10-21 15:30:34 +02:00
Philipp Kühn
020483f0b2 add basic new syntax 2020-10-21 15:17:05 +02:00
Philipp Kühn
681f951f5f Merge branch 'main' into feature/extension-classes
# Conflicts:
#	packages/core/src/utils/getSchema.ts
2020-10-12 22:25:33 +02:00
Philipp Kühn
94e49b1c38 update dependencies 2020-10-12 20:45:02 +02:00
Hans Pagel
3e3f4444e4 change keyboard shortcut for code blocks, should fix tests 2020-10-12 20:28:04 +02:00
Hans Pagel
9a1bc8a8b1 everything is broken 2020-10-12 17:58:30 +02:00
Philipp Kühn
4528d3c5d7 fix lint 2020-10-12 12:29:24 +02:00
Philipp Kühn
41d68ec859 add basic node interface 2020-10-12 10:32:54 +02:00
Philipp Kühn
8324f57528 add basic extension classes 2020-10-09 22:59:25 +02:00
Philipp Kühn
a4ccb36e10 fix options bug 2020-10-09 16:37:48 +02:00
Hans Pagel
d09c664909 add italic parseDOM tests 2020-10-08 03:57:45 +02:00
Hans Pagel
19e040df42 refactoring 2020-10-08 03:44:18 +02:00
Hans Pagel
3b01b5b219 improve highlight toggling 2020-10-05 17:26:34 +02:00
Hans Pagel
1d5d1f7c6e check if mark has attributes 2020-10-05 17:12:57 +02:00
Hans Pagel
021d911ad6 add color parameter to highlight command 2020-10-05 16:17:31 +02:00
Philipp Kühn
0bad11bac7
Merge pull request #19 from ueberdosis/fix/autofocus
Fix the broken autoFocus option
2020-10-02 21:58:02 +02:00
Philipp Kühn
b6a06c071f refactoring 2020-10-02 21:57:46 +02:00
Philipp Kühn
ca5a049950
Merge pull request #17 from ueberdosis/feature/add-tilde-shortcut-to-code-blocks
add tilde markdown shortcut support to code blocks
2020-10-02 21:45:37 +02:00
Hans Pagel
b5359a305f add color support 2020-10-02 21:39:16 +02:00
Hans Pagel
eabcecb550 add comment about broken autoFocus option 2020-10-02 15:45:45 +02:00
Hans Pagel
1fc7a6b37e add basic highlight extension 2020-10-02 15:28:00 +02:00
Hans Pagel
eeec5b6871 change markdown shortcut for striked text to two tildes 2020-10-02 15:05:26 +02:00
Hans Pagel
64da5cbcf7 add tilde markdown shortcut support to code blocks 2020-10-02 14:54:10 +02:00
Philipp Kühn
68f59c2d98 Merge branch 'main' into feature/live-demo 2020-10-01 21:41:23 +02:00
Philipp Kühn
660ff1c2d0 update dependencies 2020-10-01 20:27:07 +02:00
Philipp Kühn
432925144f Merge branch 'main' into feature/live-demo 2020-09-30 23:11:55 +02:00
Philipp Kühn
93a29c613c fix lint error 2020-09-30 22:43:58 +02:00
Philipp Kühn
16a490fd33 Merge branch 'main' into feature/live-demo 2020-09-30 19:43:40 +02:00
Philipp Kühn
18731f776c
Merge pull request #16 from ueberdosis/feature/add-typescript-support-to-cypress
add typescript support to cypress to enable unit testing
2020-09-30 19:37:38 +02:00
Philipp Kühn
5010abb01b refactoring 2020-09-30 19:19:51 +02:00
Hans Pagel
82a9654189 enable typescript support for cypress 2020-09-30 17:12:34 +02:00
Hans Pagel
4fcb4e94bd refactor style loading for the Editor 2020-09-30 17:12:17 +02:00
Hans Pagel
ecfa26b28a add support to configure the languageClassPrefix 2020-09-30 16:33:13 +02:00
Hans Pagel
576f3e1caa add language support to code blocks 2020-09-30 16:25:32 +02:00
Philipp Kühn
1a4e7385e4 add basic live demo component 2020-09-30 10:01:16 +02:00
Philipp Kühn
54bbd8a861 refactoring 2020-09-27 21:29:51 +02:00
Hans Pagel
e536087cb2 flatten history plugin options 2020-09-27 10:52:09 +02:00
Hans Pagel
30bf37c8c8 make link target _blank the default 2020-09-27 10:41:20 +02:00
Hans Pagel
eca9dcd40d remove underline from default extensions 2020-09-27 10:38:59 +02:00
Hans Pagel
a6bcea4458 improve collab cursor styling 2020-09-27 10:37:48 +02:00
Philipp Kühn
b926060f1e
Merge pull request #13 from ueberdosis/feature/make-blockquotes-wrappable
make blockquotes wrappable
2020-09-27 09:30:11 +02:00
Hans Pagel
5313c0b8f6 make blockquotes wrappable 2020-09-26 20:50:01 +02:00
Hans Pagel
e24ce2af77 add language support to code blocks 2020-09-26 20:20:52 +02:00
Hans Pagel
79113aa394 add command to update username and color, add UI to show other users 2020-09-26 17:35:07 +02:00
Hans Pagel
89a5b18cae refactoring 2020-09-26 11:28:48 +02:00
Hans Pagel
80d5c54cb7 add render function to the collaboration cursor 2020-09-26 11:20:19 +02:00
Hans Pagel
6190380e75 add new collaboration cursor plugin 2020-09-26 11:03:17 +02:00
Hans Pagel
90f127b8a6 refactor collaboration extension 2020-09-26 10:43:08 +02:00
Hans Pagel
560edc93bb add cursor styling and configuration, remove second demo, disable initial content 2020-09-25 23:55:34 +02:00
Hans Pagel
4052165498 add basic yjs extension with baked in web rtc support (wip) 2020-09-25 23:22:21 +02:00
Hans Pagel
304504da73 add content to the link extension page 2020-09-25 19:05:21 +02:00
Hans Pagel
6a78cc602f add heading keyboard shortcuts 2020-09-25 17:17:54 +02:00
Philipp Kühn
f71e4df72e remove replaceWithNode 2020-09-25 14:26:16 +02:00
Philipp Kühn
571db1042b fix name 2020-09-25 14:19:44 +02:00
Philipp Kühn
49eff17fb6 add link button 2020-09-25 14:17:53 +02:00
Philipp Kühn
03c65c43f7 fix linter 2020-09-25 13:56:31 +02:00
Philipp Kühn
21c82c2cfa improve eslint config 2020-09-25 13:52:17 +02:00
Philipp Kühn
e10b52aafc fix bug 2020-09-24 23:50:02 +02:00
Philipp Kühn
6e4d612934
Merge pull request #11 from ueberdosis/feature/add-link-extension
Add Link Extension
2020-09-24 23:46:16 +02:00
Philipp Kühn
40b0467650 fix link paste rule 2020-09-24 23:42:04 +02:00
Philipp Kühn
eea725286a remove unused import 2020-09-24 22:47:54 +02:00
Philipp Kühn
143dba421c fix setting extension options 2020-09-24 22:47:32 +02:00
Hans Pagel
7a1c33242d clean up paste rule code 2020-09-24 22:46:29 +02:00
Philipp Kühn
32ab14293f add setBlockType command 2020-09-24 22:32:30 +02:00
Philipp Kühn
570e67b085 rename toggleNode to toggleBlockType 2020-09-24 22:27:17 +02:00
Hans Pagel
7c2b39353d add link extension 2020-09-24 22:26:23 +02:00
Philipp Kühn
2d0c5eb737 whitespace 2020-09-24 22:23:52 +02:00
Philipp Kühn
9df4cd4e35 add scrollIntoView command 2020-09-24 22:21:44 +02:00
Philipp Kühn
57bafb00b9
Merge pull request #10 from ueberdosis/feature/add-paragraph-command
add paragraph command and keyboard shortcut
2020-09-24 20:45:12 +02:00
Hans Pagel
188824c0bb register ParagraphCommand 2020-09-24 19:07:47 +02:00
Hans Pagel
299ca72f3e whitespace 2020-09-24 15:44:07 +02:00
Hans Pagel
d7db24a199 add paragraph command and keyboard shortcut 2020-09-24 15:27:29 +02:00
Hans Pagel
39c39862b4 add keyboard shortcuts to the api, remove best practices section 2020-09-24 14:46:11 +02:00
Philipp Kühn
5d8d353bd0 fix all eslint errors 2020-09-24 09:49:46 +02:00
Philipp Kühn
0b40a0db0f improve eslint config 2020-09-24 09:35:18 +02:00
Philipp Kühn
617cdd4d99 fix more linting issues 2020-09-24 00:37:31 +02:00
Philipp Kühn
ac33eb483e fix more linting errors 2020-09-24 00:29:05 +02:00
Philipp Kühn
5dff1c00d8 fix some linting errors 2020-09-23 23:38:11 +02:00
Philipp Kühn
26d51efa34 refactoring 2020-09-23 10:08:31 +02:00
Philipp Kühn
b0378e593d move code to commandmanager 2020-09-23 08:59:21 +02:00
Philipp Kühn
9a8ce8c5fb refactoring 2020-09-22 23:34:18 +02:00
Philipp Kühn
389756d258 add support for nested chained commands 2020-09-22 23:06:37 +02:00
Philipp Kühn
a865ec4b4e fix bug 2020-09-22 21:54:52 +02:00
Philipp Kühn
0e1f8c4645 refactoring 2020-09-22 21:35:02 +02:00
Philipp Kühn
faf1e1d4ab add basic commandmanager 2020-09-22 21:25:32 +02:00
Philipp Kühn
9229de8881 add ordered list extension 2020-09-22 20:45:30 +02:00
Philipp Kühn
2c9973af8c fix bullet list 2020-09-22 20:39:24 +02:00
Philipp Kühn
2856900c6a fix splitlistitem 2020-09-22 20:23:54 +02:00
Philipp Kühn
25a79b4aea add broken chain 2020-09-22 15:29:30 +02:00
Philipp Kühn
8ca8e041fd refactoring 2020-09-22 15:22:24 +02:00
Philipp Kühn
119fdd0dff improve command handling 2020-09-22 10:49:38 +02:00
Philipp Kühn
80c2d2681e fix blockquote 2020-09-22 09:15:04 +02:00
Philipp Kühn
dcac67c61a fix more commands 2020-09-22 09:08:08 +02:00
Philipp Kühn
655d721914 update dependencies 2020-09-21 23:48:55 +02:00
Philipp Kühn
78ff453030 fix ts errors 2020-09-21 23:44:35 +02:00
Philipp Kühn
4da71ecfbb add some more commands 2020-09-21 23:17:30 +02:00
Philipp Kühn
778e064979 add basic ChainedCommands type 2020-09-21 21:40:44 +02:00
Philipp Kühn
4c392d5759 refactoring 2020-09-21 20:11:32 +02:00
Philipp Kühn
c1a941a042 add support for prosemirror commands 2020-09-21 18:40:32 +02:00
Philipp Kühn
432b30f1a6 add way to nest commands 2020-09-21 00:14:59 +02:00
Philipp Kühn
f6270c0e0c add more commands 2020-09-20 23:44:38 +02:00
Philipp Kühn
fbdc156981 add basic new chaining 2020-09-20 23:19:27 +02:00
Philipp Kühn
26af779d22 refactoring 2020-09-19 00:20:34 +02:00
Hans Pagel
a917264057 update the heading page 2020-09-15 16:44:20 +02:00
Philipp Kühn
ae5b2c62c9 fix versions 2020-09-11 23:40:51 +02:00
Philipp Kühn
74649772f3 update package.json 2020-09-11 23:29:14 +02:00
Philipp Kühn
88d4d2216b Merge branch 'feature/remove-async-commands' into main 2020-09-11 21:19:09 +02:00
Philipp Kühn
808b806db8 store editor in dom element 2020-09-11 18:06:13 +02:00
Philipp Kühn
6a04f9746d remove async commands (WIP) 2020-09-11 17:30:55 +02:00
Philipp Kühn
7b18c4b613 dont use async commans 2020-09-11 11:32:15 +02:00
Philipp Kühn
31c11601bf add basic bullet list 2020-09-10 22:29:15 +02:00
Hans Pagel
89b5f04aac rename the code block extension, add content to the code block extension 2020-09-10 16:54:53 +02:00
Philipp Kühn
33fa6eda35 add inputrule to codeblock 2020-09-10 15:10:22 +02:00
Hans Pagel
e99ecb9595 fix code blocks 2020-09-10 15:03:48 +02:00
Philipp Kühn
17a6d56a31 improve code input rule 2020-09-10 13:50:40 +02:00
Philipp Kühn
667d735a12 add horizontal rule extension 2020-09-10 12:28:14 +02:00
Philipp Kühn
d18b349b6c add blcokquote to default extensions 2020-09-10 12:10:24 +02:00
Philipp Kühn
7f0a734edc
Merge pull request #5 from ueberdosis/feature/blockquote-extension
Add Blockquote extension (with documentation, demo and tests)
2020-09-10 11:56:46 +02:00
Hans Pagel
ee139084f4 fix crap code 2020-09-10 11:54:47 +02:00
Philipp Kühn
32fcd4cbfa rename 2020-09-10 11:50:34 +02:00
Philipp Kühn
bf63f6ba4c update starter kits 2020-09-10 11:43:09 +02:00
Philipp Kühn
3206b6e5eb add hardbreak extension 2020-09-10 11:42:55 +02:00
Hans Pagel
e92da4c966
Merge branch 'main' into feature/blockquote-extension 2020-09-10 11:25:25 +02:00
Philipp Kühn
5e4b747ff1 remove unused code 2020-09-10 11:22:58 +02:00
Philipp Kühn
5c7e70ba82 add underline extension 2020-09-10 11:22:41 +02:00
Philipp Kühn
eb81f56bdd add strike extension 2020-09-10 11:20:40 +02:00
Philipp Kühn
47df54a31d refactoring 2020-09-10 11:20:30 +02:00
Hans Pagel
889bf4f4ff add blockquote extension with documentation, demo and tests 2020-09-10 11:19:49 +02:00
Philipp Kühn
986946a950 refactoring 2020-09-10 09:36:52 +02:00
Philipp Kühn
2c5b6abfaf fix bug 2020-09-10 00:11:07 +02:00
Philipp Kühn
2a544ee6fc refactoring 2020-09-10 00:09:05 +02:00
Philipp Kühn
f2364fa546 refactoring 2020-09-09 23:47:04 +02:00
Philipp Kühn
9acbcf11bc fix getSchema 2020-09-09 21:18:04 +02:00
Philipp Kühn
5aeb7bf4ec fix structure 2020-09-09 21:12:25 +02:00
Philipp Kühn
25864fba11 Merge branch 'main' into feature/generate-html-from-json-document
# Conflicts:
#	packages/core/src/ExtensionManager.ts
2020-09-09 21:09:25 +02:00
Philipp Kühn
dca42879e4 refactoring 2020-09-09 21:06:57 +02:00
Philipp Kühn
cbe5ce4673 Merge branch 'main' into feature/generate-html-from-json-document
# Conflicts:
#	packages/core/src/ExtensionManager.ts
2020-09-09 20:50:53 +02:00
Philipp Kühn
b4bb05794a fix regex 2020-09-09 20:29:50 +02:00
Philipp Kühn
23fbe99a5e fix build 2020-09-09 18:55:19 +02:00
Philipp Kühn
ba744cf6d8 remove verbal expressions 2020-09-09 18:47:47 +02:00
Philipp Kühn
fab2fce671 remove test file 2020-09-09 18:47:37 +02:00
Philipp Kühn
2ff134274e resolve all configs 2020-09-09 18:07:17 +02:00
Philipp Kühn
9a1f99ba4c refactoring 2020-09-09 17:29:19 +02:00
Philipp Kühn
39082b9b99 exclude type and editor from schema callback 2020-09-09 17:22:59 +02:00
Philipp Kühn
0973845608 fix options type 2020-09-09 17:10:29 +02:00
Philipp Kühn
f9bd8158cf remove log 2020-09-09 16:51:58 +02:00
Philipp Kühn
f56fae49a1 fix type issue 2020-09-09 12:57:50 +02:00
Philipp Kühn
22109170b3 fix a bug 2020-09-09 11:23:24 +02:00
Philipp Kühn
a812dd47be fix extension manager 2020-09-09 10:58:10 +02:00
Philipp Kühn
bbccfa43e8 disable everything 2020-09-08 23:49:58 +02:00
Philipp Kühn
26ecc20a50 replace extensions 2020-09-08 23:44:45 +02:00
Hans Pagel
3f0eac922d update dependencies 2020-09-08 17:39:24 +02:00
Philipp Kühn
678b6444d2 add missing methods 2020-09-08 11:00:31 +02:00
Philipp Kühn
56093e3fd0 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes 2020-09-08 09:01:29 +02:00
Philipp Kühn
4d8e654b51 add plugins 2020-09-08 08:51:32 +02:00
Philipp Kühn
3e7bd37d63 add dynamic callback type 2020-09-08 00:15:41 +02:00
Philipp Kühn
7338bf107f fix extends 2020-09-07 10:37:55 +02:00
Philipp Kühn
8f866d6043 refactoring 2020-09-06 23:47:39 +02:00
Philipp Kühn
c9ae5fcbcb improve types 2020-09-05 23:41:32 +02:00
Philipp Kühn
8fdc75f07c improve handling options 2020-09-05 23:18:05 +02:00
Philipp Kühn
ce3aa2a49b add variant 2020-09-04 23:58:35 +02:00
Philipp Kühn
25cc01dcf3 fix deep clone 2020-09-04 23:45:50 +02:00
Philipp Kühn
6e33570530 fix method types 2020-09-04 21:58:16 +02:00
Philipp Kühn
52d848ef1c improve types 2020-09-04 21:50:27 +02:00
Philipp Kühn
1c89e84239 add more extension tests 2020-09-04 20:51:54 +02:00
Hans Pagel
d68cb8e9d2 update dependencies 2020-09-04 14:24:27 +02:00
Hans Pagel
130166bcbc init @tiptap/html package 2020-09-04 13:44:27 +02:00
Hans Pagel
7380eef0f9 add type to core export 2020-09-04 13:44:13 +02:00
Hans Pagel
af7d79b392 clean up 2020-09-04 13:44:06 +02:00
Hans Pagel
825e1bf08d clean up 2020-09-04 13:31:55 +02:00
Hans Pagel
8cee629e19 add a new getHtmlFromFragment method that is used in the editor and in the stand-alone generateHtml helper 2020-09-04 13:06:54 +02:00
Hans Pagel
95fca8aa61 refactor generateHtml to allow directly passing a Schema 2020-09-04 12:50:10 +02:00
Hans Pagel
c5c5957e48 fix imports 2020-09-04 12:11:18 +02:00
Hans Pagel
10a229bf50 use extension helper functions and types in the extension manager 2020-09-04 12:10:51 +02:00
Hans Pagel
55817b9be4 move extension helper functions to separate files 2020-09-04 12:10:35 +02:00
Hans Pagel
49d413268b refactoring 2020-09-04 12:02:37 +02:00
Hans Pagel
536a1ed44f add separate types file 2020-09-04 12:02:37 +02:00
Hans Pagel
e94714a345 add getSchema & getHtml utility functions to generate HTML from a ProseMirror/tiptap document, without an Editor instance 2020-09-04 11:23:04 +02:00
Hans Pagel
2a4b022a6c whitespace 2020-09-03 15:11:55 +02:00
Hans Pagel
f8e907783d add content to the extensions overview, improve the basic example 2020-08-31 17:34:09 +02:00
Philipp Kühn
26651a956d add more tests 2020-08-27 23:24:31 +02:00
Philipp Kühn
07079082c4 test class replacement 2020-08-26 23:45:08 +02:00
Philipp Kühn
b5e891cf02 improve some types 2020-08-22 00:12:34 +02:00
Philipp Kühn
9b1fe00d55 refactoring 2020-08-22 00:05:00 +02:00
Philipp Kühn
d4cd6ab691 add blur command 2020-08-21 23:50:22 +02:00