Commit Graph

1405 Commits

Author SHA1 Message Date
Yousef
cc6bc0fa40
Update NodeViewContent.tsx 2021-06-11 08:33:22 +02:00
Yousef
deb79ea729
NodeViewContent forwardRef 2021-06-11 08:06:44 +02:00
Yousef
83525ec4f1
NodeViewWrapper forwardRef 2021-06-11 08:04:53 +02:00
shadow-light
4fdeb944a2
Make drop cursor default to regular caret color
Currently drop cursor defaults to black rather than the text color, which is what normal carets default to. Using `currentcolor` should provide a better default value.
2021-06-10 09:56:06 +10:00
Philipp Kühn
cf372f9449 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.2
 - @tiptap/extension-superscript@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.35
 - @tiptap/vue-3@2.0.0-beta.41
2021-06-09 11:07:01 +02:00
Philipp Kühn
87a8b6fda8 fix types 2021-06-09 11:05:41 +02:00
Philipp Kühn
c24ed30cad dependencies: update 2021-06-09 11:00:44 +02:00
Philipp Kühn
887651d005
Merge pull request #1437 from BrianHung/superscript-subscript-keyboard-shortcuts
Add keyboard shortcuts to toggle superscript and subscript marks.
2021-06-09 10:58:03 +02:00
Brian Hung
f3a94e1db4 Add keyboard shortcuts to toggle superscript and subscript marks. 2021-06-08 21:23:58 -07:00
Brian Hung
ec11554c09 Exclude superscript from subscript, and vice versa. 2021-06-08 18:47:04 -07:00
Hans Pagel
3f57a13d19 feature: add subscript and superscript extensions, docs and tests 2021-06-08 14:52:38 +02:00
shadow-light
c531c5a797
Fix name of FloatingMenu 2021-06-08 09:53:05 +10:00
Philipp Kühn
5c8e46b0d4 Publish
- @tiptap/core@2.0.0-beta.81
 - @tiptap/extension-blockquote@2.0.0-beta.14
 - @tiptap/extension-bold@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.14
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.29
 - @tiptap/extension-code-block@2.0.0-beta.16
 - @tiptap/extension-code@2.0.0-beta.14
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.20
 - @tiptap/extension-collaboration@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.14
 - @tiptap/extension-heading@2.0.0-beta.14
 - @tiptap/extension-highlight@2.0.0-beta.14
 - @tiptap/extension-history@2.0.0-beta.13
 - @tiptap/extension-horizontal-rule@2.0.0-beta.17
 - @tiptap/extension-image@2.0.0-beta.14
 - @tiptap/extension-italic@2.0.0-beta.14
 - @tiptap/extension-link@2.0.0-beta.18
 - @tiptap/extension-ordered-list@2.0.0-beta.14
 - @tiptap/extension-paragraph@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.16
 - @tiptap/extension-table@2.0.0-beta.23
 - @tiptap/extension-task-list@2.0.0-beta.16
 - @tiptap/extension-text-align@2.0.0-beta.18
 - @tiptap/extension-text-style@2.0.0-beta.14
 - @tiptap/extension-underline@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.80
 - @tiptap/starter-kit@2.0.0-beta.77
2021-06-08 00:05:18 +02:00
Philipp Kühn
6d72bf6d42 dependencies: update 2021-06-07 23:57:24 +02:00
Philipp Kühn
b97bebe021 fix: fix a bug when insert newline at node start, fix #1411 2021-06-07 23:55:18 +02:00
Philipp Kühn
a757716f68 feat: add Tracker class 2021-06-04 23:57:41 +02:00
Philipp Kühn
8e29b5f854 improve types 2021-06-04 22:58:50 +02:00
Philipp Kühn
783ce4e3ac feat: add forEach command 2021-06-04 22:25:53 +02:00
Philipp Kühn
78e2a6e775 add generic to commands type 2021-06-04 21:56:29 +02:00
Philipp Kühn
f038b94fba Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.28
2021-06-03 21:23:15 +02:00
Philipp Kühn
38f3601e6f Revert "feat: update lowlight to v2"
This reverts commit 7e96d98a21.
2021-06-03 21:20:36 +02:00
Philipp Kühn
8275e62d9d Publish
- @tiptap/core@2.0.0-beta.80
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.27
 - @tiptap/html@2.0.0-beta.79
 - @tiptap/starter-kit@2.0.0-beta.76
2021-06-03 13:15:57 +02:00
Philipp Kühn
d037c5656a fix: fix merging options on configure for multiple extension instances 2021-06-03 13:13:43 +02:00
Philipp Kühn
c949fb6c7f remove log 2021-06-03 09:59:03 +02:00
Philipp Kühn
c8037b6c9d debug 2021-06-03 09:42:15 +02:00
Philipp Kühn
7e7af06806 add logging 2021-06-03 09:30:41 +02:00
Philipp Kühn
2fd15f521b Publish
- @tiptap/core@2.0.0-beta.79
 - @tiptap/html@2.0.0-beta.78
 - @tiptap/starter-kit@2.0.0-beta.75
2021-06-02 11:05:50 +02:00
Philipp Kühn
29f476a9c9 version bump 2021-06-02 11:05:18 +02:00
Philipp Kühn
09ce876c79 Publish
- @tiptap/core@2.0.0-beta.77
 - @tiptap/html@2.0.0-beta.77
 - @tiptap/starter-kit@2.0.0-beta.74
2021-06-02 10:56:52 +02:00
Philipp Kühn
36dad2bbae feat: add setMeta command 2021-06-02 10:50:10 +02:00
Philipp Kühn
2eb177f7d2 Publish
- @tiptap/core@2.0.0-beta.76
 - @tiptap/html@2.0.0-beta.76
 - @tiptap/starter-kit@2.0.0-beta.73
2021-06-01 18:59:02 +02:00
Philipp Kühn
485fb8c74c fix: remove custom coordsAtPos method, fix #583 2021-06-01 18:57:46 +02:00
Philipp Kühn
4bc0de8834 Publish
- @tiptap/core@2.0.0-beta.75
 - @tiptap/html@2.0.0-beta.75
 - @tiptap/starter-kit@2.0.0-beta.72
2021-06-01 18:23:11 +02:00
Philipp Kühn
2a4e02ade3 fix: prevent dispatch empty fragment when parsing content with insertContent 2021-06-01 18:20:01 +02:00
Philipp Kühn
ad5dc2e194 Publish
- @tiptap/core@2.0.0-beta.74
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.74
 - @tiptap/starter-kit@2.0.0-beta.71
2021-05-31 21:06:55 +02:00
Philipp Kühn
86fa519ed3 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-31 20:49:52 +02:00
Philipp Kühn
7e96d98a21 feat: update lowlight to v2 2021-05-31 20:49:42 +02:00
philippkuehn
f54b9c9b42 ci: fix code style linting errors 2021-05-31 17:20:25 +00:00
Markus Machatschek
52dd6e0e64 Prevent tiptap from creating duplicate style tags when injecting css 2021-05-31 19:12:05 +02:00
Philipp Kühn
71221f54d1 Publish
- @tiptap/core@2.0.0-beta.73
 - @tiptap/html@2.0.0-beta.73
 - @tiptap/starter-kit@2.0.0-beta.70
2021-05-29 21:04:39 +02:00
Philipp Kühn
3c4cc96fee fix: check for excluded marks in isMarkActive, fix #1388 2021-05-29 21:02:59 +02:00
Philipp Kühn
a66db3eaa9 Publish
- @tiptap/react@2.0.0-beta.45
2021-05-29 20:14:28 +02:00
Philipp Kühn
78f75c3e0e fix: maybe move content dom on update, fix #1370 2021-05-29 20:12:21 +02:00
Philipp Kühn
13d9ffda82 Publish
- @tiptap/core@2.0.0-beta.72
 - @tiptap/extension-placeholder@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.72
 - @tiptap/starter-kit@2.0.0-beta.69
2021-05-28 17:40:52 +02:00
Philipp Kühn
370966847e fix: fix error when calculating contentMatch within clearNodes command, fix #1361 2021-05-28 17:37:28 +02:00
Philipp Kühn
7b74d5849f fix lint errors 2021-05-28 15:16:33 +02:00
Philipp Kühn
3606eb9d02 Publish
- @tiptap/react@2.0.0-beta.44
2021-05-28 15:01:41 +02:00
Philipp Kühn
60708a7817 fix: maybe move content dom on update, see #1370 2021-05-28 15:00:51 +02:00
Philipp Kühn
3d271953c3 Publish
- @tiptap/core@2.0.0-beta.71
 - @tiptap/html@2.0.0-beta.71
 - @tiptap/starter-kit@2.0.0-beta.68
2021-05-28 14:06:33 +02:00
Philipp Kühn
e52f41ae78 fix: fix fragile schema validity test in splitBlock 2021-05-28 13:55:54 +02:00
Philipp Kühn
9d13db6988 Publish
- @tiptap/core@2.0.0-beta.70
 - @tiptap/html@2.0.0-beta.70
 - @tiptap/starter-kit@2.0.0-beta.67
 - @tiptap/vue-2@2.0.0-beta.34
 - @tiptap/vue-3@2.0.0-beta.40
2021-05-28 12:14:59 +02:00
Philipp Kühn
939fc3d93a fix: prevent bug when editor is destroyed very fast 2021-05-28 12:14:12 +02:00
Philipp Kühn
5b9395ee74 Publish
- @tiptap/core@2.0.0-beta.69
 - @tiptap/extension-bubble-menu@2.0.0-beta.20
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.25
 - @tiptap/extension-dropcursor@2.0.0-beta.14
 - @tiptap/extension-floating-menu@2.0.0-beta.16
 - @tiptap/extension-focus@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.57
 - @tiptap/extension-placeholder@2.0.0-beta.20
 - @tiptap/extension-strike@2.0.0-beta.15
 - @tiptap/extension-table@2.0.0-beta.22
 - @tiptap/extension-task-item@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.69
 - @tiptap/react@2.0.0-beta.43
 - @tiptap/starter-kit@2.0.0-beta.66
 - @tiptap/suggestion@2.0.0-beta.57
 - @tiptap/vue-2@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.39
2021-05-27 18:54:53 +02:00
Philipp Kühn
03d213ba8b dependencies: update 2021-05-27 18:52:37 +02:00
Philipp Kühn
c58a753e94 fix: prevent checkbox change when editor isn’t editable, fix #1386 2021-05-27 18:33:15 +02:00
akirarika
93ccf0e315 a small clerical error? 2021-05-26 16:56:41 +08:00
Yousef
bdd6e2b87c
Allow passing of DependencyList to useEditor
in case the options depend on props of the consuming component, it would be nice to be able to pass a dependencylist to `useEditor`. Unless there's a better way to handle dependency updates
2021-05-25 14:51:36 +02:00
Philipp Kühn
42c0ca85b3 Publish
- @tiptap/core@2.0.0-beta.68
 - @tiptap/extension-bubble-menu@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.68
 - @tiptap/react@2.0.0-beta.42
 - @tiptap/starter-kit@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.32
 - @tiptap/vue-3@2.0.0-beta.38
2021-05-24 20:43:18 +02:00
Philipp Kühn
c0e68d5a25 fix: do not check for node selection within posToDOMRect 2021-05-24 20:40:24 +02:00
Philipp Kühn
3bb99b8e1e Publish
- @tiptap/core@2.0.0-beta.67
 - @tiptap/html@2.0.0-beta.67
 - @tiptap/starter-kit@2.0.0-beta.64
2021-05-24 08:47:57 +02:00
Philipp Kühn
a4ec4ffcfd fix: check for NodeSelection within posToDOMRect 2021-05-24 08:46:51 +02:00
Philipp Kühn
940fd69b61 fix: remove empty attributes in getDebugJSON 2021-05-19 18:27:12 +02:00
Philipp Kühn
61b06e73a5 Publish
- @tiptap/core@2.0.0-beta.66
 - @tiptap/html@2.0.0-beta.66
 - @tiptap/starter-kit@2.0.0-beta.63
2021-05-19 15:17:35 +02:00
Philipp Kühn
8f101810fe fix: preserve whitespace when using insertContent command 2021-05-19 15:15:56 +02:00
Philipp Kühn
c0cbd513f6 Publish
- @tiptap/core@2.0.0-beta.65
 - @tiptap/html@2.0.0-beta.65
 - @tiptap/starter-kit@2.0.0-beta.62
2021-05-19 00:26:18 +02:00
Philipp Kühn
2f7a6adca5 feat: allow number for setTextSelection and insertContentAt 2021-05-19 00:25:36 +02:00
Philipp Kühn
fc7d1ebf3f Publish
- @tiptap/core@2.0.0-beta.64
 - @tiptap/html@2.0.0-beta.64
 - @tiptap/react@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.61
 - @tiptap/vue-2@2.0.0-beta.31
 - @tiptap/vue-3@2.0.0-beta.37
2021-05-19 00:05:23 +02:00
Philipp Kühn
fcee5f82c6 feat: add deleteNode method to node views 2021-05-19 00:03:41 +02:00
Philipp Kühn
0f299d228e fix: move all child nodes within EditorContent 2021-05-18 23:41:54 +02:00
Philipp Kühn
f829b45bf0 fix: add marks to JSONContent type 2021-05-18 22:51:53 +02:00
Philipp Kühn
6b154e4c81 Publish
- @tiptap/core@2.0.0-beta.63
 - @tiptap/extension-blockquote@2.0.0-beta.13
 - @tiptap/extension-bold@2.0.0-beta.13
 - @tiptap/extension-bubble-menu@2.0.0-beta.18
 - @tiptap/extension-bullet-list@2.0.0-beta.13
 - @tiptap/extension-character-count@2.0.0-beta.12
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.24
 - @tiptap/extension-code-block@2.0.0-beta.15
 - @tiptap/extension-code@2.0.0-beta.13
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.19
 - @tiptap/extension-collaboration@2.0.0-beta.18
 - @tiptap/extension-document@2.0.0-beta.12
 - @tiptap/extension-dropcursor@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.15
 - @tiptap/extension-focus@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.12
 - @tiptap/extension-gapcursor@2.0.0-beta.17
 - @tiptap/extension-hard-break@2.0.0-beta.13
 - @tiptap/extension-heading@2.0.0-beta.13
 - @tiptap/extension-highlight@2.0.0-beta.13
 - @tiptap/extension-history@2.0.0-beta.12
 - @tiptap/extension-horizontal-rule@2.0.0-beta.16
 - @tiptap/extension-image@2.0.0-beta.13
 - @tiptap/extension-italic@2.0.0-beta.13
 - @tiptap/extension-link@2.0.0-beta.17
 - @tiptap/extension-list-item@2.0.0-beta.13
 - @tiptap/extension-mention@2.0.0-beta.56
 - @tiptap/extension-ordered-list@2.0.0-beta.13
 - @tiptap/extension-paragraph@2.0.0-beta.14
 - @tiptap/extension-placeholder@2.0.0-beta.19
 - @tiptap/extension-strike@2.0.0-beta.14
 - @tiptap/extension-table-cell@2.0.0-beta.13
 - @tiptap/extension-table-header@2.0.0-beta.15
 - @tiptap/extension-table-row@2.0.0-beta.13
 - @tiptap/extension-table@2.0.0-beta.21
 - @tiptap/extension-task-item@2.0.0-beta.15
 - @tiptap/extension-task-list@2.0.0-beta.15
 - @tiptap/extension-text-align@2.0.0-beta.17
 - @tiptap/extension-text-style@2.0.0-beta.13
 - @tiptap/extension-text@2.0.0-beta.12
 - @tiptap/extension-typography@2.0.0-beta.12
 - @tiptap/extension-underline@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.63
 - @tiptap/react@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.60
 - @tiptap/suggestion@2.0.0-beta.56
 - @tiptap/vue-2@2.0.0-beta.30
 - @tiptap/vue-3@2.0.0-beta.36
2021-05-18 19:29:35 +02:00
Philipp Kühn
9b198912f0 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-18 19:25:23 +02:00
Philipp Kühn
0d9e488836 fix: add support for using suggestions at top level, fix #1340 2021-05-18 19:25:20 +02:00
Priestch
96a060eefd
docs: fix typo (#1339) 2021-05-18 18:36:18 +02:00
Philipp Kühn
a412d43cae Publish
- @tiptap/react@2.0.0-beta.39
2021-05-18 15:11:59 +02:00
Philipp Kühn
8979143c37 fix: add prop support for EditorContent, fix #1332 2021-05-18 15:09:15 +02:00
Philipp Kühn
76dd23f0e2 Publish
- @tiptap/core@2.0.0-beta.62
 - @tiptap/extension-bubble-menu@2.0.0-beta.17
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.23
 - @tiptap/extension-floating-menu@2.0.0-beta.14
 - @tiptap/extension-focus@2.0.0-beta.18
 - @tiptap/extension-mention@2.0.0-beta.55
 - @tiptap/extension-placeholder@2.0.0-beta.18
 - @tiptap/extension-table@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.62
 - @tiptap/react@2.0.0-beta.38
 - @tiptap/starter-kit@2.0.0-beta.59
 - @tiptap/suggestion@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.29
 - @tiptap/vue-3@2.0.0-beta.35
2021-05-17 21:07:19 +02:00
Philipp Kühn
5ee8857ca6 dependencies: update 2021-05-17 21:04:51 +02:00
Philipp Kühn
2ba3cad891 not sure about this one 2021-05-17 21:00:22 +02:00
Philipp Kühn
819aa16cfc Publish
- @tiptap/core@2.0.0-beta.61
 - @tiptap/html@2.0.0-beta.61
 - @tiptap/starter-kit@2.0.0-beta.58
2021-05-17 13:06:05 +02:00
Philipp Kühn
ff7dd9b919 feat: add support for checking for attributes in extendMarkRange 2021-05-17 13:00:54 +02:00
Philipp Kühn
5b8808a899 fix: fix export for getAttributes 2021-05-17 11:58:27 +02:00
Philipp Kühn
463661c5ed feat: add findChildrenInRange helper 2021-05-17 11:29:41 +02:00
Philipp Kühn
2bd17c7dc6 feat: export isList, fix #1326 2021-05-17 11:25:18 +02:00
Philipp Kühn
503d730b1a Publish
- @tiptap/extension-placeholder@2.0.0-beta.17
2021-05-13 21:26:32 +02:00
Philipp Kühn
456f2b702b fix: check for empty text, fix #1292 2021-05-13 21:25:33 +02:00
Philipp Kühn
a8ba313255 Publish
- @tiptap/core@2.0.0-beta.60
 - @tiptap/html@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.57
2021-05-13 20:45:27 +02:00
Philipp Kühn
28737b1631 fix: fix missing extensions when using addExtension, fix #1309 2021-05-13 20:44:51 +02:00
Philipp Kühn
5d329cb80c dependencies: update 2021-05-13 20:32:57 +02:00
Philipp Kühn
64d4a39de6 Publish
- @tiptap/core@2.0.0-beta.59
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.59
 - @tiptap/react@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.56
2021-05-13 20:29:20 +02:00
Philipp Kühn
fe03d9c455 bump versions 2021-05-13 20:28:05 +02:00
Philipp Kühn
7baac2bc67 Publish
- @tiptap/core@2.0.0-beta.57
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.57
 - @tiptap/react@2.0.0-beta.35
 - @tiptap/starter-kit@2.0.0-beta.54
2021-05-13 20:25:39 +02:00
Philipp Kühn
6a5f5da2d7 add changelog 2021-05-13 20:24:55 +02:00
Andrea Vaccari
655957d733 fix(core): Increment i in defaultBlockAt 2021-05-13 11:39:26 -05:00
Philipp Kühn
185e1c40af refactor: remove ts-ignore 2021-05-13 15:02:22 +02:00
Philipp Kühn
ac060723dc dependencies: update 2021-05-13 15:02:09 +02:00
Philipp Kühn
543189034a Publish
- @tiptap/core@2.0.0-beta.56
 - @tiptap/extension-blockquote@2.0.0-beta.12
 - @tiptap/extension-bold@2.0.0-beta.12
 - @tiptap/extension-bubble-menu@2.0.0-beta.16
 - @tiptap/extension-bullet-list@2.0.0-beta.12
 - @tiptap/extension-character-count@2.0.0-beta.11
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.19
 - @tiptap/extension-code-block@2.0.0-beta.14
 - @tiptap/extension-code@2.0.0-beta.12
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.18
 - @tiptap/extension-collaboration@2.0.0-beta.17
 - @tiptap/extension-document@2.0.0-beta.11
 - @tiptap/extension-dropcursor@2.0.0-beta.12
 - @tiptap/extension-floating-menu@2.0.0-beta.13
 - @tiptap/extension-focus@2.0.0-beta.17
 - @tiptap/extension-font-family@2.0.0-beta.11
 - @tiptap/extension-gapcursor@2.0.0-beta.16
 - @tiptap/extension-hard-break@2.0.0-beta.12
 - @tiptap/extension-heading@2.0.0-beta.12
 - @tiptap/extension-highlight@2.0.0-beta.12
 - @tiptap/extension-history@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.15
 - @tiptap/extension-image@2.0.0-beta.12
 - @tiptap/extension-italic@2.0.0-beta.12
 - @tiptap/extension-link@2.0.0-beta.16
 - @tiptap/extension-list-item@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.54
 - @tiptap/extension-ordered-list@2.0.0-beta.12
 - @tiptap/extension-paragraph@2.0.0-beta.13
 - @tiptap/extension-placeholder@2.0.0-beta.16
 - @tiptap/extension-strike@2.0.0-beta.13
 - @tiptap/extension-table-cell@2.0.0-beta.12
 - @tiptap/extension-table-header@2.0.0-beta.14
 - @tiptap/extension-table-row@2.0.0-beta.12
 - @tiptap/extension-table@2.0.0-beta.19
 - @tiptap/extension-task-item@2.0.0-beta.14
 - @tiptap/extension-task-list@2.0.0-beta.14
 - @tiptap/extension-text-align@2.0.0-beta.16
 - @tiptap/extension-text-style@2.0.0-beta.12
 - @tiptap/extension-text@2.0.0-beta.11
 - @tiptap/extension-typography@2.0.0-beta.11
 - @tiptap/extension-underline@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.56
 - @tiptap/react@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.54
 - @tiptap/vue-2@2.0.0-beta.28
 - @tiptap/vue-3@2.0.0-beta.34
2021-05-13 14:51:00 +02:00
Philipp Kühn
a35b2533eb fix: fix a bug in detecting a current list in toggleList command 2021-05-13 14:43:27 +02:00
Philipp Kühn
33cd806a86 Publish
- @tiptap/core@2.0.0-beta.55
 - @tiptap/extension-text-align@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.55
 - @tiptap/starter-kit@2.0.0-beta.52
2021-05-11 17:59:17 +02:00
Philipp Kühn
d3b704f25f refactor: change sort of code 2021-05-11 17:15:23 +02:00
Philipp Kühn
592ea65f8b fix whitespace 2021-05-11 17:05:13 +02:00
Philipp Kühn
8a245f563e
Merge pull request #1251 from robguthrie/patch-1
When text align is default, don't add a style attribute
2021-05-11 17:04:30 +02:00
Philipp Kühn
2a79f59c6d
Merge pull request #1301 from zcuric/feature/export-mark-helpers
feat: export mark helpers
2021-05-11 17:04:01 +02:00
Philipp Kühn
655c5647f0 fix: fix a bug when configurating the same extension multiple times 2021-05-11 17:03:34 +02:00
Zdravko Curic
313ab0eac7 feat: export mark helpers 2021-05-11 11:22:28 +02:00
Philipp Kühn
1646f6efc1 Publish
- @tiptap/core@2.0.0-beta.54
 - @tiptap/extension-collaboration@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.51
2021-05-10 00:22:57 +02:00
Philipp Kühn
b4e2b6fc9d fix: set correct priority when extending extensions, fix #1288 2021-05-10 00:13:32 +02:00
Philipp Kühn
bf50af4cf6 fix: add warn message when using collab and history extension together 2021-05-09 23:49:20 +02:00
Philipp Kühn
5f6e81ebe7 Publish
- @tiptap/core@2.0.0-beta.53
 - @tiptap/extension-link@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.50
2021-05-07 11:11:27 +02:00
Philipp Kühn
072905cb95 feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes 2021-05-07 11:10:18 +02:00
Philipp Kühn
bb66822c19 Publish
- @tiptap/core@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.52
 - @tiptap/starter-kit@2.0.0-beta.49
2021-05-07 10:46:01 +02:00
Philipp Kühn
b0755cbad6
Merge pull request #1273 from ueberdosis/feature/generate-json-from-html
New Feature: Generate JSON from HTML
2021-05-07 10:37:17 +02:00
Philipp Kühn
0610fce06a
Merge pull request #1278 from zcuric/main
feat: expose node helpers
2021-05-07 10:35:34 +02:00
Philipp Kühn
8e92806c3d Publish
- @tiptap/extension-mention@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.53
2021-05-07 10:34:26 +02:00
Philipp Kühn
a03a01ab04 fix: move @tiptap/core to peerDependency 2021-05-07 10:34:00 +02:00
Philipp Kühn
bc24317f06 Publish
- @tiptap/core@2.0.0-beta.51
 - @tiptap/extension-mention@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.48
 - @tiptap/suggestion@2.0.0-beta.52
2021-05-07 10:27:45 +02:00
Philipp Kühn
129ad83167 fix: add support for priority and nested extension for getSchema 2021-05-07 10:25:55 +02:00
Philipp Kühn
cbc0dd8920 fix: remove editor from addExtensions context 2021-05-07 10:24:48 +02:00
Philipp Kühn
243dc5e216 Publish
- @tiptap/core@2.0.0-beta.50
 - @tiptap/extension-mention@2.0.0-beta.51
 - @tiptap/html@2.0.0-beta.50
 - @tiptap/starter-kit@2.0.0-beta.47
 - @tiptap/suggestion@2.0.0-beta.51
2021-05-07 10:11:43 +02:00
Philipp Kühn
ae17bd101c refactoring 2021-05-07 10:08:30 +02:00
Philipp Kühn
7ddc5d7076 Publish
- @tiptap/core@2.0.0-beta.49
 - @tiptap/extension-blockquote@2.0.0-beta.11
 - @tiptap/extension-bold@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.15
 - @tiptap/extension-bullet-list@2.0.0-beta.11
 - @tiptap/extension-character-count@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.18
 - @tiptap/extension-code-block@2.0.0-beta.13
 - @tiptap/extension-code@2.0.0-beta.11
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.17
 - @tiptap/extension-collaboration@2.0.0-beta.15
 - @tiptap/extension-document@2.0.0-beta.10
 - @tiptap/extension-dropcursor@2.0.0-beta.11
 - @tiptap/extension-floating-menu@2.0.0-beta.12
 - @tiptap/extension-focus@2.0.0-beta.16
 - @tiptap/extension-font-family@2.0.0-beta.10
 - @tiptap/extension-gapcursor@2.0.0-beta.15
 - @tiptap/extension-hard-break@2.0.0-beta.11
 - @tiptap/extension-heading@2.0.0-beta.11
 - @tiptap/extension-highlight@2.0.0-beta.11
 - @tiptap/extension-history@2.0.0-beta.10
 - @tiptap/extension-horizontal-rule@2.0.0-beta.14
 - @tiptap/extension-image@2.0.0-beta.11
 - @tiptap/extension-italic@2.0.0-beta.11
 - @tiptap/extension-link@2.0.0-beta.14
 - @tiptap/extension-list-item@2.0.0-beta.11
 - @tiptap/extension-mention@2.0.0-beta.50
 - @tiptap/extension-ordered-list@2.0.0-beta.11
 - @tiptap/extension-paragraph@2.0.0-beta.12
 - @tiptap/extension-placeholder@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.12
 - @tiptap/extension-table-cell@2.0.0-beta.11
 - @tiptap/extension-table-header@2.0.0-beta.13
 - @tiptap/extension-table-row@2.0.0-beta.11
 - @tiptap/extension-table@2.0.0-beta.18
 - @tiptap/extension-task-item@2.0.0-beta.13
 - @tiptap/extension-task-list@2.0.0-beta.13
 - @tiptap/extension-text-align@2.0.0-beta.14
 - @tiptap/extension-text-style@2.0.0-beta.11
 - @tiptap/extension-text@2.0.0-beta.10
 - @tiptap/extension-typography@2.0.0-beta.10
 - @tiptap/extension-underline@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.49
 - @tiptap/react@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.46
 - @tiptap/suggestion@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.27
 - @tiptap/vue-3@2.0.0-beta.33
2021-05-07 10:06:42 +02:00
Philipp Kühn
bc320d0b4b fix: revert adding exports 2021-05-07 10:02:04 +02:00
Philipp Kühn
7da647d99f fix: fix a bug that messed up pasted link attributes, fix #1284 2021-05-07 09:54:40 +02:00
Philipp Kühn
c86e4119cd Publish
- @tiptap/core@2.0.0-beta.48
 - @tiptap/extension-blockquote@2.0.0-beta.10
 - @tiptap/extension-bold@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.10
 - @tiptap/extension-character-count@2.0.0-beta.9
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.17
 - @tiptap/extension-code-block@2.0.0-beta.12
 - @tiptap/extension-code@2.0.0-beta.10
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.16
 - @tiptap/extension-collaboration@2.0.0-beta.14
 - @tiptap/extension-document@2.0.0-beta.9
 - @tiptap/extension-dropcursor@2.0.0-beta.10
 - @tiptap/extension-floating-menu@2.0.0-beta.11
 - @tiptap/extension-focus@2.0.0-beta.15
 - @tiptap/extension-font-family@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.14
 - @tiptap/extension-hard-break@2.0.0-beta.10
 - @tiptap/extension-heading@2.0.0-beta.10
 - @tiptap/extension-highlight@2.0.0-beta.10
 - @tiptap/extension-history@2.0.0-beta.9
 - @tiptap/extension-horizontal-rule@2.0.0-beta.13
 - @tiptap/extension-image@2.0.0-beta.10
 - @tiptap/extension-italic@2.0.0-beta.10
 - @tiptap/extension-link@2.0.0-beta.13
 - @tiptap/extension-list-item@2.0.0-beta.10
 - @tiptap/extension-mention@2.0.0-beta.49
 - @tiptap/extension-ordered-list@2.0.0-beta.10
 - @tiptap/extension-paragraph@2.0.0-beta.11
 - @tiptap/extension-placeholder@2.0.0-beta.14
 - @tiptap/extension-strike@2.0.0-beta.11
 - @tiptap/extension-table-cell@2.0.0-beta.10
 - @tiptap/extension-table-header@2.0.0-beta.12
 - @tiptap/extension-table-row@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.17
 - @tiptap/extension-task-item@2.0.0-beta.12
 - @tiptap/extension-task-list@2.0.0-beta.12
 - @tiptap/extension-text-align@2.0.0-beta.13
 - @tiptap/extension-text-style@2.0.0-beta.10
 - @tiptap/extension-text@2.0.0-beta.9
 - @tiptap/extension-typography@2.0.0-beta.9
 - @tiptap/extension-underline@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.48
 - @tiptap/react@2.0.0-beta.32
 - @tiptap/starter-kit@2.0.0-beta.45
 - @tiptap/suggestion@2.0.0-beta.49
 - @tiptap/vue-2@2.0.0-beta.26
 - @tiptap/vue-3@2.0.0-beta.32
2021-05-06 23:24:15 +02:00
Philipp Kühn
f8d6475e21 fix: revert adding type: module 2021-05-06 23:21:11 +02:00
Philipp Kühn
fb1196c7a7 Publish
- @tiptap/core@2.0.0-beta.47
 - @tiptap/extension-blockquote@2.0.0-beta.9
 - @tiptap/extension-bold@2.0.0-beta.9
 - @tiptap/extension-bubble-menu@2.0.0-beta.13
 - @tiptap/extension-bullet-list@2.0.0-beta.9
 - @tiptap/extension-character-count@2.0.0-beta.8
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.16
 - @tiptap/extension-code-block@2.0.0-beta.11
 - @tiptap/extension-code@2.0.0-beta.9
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.15
 - @tiptap/extension-collaboration@2.0.0-beta.13
 - @tiptap/extension-document@2.0.0-beta.8
 - @tiptap/extension-dropcursor@2.0.0-beta.9
 - @tiptap/extension-floating-menu@2.0.0-beta.10
 - @tiptap/extension-focus@2.0.0-beta.14
 - @tiptap/extension-font-family@2.0.0-beta.8
 - @tiptap/extension-gapcursor@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.9
 - @tiptap/extension-heading@2.0.0-beta.9
 - @tiptap/extension-highlight@2.0.0-beta.9
 - @tiptap/extension-history@2.0.0-beta.8
 - @tiptap/extension-horizontal-rule@2.0.0-beta.12
 - @tiptap/extension-image@2.0.0-beta.9
 - @tiptap/extension-italic@2.0.0-beta.9
 - @tiptap/extension-link@2.0.0-beta.12
 - @tiptap/extension-list-item@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.48
 - @tiptap/extension-ordered-list@2.0.0-beta.9
 - @tiptap/extension-paragraph@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.13
 - @tiptap/extension-strike@2.0.0-beta.10
 - @tiptap/extension-table-cell@2.0.0-beta.9
 - @tiptap/extension-table-header@2.0.0-beta.11
 - @tiptap/extension-table-row@2.0.0-beta.9
 - @tiptap/extension-table@2.0.0-beta.16
 - @tiptap/extension-task-item@2.0.0-beta.11
 - @tiptap/extension-task-list@2.0.0-beta.11
 - @tiptap/extension-text-align@2.0.0-beta.12
 - @tiptap/extension-text-style@2.0.0-beta.9
 - @tiptap/extension-text@2.0.0-beta.8
 - @tiptap/extension-typography@2.0.0-beta.8
 - @tiptap/extension-underline@2.0.0-beta.10
 - @tiptap/html@2.0.0-beta.47
 - @tiptap/react@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.44
 - @tiptap/suggestion@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.25
 - @tiptap/vue-3@2.0.0-beta.31
2021-05-06 23:00:19 +02:00
Philipp Kühn
1277fa4715 fix: add exports to package.json 2021-05-06 22:51:46 +02:00
Robert Guthrie
3d0226fadf
Update packages/extension-text-align/src/text-align.ts
Co-authored-by: Zdravko Curic <zcuric@users.noreply.github.com>
2021-05-07 08:06:28 +12:00
Philipp Kühn
78b336dea4 Publish
- @tiptap/core@2.0.0-beta.46
 - @tiptap/extension-mention@2.0.0-beta.47
 - @tiptap/html@2.0.0-beta.46
 - @tiptap/starter-kit@2.0.0-beta.43
 - @tiptap/suggestion@2.0.0-beta.47
2021-05-06 18:52:39 +02:00
Philipp Kühn
21384fc7a6 feat: add StarterKit extension 2021-05-06 18:41:05 +02:00
Philipp Kühn
26e672e2f0 feat: add addExtensions option 2021-05-06 18:39:47 +02:00
Zdravko Curic
6048f9b31b feat: expose node helpers to core 2021-05-06 14:52:44 +02:00
Philipp Kühn
9718002875 Publish
- @tiptap/core@2.0.0-beta.45
 - @tiptap/extension-blockquote@2.0.0-beta.8
 - @tiptap/extension-bold@2.0.0-beta.8
 - @tiptap/extension-bubble-menu@2.0.0-beta.12
 - @tiptap/extension-bullet-list@2.0.0-beta.8
 - @tiptap/extension-character-count@2.0.0-beta.7
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.15
 - @tiptap/extension-code-block@2.0.0-beta.10
 - @tiptap/extension-code@2.0.0-beta.8
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.14
 - @tiptap/extension-collaboration@2.0.0-beta.12
 - @tiptap/extension-document@2.0.0-beta.7
 - @tiptap/extension-dropcursor@2.0.0-beta.8
 - @tiptap/extension-floating-menu@2.0.0-beta.9
 - @tiptap/extension-focus@2.0.0-beta.13
 - @tiptap/extension-font-family@2.0.0-beta.7
 - @tiptap/extension-gapcursor@2.0.0-beta.12
 - @tiptap/extension-hard-break@2.0.0-beta.8
 - @tiptap/extension-heading@2.0.0-beta.8
 - @tiptap/extension-highlight@2.0.0-beta.8
 - @tiptap/extension-history@2.0.0-beta.7
 - @tiptap/extension-horizontal-rule@2.0.0-beta.11
 - @tiptap/extension-image@2.0.0-beta.8
 - @tiptap/extension-italic@2.0.0-beta.8
 - @tiptap/extension-link@2.0.0-beta.11
 - @tiptap/extension-list-item@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.46
 - @tiptap/extension-ordered-list@2.0.0-beta.8
 - @tiptap/extension-paragraph@2.0.0-beta.9
 - @tiptap/extension-placeholder@2.0.0-beta.12
 - @tiptap/extension-strike@2.0.0-beta.9
 - @tiptap/extension-table-cell@2.0.0-beta.8
 - @tiptap/extension-table-header@2.0.0-beta.10
 - @tiptap/extension-table-row@2.0.0-beta.8
 - @tiptap/extension-table@2.0.0-beta.15
 - @tiptap/extension-task-item@2.0.0-beta.10
 - @tiptap/extension-task-list@2.0.0-beta.10
 - @tiptap/extension-text-align@2.0.0-beta.11
 - @tiptap/extension-text-style@2.0.0-beta.8
 - @tiptap/extension-text@2.0.0-beta.7
 - @tiptap/extension-typography@2.0.0-beta.7
 - @tiptap/extension-underline@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.45
 - @tiptap/react@2.0.0-beta.30
 - @tiptap/starter-kit@2.0.0-beta.42
 - @tiptap/suggestion@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.24
 - @tiptap/vue-3@2.0.0-beta.30
2021-05-06 09:57:52 +02:00
Philipp Kühn
6472d2c271 fix: add CellSelection support for bubble menu 2021-05-06 09:54:35 +02:00
Philipp Kühn
9399e3061f remove some deprecated commands 2021-05-05 23:45:17 +02:00
Hans Pagel
a9c0bf5982 add a generateJSON utility to the HTML package 2021-05-05 23:10:45 +02:00
Hans Pagel
7feb19eb72 feature: add generateJSON utility function to generate JSON from a HTML string 2021-05-05 21:24:24 +02:00
Philipp Kühn
c64520b74d Publish
- @tiptap/core@2.0.0-beta.44
 - @tiptap/extension-blockquote@2.0.0-beta.7
 - @tiptap/extension-bold@2.0.0-beta.7
 - @tiptap/extension-bubble-menu@2.0.0-beta.11
 - @tiptap/extension-bullet-list@2.0.0-beta.7
 - @tiptap/extension-character-count@2.0.0-beta.6
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.14
 - @tiptap/extension-code-block@2.0.0-beta.9
 - @tiptap/extension-code@2.0.0-beta.7
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.13
 - @tiptap/extension-collaboration@2.0.0-beta.11
 - @tiptap/extension-document@2.0.0-beta.6
 - @tiptap/extension-dropcursor@2.0.0-beta.7
 - @tiptap/extension-floating-menu@2.0.0-beta.8
 - @tiptap/extension-focus@2.0.0-beta.12
 - @tiptap/extension-font-family@2.0.0-beta.6
 - @tiptap/extension-gapcursor@2.0.0-beta.11
 - @tiptap/extension-hard-break@2.0.0-beta.7
 - @tiptap/extension-heading@2.0.0-beta.7
 - @tiptap/extension-highlight@2.0.0-beta.7
 - @tiptap/extension-history@2.0.0-beta.6
 - @tiptap/extension-horizontal-rule@2.0.0-beta.10
 - @tiptap/extension-image@2.0.0-beta.7
 - @tiptap/extension-italic@2.0.0-beta.7
 - @tiptap/extension-link@2.0.0-beta.10
 - @tiptap/extension-list-item@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.45
 - @tiptap/extension-ordered-list@2.0.0-beta.7
 - @tiptap/extension-paragraph@2.0.0-beta.8
 - @tiptap/extension-placeholder@2.0.0-beta.11
 - @tiptap/extension-strike@2.0.0-beta.8
 - @tiptap/extension-table-cell@2.0.0-beta.7
 - @tiptap/extension-table-header@2.0.0-beta.9
 - @tiptap/extension-table-row@2.0.0-beta.7
 - @tiptap/extension-table@2.0.0-beta.14
 - @tiptap/extension-task-item@2.0.0-beta.9
 - @tiptap/extension-task-list@2.0.0-beta.9
 - @tiptap/extension-text-align@2.0.0-beta.10
 - @tiptap/extension-text-style@2.0.0-beta.7
 - @tiptap/extension-text@2.0.0-beta.6
 - @tiptap/extension-typography@2.0.0-beta.6
 - @tiptap/extension-underline@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.44
 - @tiptap/react@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.41
 - @tiptap/suggestion@2.0.0-beta.45
 - @tiptap/vue-2@2.0.0-beta.23
 - @tiptap/vue-3@2.0.0-beta.29
2021-05-05 21:05:29 +02:00
Philipp Kühn
33f8a57960 remove minified umd builds 2021-05-05 21:00:53 +02:00
Philipp Kühn
e9c9176032 refactoring 2021-05-05 20:50:08 +02:00
Philipp Kühn
86d570fb79 feat: remove deprecated commands insertHTML, insertNode and insertText 2021-05-05 20:50:01 +02:00
Philipp Kühn
0030f083b0 docs: update content 2021-05-05 19:42:47 +02:00
Philipp Kühn
55d430ef8f refactoring 2021-05-05 18:51:42 +02:00
Philipp Kühn
71740687f4 use replaceWith instead of replaceRangeWith in insertContentAt 2021-05-05 18:48:22 +02:00
Philipp Kühn
9320eaf05f Merge branch 'main' into feature/remove-replace-commands 2021-05-05 18:37:10 +02:00
Philipp Kühn
9b32e15a8f Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.28
2021-05-05 18:32:25 +02:00
Philipp Kühn
d5dd568d86 fix: fix lint error 2021-05-05 18:21:36 +02:00
Chris O'Sullivan
5c5680d00e Change how ref is handled in VueRenderer 2021-05-05 09:44:07 -05:00
Philipp Kühn
fda4c780d3 use insertContent in some extensions 2021-05-05 14:50:43 +02:00
Philipp Kühn
12b6f0e4f7 use tr.replaceRangeWith instead of tr.insert for insertContent command 2021-05-05 14:50:27 +02:00