Commit Graph

498 Commits

Author SHA1 Message Date
Philipp Kühn
4407d9a3d1 improve types 2021-01-28 09:50:17 +01:00
Philipp Kühn
a9c14fbddd Publish
- @tiptap/core@2.0.0-alpha.12
 - @tiptap/extension-mention@2.0.0-alpha.2
 - @tiptap/html@2.0.0-alpha.8
 - @tiptap/suggestion@2.0.0-alpha.2
2021-01-28 09:12:38 +01:00
Philipp Kühn
bc55aa44e7 add type 2021-01-28 09:11:24 +01:00
Philipp Kühn
6ed7ce8089 add some return types 2021-01-28 09:04:55 +01:00
Philipp Kühn
bca182a9d9 Publish
- @tiptap/core@2.0.0-alpha.11
 - @tiptap/extension-blockquote@2.0.0-alpha.6
 - @tiptap/extension-bold@2.0.0-alpha.6
 - @tiptap/extension-bullet-list@2.0.0-alpha.6
 - @tiptap/extension-character-count@2.0.0-alpha.6
 - @tiptap/extension-code-block@2.0.0-alpha.6
 - @tiptap/extension-code@2.0.0-alpha.6
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.6
 - @tiptap/extension-collaboration@2.0.0-alpha.6
 - @tiptap/extension-document@2.0.0-alpha.6
 - @tiptap/extension-dropcursor@2.0.0-alpha.6
 - @tiptap/extension-focus@2.0.0-alpha.6
 - @tiptap/extension-font-family@2.0.0-alpha.6
 - @tiptap/extension-gapcursor@2.0.0-alpha.6
 - @tiptap/extension-hard-break@2.0.0-alpha.6
 - @tiptap/extension-heading@2.0.0-alpha.6
 - @tiptap/extension-highlight@2.0.0-alpha.6
 - @tiptap/extension-history@2.0.0-alpha.6
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.6
 - @tiptap/extension-image@2.0.0-alpha.6
 - @tiptap/extension-italic@2.0.0-alpha.6
 - @tiptap/extension-link@2.0.0-alpha.6
 - @tiptap/extension-list-item@2.0.0-alpha.6
 - @tiptap/extension-mention@2.0.0-alpha.1
 - @tiptap/extension-ordered-list@2.0.0-alpha.6
 - @tiptap/extension-paragraph@2.0.0-alpha.6
 - @tiptap/extension-strike@2.0.0-alpha.6
 - @tiptap/extension-table-cell@2.0.0-alpha.6
 - @tiptap/extension-table-header@2.0.0-alpha.6
 - @tiptap/extension-table-row@2.0.0-alpha.6
 - @tiptap/extension-table@2.0.0-alpha.6
 - @tiptap/extension-task-item@2.0.0-alpha.7
 - @tiptap/extension-task-list@2.0.0-alpha.6
 - @tiptap/extension-text-align@2.0.0-alpha.7
 - @tiptap/extension-text-style@2.0.0-alpha.6
 - @tiptap/extension-text@2.0.0-alpha.6
 - @tiptap/extension-typography@2.0.0-alpha.6
 - @tiptap/extension-underline@2.0.0-alpha.6
 - @tiptap/html@2.0.0-alpha.7
 - @tiptap/starter-kit@2.0.0-alpha.8
 - @tiptap/suggestion@2.0.0-alpha.1
 - @tiptap/vue-starter-kit@2.0.0-alpha.10
 - @tiptap/vue@2.0.0-alpha.7
2021-01-28 08:49:48 +01:00
Hans Pagel
06b6fc25d4 add getCharacterCount method to the editor 2021-01-27 11:40:49 +01:00
Philipp Kühn
d13210820d remove prosemirror-utils 2021-01-25 13:39:35 +01:00
Philipp Kühn
2156891823 add deleteTableWhenAllCellsSelected 2021-01-24 23:28:51 +01:00
Philipp Kühn
a24409b05b Merge branch 'main' into feature/tables 2021-01-24 20:56:21 +01:00
Philipp Kühn
20f8adc0e4 change plugin order 2021-01-24 20:56:07 +01:00
Philipp Kühn
3f30b69f37 improve types 2021-01-23 20:59:19 +01:00
Philipp Kühn
84cb526315 fix focus class 2021-01-23 00:14:19 +01:00
Philipp Kühn
605ead820f fix focus for tables 2021-01-22 23:56:33 +01:00
Hans Pagel
fde2b1572d add table commands, add tableRole to the schema, add buttons to the example 2021-01-22 20:01:01 +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
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
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
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
563f37d74b fix copying mentions as plain text 2021-01-19 20:27:51 +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
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
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
5e29cc1481 add more core commands 2021-01-06 13:02:30 +01:00
Philipp Kühn
ed4396da23 add extension check 2020-12-21 17:43: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
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
81af92a85c add multicolor option to highlight 2020-12-03 23:32:11 +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
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
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
Philipp Kühn
f6206b3df5 add all events to extensions 2020-11-30 14:12:36 +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
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
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
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
c625b63d10 Merge branch 'main' into feature/vue-node-views 2020-11-19 22:15: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
b8886fa408 add node view playground 2020-11-18 22:50:07 +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
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
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
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
9d99e9c9d0 remove updateMarkAttributes 2020-11-18 11:05:19 +01:00