Commit Graph

1405 Commits

Author SHA1 Message Date
Philipp Kühn
63b4e15b0c refactoring 2021-05-05 14:14:09 +02:00
Philipp Kühn
b5c51723ea remove insertText from insertContent 2021-05-05 14:13:58 +02:00
Philipp Kühn
63902d4bdb remove replaceRange from mention node 2021-05-05 13:49:32 +02:00
Philipp Kühn
ec838a11f2 improve Content type 2021-05-05 13:08:19 +02:00
Philipp Kühn
9ff7e2400e add insertContentAt command 2021-05-05 13:00:30 +02:00
Philipp Kühn
d955c9372a Publish
- @tiptap/core@2.0.0-beta.43
 - @tiptap/extension-link@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.44
 - @tiptap/html@2.0.0-beta.43
 - @tiptap/react@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.39
 - @tiptap/suggestion@2.0.0-beta.44
2021-05-05 09:46:38 +02:00
Philipp Kühn
5848e6a2d8 update dev dependencies 2021-05-05 09:44:40 +02:00
Philipp Kühn
9e9401e68b feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 2021-05-05 09:33:52 +02:00
Philipp Kühn
b131330ca1 don’t check for canReplaceWith within replaceRange 2021-05-04 20:51:32 +02:00
Philipp Kühn
e0895bd919 Publish
- @tiptap/core@2.0.0-beta.42
 - @tiptap/extension-bubble-menu@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.43
 - @tiptap/extension-placeholder@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.42
 - @tiptap/react@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.38
 - @tiptap/suggestion@2.0.0-beta.43
 - @tiptap/vue-2@2.0.0-beta.22
 - @tiptap/vue-3@2.0.0-beta.27
2021-05-04 11:09:39 +02:00
Philipp Kühn
0e1d6d41fe refactoring 2021-05-04 11:03:11 +02:00
Philipp Kühn
a96e0c2816
Merge pull request #1253 from zcuric/main
feat: better types for Vue 2
2021-05-04 10:54:58 +02:00
Philipp Kühn
b3fb0228e0 fix: ignore editable in dispatchTransaction, fix #1239 2021-05-04 10:46:32 +02:00
Zdravko Curic
23a152a8df feat: better types for Vue 2 2021-05-03 15:11:26 +02:00
Philipp Kühn
80cf8bb71b throw error for missing mark/node type 2021-05-03 09:50:57 +02:00
Philipp Kühn
d4c0e4a51c dependencies: update 2021-05-03 09:30:46 +02:00
Philipp Kühn
335a75e3f3
Merge pull request #1252 from Markario/patch-1
Fix returning true/false in can().chain().run()
2021-05-03 09:14:37 +02:00
Mark Zepeda
7426be019e
Fix returning true/false in can().chain().run()
I think this was previously meant to return a function in the proxy object getter, but now it's a standalone function and should return the result of the callbacks.
2021-05-02 20:04:10 -05:00
Robert Guthrie
5bb499eba8
When text align is default, don't add a style attribute 2021-05-03 11:54:03 +12:00
chrisarmstrong
823b67b1e6
Make compatible with Typography extension
They Typography extension automatically converts two hyphens `--` into an em dash `–`, which means typing three hyphens in a row results in an em dash and a hyphen `–-`, instead of triggering an hr. 

I propose adding the `–-` pattern to this `nodeInputRule` so typing three hyphens in a row will still trigger an hr, even if 'smart dashes' are enabled via the Typography extension or otherwise.
2021-04-28 10:05:48 +01:00
Philipp Kühn
8393342b19 Publish
- @tiptap/core@2.0.0-beta.41
 - @tiptap/extension-mention@2.0.0-beta.42
 - @tiptap/html@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.37
 - @tiptap/suggestion@2.0.0-beta.42
2021-04-27 22:03:23 +02:00
Philipp Kühn
0b67f18e3a fix: fix onBeforeCreate event handler, fix #1236 2021-04-27 21:52:22 +02:00
Philipp Kühn
c90e522934 Publish
- @tiptap/core@2.0.0-beta.40
 - @tiptap/extension-mention@2.0.0-beta.41
 - @tiptap/extension-table@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.36
 - @tiptap/suggestion@2.0.0-beta.41
2021-04-27 21:10:32 +02:00
Philipp Kühn
234d23887b fix: prevent a bug for node views when pressing enter on iOS, fix #1214 2021-04-27 21:07:12 +02:00
Philipp Kühn
fb3990d333 use minMax fo selection commands 2021-04-27 11:52:50 +02:00
Philipp Kühn
eb7e92f10a feat: add setCellSelection command 2021-04-27 11:41:38 +02:00
Philipp Kühn
811bf693eb feat: add setNodeSelection and setTextSelection commands 2021-04-27 11:41:24 +02:00
Philipp Kühn
fe61a6e3d8 Publish
- @tiptap/core@2.0.0-beta.39
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.40
 - @tiptap/extension-placeholder@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.39
 - @tiptap/react@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.35
 - @tiptap/suggestion@2.0.0-beta.40
2021-04-27 10:55:02 +02:00
Philipp Kühn
592892edd1 fix: add correct type for parseOptions 2021-04-26 23:43:32 +02:00
Philipp Kühn
26785dbec0 fix: fix type error for commands 2021-04-26 23:33:45 +02:00
Philipp Kühn
ebb00f4f9d dependencies: update 2021-04-26 23:25:04 +02:00
Philipp Kühn
9a40c17b34 fix: set correct type for emitUpdate 2021-04-25 21:04:26 +02:00
Philipp Kühn
ef51852e6a Publish
- @tiptap/react@2.0.0-beta.25
2021-04-23 23:42:16 +02:00
Philipp Kühn
cfb3b80f63 fix: allow passing props to NodeViewWrapper and NodeViewContent 2021-04-23 23:38:38 +02:00
Philipp Kühn
bd9e15d78f Publish
- @tiptap/core@2.0.0-beta.38
 - @tiptap/extension-blockquote@2.0.0-beta.6
 - @tiptap/extension-bold@2.0.0-beta.6
 - @tiptap/extension-bubble-menu@2.0.0-beta.9
 - @tiptap/extension-bullet-list@2.0.0-beta.6
 - @tiptap/extension-character-count@2.0.0-beta.5
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.11
 - @tiptap/extension-code-block@2.0.0-beta.8
 - @tiptap/extension-code@2.0.0-beta.6
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.12
 - @tiptap/extension-collaboration@2.0.0-beta.10
 - @tiptap/extension-document@2.0.0-beta.5
 - @tiptap/extension-dropcursor@2.0.0-beta.6
 - @tiptap/extension-floating-menu@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.10
 - @tiptap/extension-font-family@2.0.0-beta.5
 - @tiptap/extension-gapcursor@2.0.0-beta.10
 - @tiptap/extension-hard-break@2.0.0-beta.6
 - @tiptap/extension-heading@2.0.0-beta.6
 - @tiptap/extension-highlight@2.0.0-beta.6
 - @tiptap/extension-history@2.0.0-beta.5
 - @tiptap/extension-horizontal-rule@2.0.0-beta.7
 - @tiptap/extension-image@2.0.0-beta.6
 - @tiptap/extension-italic@2.0.0-beta.6
 - @tiptap/extension-link@2.0.0-beta.8
 - @tiptap/extension-list-item@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.39
 - @tiptap/extension-ordered-list@2.0.0-beta.6
 - @tiptap/extension-paragraph@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.8
 - @tiptap/extension-strike@2.0.0-beta.7
 - @tiptap/extension-table-cell@2.0.0-beta.6
 - @tiptap/extension-table-header@2.0.0-beta.8
 - @tiptap/extension-table-row@2.0.0-beta.6
 - @tiptap/extension-table@2.0.0-beta.11
 - @tiptap/extension-task-item@2.0.0-beta.8
 - @tiptap/extension-task-list@2.0.0-beta.8
 - @tiptap/extension-text-align@2.0.0-beta.9
 - @tiptap/extension-text-style@2.0.0-beta.6
 - @tiptap/extension-text@2.0.0-beta.5
 - @tiptap/extension-typography@2.0.0-beta.5
 - @tiptap/extension-underline@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.38
 - @tiptap/react@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.34
 - @tiptap/suggestion@2.0.0-beta.39
 - @tiptap/vue-2@2.0.0-beta.21
 - @tiptap/vue-3@2.0.0-beta.26
2021-04-23 23:10:36 +02:00
Philipp Kühn
b84a56a84a fix: improve isActive check for floating menu when using custom doc content, fix #1205 2021-04-23 23:01:53 +02:00
Philipp Kühn
888cce2e4c refactor: don’t use destructuring for props 2021-04-23 20:50:01 +02:00
Philipp Kühn
20f870dc9d Publish
- @tiptap/core@2.0.0-beta.37
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.11
 - @tiptap/extension-collaboration@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.38
 - @tiptap/extension-task-item@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.38
2021-04-23 09:02:06 +02:00
Philipp Kühn
cfd29fac86 fix: better merge mark attributes for existing marks, fix #1039 2021-04-23 08:58:03 +02:00
Philipp Kühn
5e53e444d5 refactor: use chain on checkbox click 2021-04-22 23:10:54 +02:00
Philipp Kühn
d6b6f5bd8e dependencies: update 2021-04-22 21:28:10 +02:00
Philipp Kühn
4b68a369a1 Publish
- @tiptap/core@2.0.0-beta.36
 - @tiptap/extension-blockquote@2.0.0-beta.5
 - @tiptap/extension-bold@2.0.0-beta.5
 - @tiptap/extension-bubble-menu@2.0.0-beta.8
 - @tiptap/extension-bullet-list@2.0.0-beta.5
 - @tiptap/extension-character-count@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.10
 - @tiptap/extension-code-block@2.0.0-beta.7
 - @tiptap/extension-code@2.0.0-beta.5
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.10
 - @tiptap/extension-collaboration@2.0.0-beta.8
 - @tiptap/extension-document@2.0.0-beta.4
 - @tiptap/extension-dropcursor@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.5
 - @tiptap/extension-focus@2.0.0-beta.9
 - @tiptap/extension-font-family@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.9
 - @tiptap/extension-hard-break@2.0.0-beta.5
 - @tiptap/extension-heading@2.0.0-beta.5
 - @tiptap/extension-highlight@2.0.0-beta.5
 - @tiptap/extension-history@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.6
 - @tiptap/extension-image@2.0.0-beta.5
 - @tiptap/extension-italic@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.7
 - @tiptap/extension-list-item@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.37
 - @tiptap/extension-ordered-list@2.0.0-beta.5
 - @tiptap/extension-paragraph@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.7
 - @tiptap/extension-strike@2.0.0-beta.6
 - @tiptap/extension-table-cell@2.0.0-beta.5
 - @tiptap/extension-table-header@2.0.0-beta.7
 - @tiptap/extension-table-row@2.0.0-beta.5
 - @tiptap/extension-table@2.0.0-beta.10
 - @tiptap/extension-task-item@2.0.0-beta.6
 - @tiptap/extension-task-list@2.0.0-beta.7
 - @tiptap/extension-text-align@2.0.0-beta.8
 - @tiptap/extension-text-style@2.0.0-beta.5
 - @tiptap/extension-text@2.0.0-beta.4
 - @tiptap/extension-typography@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.36
 - @tiptap/react@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.32
 - @tiptap/suggestion@2.0.0-beta.37
 - @tiptap/vue-2@2.0.0-beta.20
 - @tiptap/vue-3@2.0.0-beta.25
2021-04-22 14:54:48 +02:00
Philipp Kühn
e885ffa15b fix: prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197 2021-04-22 14:23:48 +02:00
Philipp Kühn
8ed220a12d fix: fix a bug for empty node selection where the bubble menu should not be visible, fix #1023 2021-04-21 23:38:13 +02:00
Hans Pagel
f6a242438e replace link to GitHub repository 2021-04-21 15:31:11 +02:00
Philipp Kühn
8fd618a788 Publish
- @tiptap/core@2.0.0-beta.35
 - @tiptap/extension-blockquote@2.0.0-beta.4
 - @tiptap/extension-bold@2.0.0-beta.4
 - @tiptap/extension-bullet-list@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.9
 - @tiptap/extension-code-block@2.0.0-beta.6
 - @tiptap/extension-code@2.0.0-beta.4
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.8
 - @tiptap/extension-hard-break@2.0.0-beta.4
 - @tiptap/extension-heading@2.0.0-beta.4
 - @tiptap/extension-highlight@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.5
 - @tiptap/extension-image@2.0.0-beta.4
 - @tiptap/extension-italic@2.0.0-beta.4
 - @tiptap/extension-link@2.0.0-beta.6
 - @tiptap/extension-list-item@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.36
 - @tiptap/extension-ordered-list@2.0.0-beta.4
 - @tiptap/extension-paragraph@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.5
 - @tiptap/extension-table-cell@2.0.0-beta.4
 - @tiptap/extension-table-header@2.0.0-beta.6
 - @tiptap/extension-table-row@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.9
 - @tiptap/extension-task-item@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.35
 - @tiptap/react@2.0.0-beta.22
 - @tiptap/starter-kit@2.0.0-beta.31
 - @tiptap/suggestion@2.0.0-beta.36
 - @tiptap/vue-2@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.24
2021-04-21 09:54:20 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
d720d77e8d refactor: use name instead of magic string 2021-04-20 23:12:46 +02:00
Philipp Kühn
df43c1bc47 fix: add name to context 2021-04-20 23:12:21 +02:00
Philipp Kühn
a43d4c7bcb fix: add name to context 2021-04-20 23:12:15 +02:00
Philipp Kühn
12f60abb73 feat: add name to extension context 2021-04-20 23:11:35 +02:00
Philipp Kühn
92ced9f998 fix: don’t use state in KeyboardShortcutCommand anymore 2021-04-20 23:01:06 +02:00
Philipp Kühn
046d1ccb3b refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:59:16 +02:00
Philipp Kühn
9ca865a253 refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:58:59 +02:00
Philipp Kühn
e0c2460a96 feat: add editor prop to KeyboardShortcutCommand 2021-04-20 22:58:09 +02:00
Philipp Kühn
8bb30776bc Publish
- @tiptap/core@2.0.0-beta.34
 - @tiptap/extension-mention@2.0.0-beta.35
 - @tiptap/html@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.30
 - @tiptap/suggestion@2.0.0-beta.35
2021-04-20 17:21:53 +02:00
Philipp Kühn
4e6d43bbfb fix: fix a bug when dragging node views 2021-04-20 17:18:59 +02:00
Philipp Kühn
cc1f1a787a Publish
- @tiptap/core@2.0.0-beta.33
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.8
 - @tiptap/extension-collaboration@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.34
 - @tiptap/html@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.29
 - @tiptap/suggestion@2.0.0-beta.34
2021-04-20 11:50:54 +02:00
Philipp Kühn
b6852ad9ca depencencies: update 2021-04-20 09:35:34 +02:00
Philipp Kühn
aa002a012b fix: fix extension option merging 2021-04-17 21:25:29 +02:00
Philipp Kühn
148380b70d Publish
- @tiptap/extension-mention@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.23
2021-04-16 23:35:25 +02:00
Philipp Kühn
f6d8776ca0 fix: fix editor type for VueRenderer, fix #281 2021-04-16 23:34:29 +02:00
Philipp Kühn
07c6d51338 fix: fix type for clientRect 2021-04-16 23:33:30 +02:00
Philipp Kühn
ea9f541091 Publish
- @tiptap/core@2.0.0-beta.32
 - @tiptap/extension-blockquote@2.0.0-beta.3
 - @tiptap/extension-bold@2.0.0-beta.3
 - @tiptap/extension-bubble-menu@2.0.0-beta.7
 - @tiptap/extension-bullet-list@2.0.0-beta.3
 - @tiptap/extension-character-count@2.0.0-beta.3
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.8
 - @tiptap/extension-code-block@2.0.0-beta.5
 - @tiptap/extension-code@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.7
 - @tiptap/extension-collaboration@2.0.0-beta.6
 - @tiptap/extension-document@2.0.0-beta.3
 - @tiptap/extension-dropcursor@2.0.0-beta.4
 - @tiptap/extension-floating-menu@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.8
 - @tiptap/extension-font-family@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.7
 - @tiptap/extension-hard-break@2.0.0-beta.3
 - @tiptap/extension-heading@2.0.0-beta.3
 - @tiptap/extension-highlight@2.0.0-beta.3
 - @tiptap/extension-history@2.0.0-beta.3
 - @tiptap/extension-horizontal-rule@2.0.0-beta.4
 - @tiptap/extension-image@2.0.0-beta.3
 - @tiptap/extension-italic@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.5
 - @tiptap/extension-list-item@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.32
 - @tiptap/extension-ordered-list@2.0.0-beta.3
 - @tiptap/extension-paragraph@2.0.0-beta.4
 - @tiptap/extension-placeholder@2.0.0-beta.6
 - @tiptap/extension-strike@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.5
 - @tiptap/extension-table-row@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.8
 - @tiptap/extension-task-item@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.5
 - @tiptap/extension-text-align@2.0.0-beta.7
 - @tiptap/extension-text-style@2.0.0-beta.3
 - @tiptap/extension-text@2.0.0-beta.3
 - @tiptap/extension-typography@2.0.0-beta.3
 - @tiptap/extension-underline@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.32
 - @tiptap/react@2.0.0-beta.21
 - @tiptap/starter-kit@2.0.0-beta.28
 - @tiptap/suggestion@2.0.0-beta.32
 - @tiptap/vue-2@2.0.0-beta.18
 - @tiptap/vue-3@2.0.0-beta.22
2021-04-16 14:54:37 +02:00
Philipp Kühn
89b72b8608 refactoring: rename posToClientRect to posToDOMRect 2021-04-16 14:44:10 +02:00
Philipp Kühn
a0ba4542ef fix menu fade animations 2021-04-16 13:29:50 +02:00
Philipp Kühn
9f64015157 feat: remove resize event handler 2021-04-16 12:51:47 +02:00
Philipp Kühn
9a56f666a1 feat: add tippyOptions prop 2021-04-16 12:42:56 +02:00
Philipp Kühn
398fc7f210 fix: fix tippy for react 2021-04-16 11:34:37 +02:00
Philipp Kühn
3b5746a34c enable hideOnClick again 2021-04-16 11:14:30 +02:00
Philipp Kühn
54df2ce077 feat: use tippy for floating menu 2021-04-16 11:12:03 +02:00
Philipp Kühn
76b1e58657 refactor: code style 2021-04-16 11:11:41 +02:00
Philipp Kühn
d7282f168b feat: remove keepInBounds 2021-04-16 10:46:50 +02:00
Philipp Kühn
c28d8f7fad refactor: remove coordsAtPos from bubble menu extension 2021-04-16 09:57:23 +02:00
Philipp Kühn
8dab6144a6 feat: add coordsAtPos and posToClientRect helper methods 2021-04-16 09:56:52 +02:00
Philipp Kühn
cadabd09e0 Merge branch 'main' into feature/tippy-menus 2021-04-16 09:30:42 +02:00
Philipp Kühn
99d309030b Publish
- @tiptap/core@2.0.0-beta.31
 - @tiptap/extension-mention@2.0.0-beta.31
 - @tiptap/html@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.27
 - @tiptap/suggestion@2.0.0-beta.31
2021-04-16 00:19:17 +02:00
Philipp Kühn
4137e00d98 fix: fix type for emitUpdate, fix #276 2021-04-16 00:17:09 +02:00
Philipp Kühn
634c1ae493 Publish
- @tiptap/core@2.0.0-beta.30
 - @tiptap/extension-blockquote@2.0.0-beta.2
 - @tiptap/extension-bold@2.0.0-beta.2
 - @tiptap/extension-bubble-menu@2.0.0-beta.6
 - @tiptap/extension-bullet-list@2.0.0-beta.2
 - @tiptap/extension-character-count@2.0.0-beta.2
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.7
 - @tiptap/extension-code-block@2.0.0-beta.4
 - @tiptap/extension-code@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.6
 - @tiptap/extension-collaboration@2.0.0-beta.5
 - @tiptap/extension-document@2.0.0-beta.2
 - @tiptap/extension-dropcursor@2.0.0-beta.3
 - @tiptap/extension-floating-menu@2.0.0-beta.3
 - @tiptap/extension-focus@2.0.0-beta.7
 - @tiptap/extension-font-family@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.6
 - @tiptap/extension-hard-break@2.0.0-beta.2
 - @tiptap/extension-heading@2.0.0-beta.2
 - @tiptap/extension-highlight@2.0.0-beta.2
 - @tiptap/extension-history@2.0.0-beta.2
 - @tiptap/extension-horizontal-rule@2.0.0-beta.3
 - @tiptap/extension-image@2.0.0-beta.2
 - @tiptap/extension-italic@2.0.0-beta.2
 - @tiptap/extension-link@2.0.0-beta.4
 - @tiptap/extension-list-item@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.30
 - @tiptap/extension-ordered-list@2.0.0-beta.2
 - @tiptap/extension-paragraph@2.0.0-beta.3
 - @tiptap/extension-placeholder@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.3
 - @tiptap/extension-table-cell@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.4
 - @tiptap/extension-table-row@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.7
 - @tiptap/extension-task-item@2.0.0-beta.3
 - @tiptap/extension-task-list@2.0.0-beta.4
 - @tiptap/extension-text-align@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.2
 - @tiptap/extension-text@2.0.0-beta.2
 - @tiptap/extension-typography@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.30
 - @tiptap/react@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.26
 - @tiptap/suggestion@2.0.0-beta.30
 - @tiptap/vue-2@2.0.0-beta.17
 - @tiptap/vue-3@2.0.0-beta.21
2021-04-15 23:45:50 +02:00
Philipp Kühn
afe12f1603 fix attributes 2021-04-15 23:14:47 +02:00
Philipp Kühn
08974c6332 fix lint errors 2021-04-15 22:58:13 +02:00
Philipp Kühn
998356a530 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/add-hierarchy-to-extensions
# Conflicts:
#	packages/extension-code-block-lowlight/src/code-block-lowlight.ts
2021-04-15 22:57:04 +02:00
Philipp Kühn
b3596582da fix some more errors 2021-04-15 22:53:02 +02:00
Philipp Kühn
bc35016728 wip: use parent for code bleock highlight extension 2021-04-15 22:15:07 +02:00
Philipp Kühn
6c2eea094c wip: fix isList 2021-04-15 22:08:52 +02:00
Philipp Kühn
05434afc47 wip: add extension.name 2021-04-15 22:03:45 +02:00
Hans Pagel
accceccd09 docs: update content 2021-04-15 21:48:19 +02:00
Philipp Kühn
016bda4010 wip: fix extendNodeSchema and extendMarkSchema 2021-04-15 21:43:41 +02:00
Philipp Kühn
07bc40ce75 wip: add getExtensionField 2021-04-15 21:14:33 +02:00
Philipp Kühn
d194b90a61 wip: save hierachy within extension classes 2021-04-15 14:40:28 +02:00
Philipp Kühn
6e8970566b Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.6
2021-04-14 10:05:57 +02:00
Philipp Kühn
edb4a0da3b bump 2021-04-14 10:05:29 +02:00
Philipp Kühn
125f16e967 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.4
2021-04-14 10:00:39 +02:00
Philipp Kühn
922f25e8cd remove parentConfig from code block extension for now, see #259 2021-04-14 09:53:17 +02:00
Philipp Kühn
c40ce34eec wip: add some hierarchy tests 2021-04-14 09:48:38 +02:00
Philipp Kühn
daa5dc0fb1 fix: fix lowlight decorations for vue 3 2021-04-12 16:20:49 +02:00
Philipp Kühn
00ac898242 Publish
- @tiptap/core@2.0.0-beta.29
 - @tiptap/extension-mention@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.25
 - @tiptap/suggestion@2.0.0-beta.29
2021-04-12 12:41:59 +02:00
Philipp Kühn
0a6312382f fix: fix adding mark only with insertContent(), fix #264 2021-04-12 12:39:36 +02:00
Philipp Kühn
28d30a1034 Publish
- @tiptap/core@2.0.0-beta.28
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.28
 - @tiptap/extension-table@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.24
 - @tiptap/suggestion@2.0.0-beta.28
2021-04-12 11:16:59 +02:00
Philipp Kühn
5e1ec5d2a6 feat: add parentConfig to extension context for more extendable extensions, fix #259 2021-04-12 11:11:02 +02:00
Philipp Kühn
cdf977a547 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.2
 - @tiptap/extension-code-block@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.23
2021-04-11 19:01:23 +02:00
Philipp Kühn
33c30c0d6d fix: fix a bug in link click handler, where we can’t click on text selections. fix #263 2021-04-11 18:59:07 +02:00
Philipp Kühn
92f6ea25cc fix: remove codeblock when at start of document, fix #262 2021-04-11 18:29:03 +02:00
Philipp Kühn
65ee85d6cc Publish
- @tiptap/react@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.20
2021-04-11 14:04:22 +02:00
Philipp Kühn
ea0992f66e fix: fix using react node views with insertContent 2021-04-11 14:03:16 +02:00
Philipp Kühn
054edc32a4 use tippy for bubble menu 2021-04-09 22:42:09 +02:00
Philipp Kühn
009a948cae fix types for vue-3 in vscode 2021-04-09 13:43:39 +02:00
Philipp Kühn
9fbde0f8da Publish
- @tiptap/core@2.0.0-beta.27
 - @tiptap/extension-mention@2.0.0-beta.27
 - @tiptap/extension-strike@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.22
 - @tiptap/suggestion@2.0.0-beta.27
2021-04-09 13:22:27 +02:00
Philipp Kühn
eff2c4140a fix: fix a bug where strike and underline can’t parsed together 2021-04-09 13:20:54 +02:00
Philipp Kühn
e7fe7248af fix: add scrollIntoView for insertContent 2021-04-09 10:45:23 +02:00
Philipp Kühn
a5794e7c00 Publish
- @tiptap/core@2.0.0-beta.26
 - @tiptap/extension-mention@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.21
 - @tiptap/suggestion@2.0.0-beta.26
2021-04-09 10:07:07 +02:00
Philipp Kühn
708ac94ceb fix: fix a bug when detecting changes within node views 2021-04-09 09:51:07 +02:00
Philipp Kühn
99153760d6 Publish
- @tiptap/core@2.0.0-beta.25
 - @tiptap/extension-mention@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.25
 - @tiptap/starter-kit@2.0.0-beta.20
 - @tiptap/suggestion@2.0.0-beta.25
2021-04-09 08:24:24 +02:00
Philipp Kühn
39147f5b02 fix: fixed type for Content 2021-04-09 08:22:13 +02:00
Philipp Kühn
3ef0c3bf8d Publish
- @tiptap/core@2.0.0-beta.24
 - @tiptap/extension-mention@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.19
 - @tiptap/suggestion@2.0.0-beta.24
2021-04-09 00:14:04 +02:00
Philipp Kühn
d2c5b71c28 fix: improve drag position for node views even more 2021-04-09 00:11:29 +02:00
Philipp Kühn
6029d74f79 Publish
- @tiptap/core@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.18
 - @tiptap/suggestion@2.0.0-beta.23
2021-04-08 23:55:51 +02:00
Philipp Kühn
5e5b8db6eb fix: improve drag position for node views 2021-04-08 23:53:47 +02:00
Philipp Kühn
992986bc46 Publish
- @tiptap/core@2.0.0-beta.22
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.22
 - @tiptap/extension-text-align@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.22
 - @tiptap/react@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.17
 - @tiptap/suggestion@2.0.0-beta.22
 - @tiptap/vue-2@2.0.0-beta.16
 - @tiptap/vue-3@2.0.0-beta.19
2021-04-08 23:08:39 +02:00
Philipp Kühn
d6890b19c3 fix package.json 2021-04-08 22:58:51 +02:00
Philipp Kühn
b48da13665 prevent empty decorations 2021-04-08 22:44:40 +02:00
Philipp Kühn
08bc5c3d81 Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-08 22:18:59 +02:00
Philipp Kühn
bd392ee8c2 remove languages option from codeblocklowlight 2021-04-08 22:13:50 +02:00
Philipp Kühn
113d50b814 Publish
- @tiptap/core@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.21
 - @tiptap/extension-text-align@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.17
 - @tiptap/starter-kit@2.0.0-beta.16
 - @tiptap/suggestion@2.0.0-beta.21
 - @tiptap/vue-2@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.18
2021-04-08 09:15:09 +02:00
Philipp Kühn
f8dec5f905 fix: make as prop optional 2021-04-08 09:11:45 +02:00
Philipp Kühn
536663f816 fix: improve node view error message 2021-04-08 09:05:43 +02:00
Philipp Kühn
95f31f48fd Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-07 22:39:39 +02:00
Philipp Kühn
160ee9f846 enable clipboardTextSerializer again 2021-04-07 22:22:39 +02:00
Philipp Kühn
7877fbcb11 fix lint 2021-04-07 22:09:46 +02:00
Philipp Kühn
a0e2a830d7 refactor: remove isEditable from node views, remove viewUpdate event 2021-04-07 22:07:36 +02:00
Philipp Kühn
7b1d8d103c Publish
- @tiptap/core@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.20
 - @tiptap/extension-text-align@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.15
 - @tiptap/suggestion@2.0.0-beta.20
2021-04-07 21:32:38 +02:00
Philipp Kühn
3334d930f3 feat: add resetAttributes() command, deprecate resetNodeAttributes() 2021-04-07 21:30:55 +02:00
Philipp Kühn
41a044417e Publish
- @tiptap/core@2.0.0-beta.19
 - @tiptap/extension-mention@2.0.0-beta.19
 - @tiptap/extension-text-align@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.14
 - @tiptap/suggestion@2.0.0-beta.19
2021-04-07 21:18:49 +02:00
Philipp Kühn
aac32b4df6 feat: add updateAttributes() command, deprecate updateNodeAttributes(), fix #254 2021-04-07 21:17:02 +02:00
Philipp Kühn
ae2e496a70 Publish
- @tiptap/core@2.0.0-beta.18
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.18
 - @tiptap/extension-paragraph@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.13
 - @tiptap/suggestion@2.0.0-beta.18
2021-04-07 18:35:17 +02:00
Philipp Kühn
bb1ae659a4 feat: add priority option to extensions 2021-04-07 18:29:16 +02:00
Philipp Kühn
6d83bef97d Publish
- @tiptap/core@2.0.0-beta.17
 - @tiptap/extension-mention@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.17
 - @tiptap/react@2.0.0-beta.16
 - @tiptap/starter-kit@2.0.0-beta.12
 - @tiptap/suggestion@2.0.0-beta.17
2021-04-07 16:08:33 +02:00
Philipp Kühn
beb96c5cbf fix: remove debug log 2021-04-07 16:03:01 +02:00
Philipp Kühn
2718ccff6f fix some react ts issues 2021-04-07 14:29:51 +02:00
Philipp Kühn
a06a8f0fa2 Publish
- @tiptap/core@2.0.0-beta.16
 - @tiptap/extension-horizontal-rule@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.16
 - @tiptap/react@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.11
 - @tiptap/suggestion@2.0.0-beta.16
2021-04-07 12:01:33 +02:00
Philipp Kühn
b8d9b7d4c7 feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode() 2021-04-07 11:53:37 +02:00
Philipp Kühn
af17f2c657 fix: improve handling of horizontal rule at document end, fix #248 2021-04-06 23:48:51 +02:00
Philipp Kühn
92c2c81b8e why 2021-04-06 23:00:03 +02:00
Philipp Kühn
c83cd59df1 Publish
- @tiptap/vue-3@2.0.0-beta.17
2021-04-06 19:50:07 +02:00
Philipp Kühn
73650c12e0 fix: fix vue dependency 2021-04-06 19:46:48 +02:00
Philipp Kühn
70daefa1ca remove deprecated packages 2021-04-06 19:15:46 +02:00
Philipp Kühn
2a64dda01d Publish
- @tiptap/core@2.0.0-beta.15
 - @tiptap/extension-dropcursor@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.15
 - @tiptap/extension-placeholder@2.0.0-beta.4
 - @tiptap/extension-task-item@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.10
 - @tiptap/suggestion@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.16
 - @tiptap/vue-starter-kit@2.0.0-beta.14
2021-04-06 19:11:40 +02:00
Philipp Kühn
cc5d8d3623 dependencies: update dependencies 2021-04-06 19:09:37 +02:00
Philipp Kühn
5622deca30 fix: fix checkbox in firefox, fix #251 2021-04-06 18:57:39 +02:00
Philipp Kühn
130023bca5 update dependencies 2021-04-05 11:41:10 +02:00
Philipp Kühn
65ef42a0b1 refactoring 2021-04-04 23:44:57 +02:00
Philipp Kühn
143e0204a3 refactoring 2021-04-04 23:41:44 +02:00
Philipp Kühn
704e01de6a Merge branch 'main' into feature/extension-code-block-lowlight
# Conflicts:
#	docs/src/docPages/api/nodes/code-block-lowlight.md
#	docs/src/links.yaml
2021-04-04 23:13:52 +02:00
Philipp Kühn
8bfcba3e62 Publish
- @tiptap/react@2.0.0-beta.14
2021-04-04 21:46:14 +02:00
philippkuehn
cdb57b2e39 ci: fix code style linting errors 2021-04-04 19:44:43 +00:00
Philipp Kühn
bdb5d72495 feat: render wrapper element for inline node views as span, fix #242 2021-04-04 21:43:48 +02:00
Philipp Kühn
5faf1ab10f Publish
- @tiptap/core@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.14
 - @tiptap/starter-kit@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.14
 - @tiptap/vue-starter-kit@2.0.0-beta.13
2021-04-04 09:52:29 +02:00
Philipp Kühn
3a5cad6bea check for contenteditable within nodeviews 2021-04-04 09:50:36 +02:00
Philipp Kühn
550b8bd216 Publish
- @tiptap/vue-2@2.0.0-beta.14
 - @tiptap/vue-3@2.0.0-beta.15
2021-04-03 23:18:30 +02:00
Philipp Kühn
177eed65a4 fix menus in vue 3 for now 2021-04-03 23:17:36 +02:00
Philipp Kühn
7c757415e9 fix adding decoration classes to node views in vue 2021-04-03 23:15:13 +02:00
Philipp Kühn
25582c64cc add y.js support for codeblock extension 2021-04-03 12:34:27 +02:00
Philipp Kühn
6757813fd0 refactoring 2021-04-02 23:53:04 +02:00
Philipp Kühn
dd505d2773 refactoring 2021-04-02 23:40:52 +02:00
Philipp Kühn
c94264894b fix a big in highlighter 2021-04-02 23:02:05 +02:00
Philipp Kühn
74bd678e8b remove custom name for lowlight code block 2021-04-02 22:30:12 +02:00
Philipp Kühn
faa0ef8bfa check for language in highlighting 2021-04-02 22:21:17 +02:00
Philipp Kühn
c8f384b9fc remove log 2021-04-02 22:20:20 +02:00
Philipp Kühn
f1dac9aaef Publish
- @tiptap/core@2.0.0-beta.13
 - @tiptap/extension-code-block@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.13
 - @tiptap/starter-kit@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.12
2021-04-02 21:59:12 +02:00
Philipp Kühn
a5e1030e4f add insertNode command 2021-04-02 21:55:25 +02:00
Philipp Kühn
7adf1853d7 add basic lowlight extension 2021-04-02 00:07:40 +02:00
Philipp Kühn
4d882af5d7 fix typo 2021-04-01 23:03:27 +02:00
Philipp Kühn
aa7a9f7015 Publish
- @tiptap/core@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.12
 - @tiptap/vue-starter-kit@2.0.0-beta.11
2021-04-01 19:11:11 +02:00
Philipp Kühn
f2ca9322ee add keepOnSplit option for marks 2021-04-01 19:06:40 +02:00
Philipp Kühn
9cdc76a082 fix whitespace 2021-04-01 18:42:31 +02:00
Philipp Kühn
1bd865809d Publish
- @tiptap/react@2.0.0-beta.13
 - @tiptap/vue-2@2.0.0-beta.13
 - @tiptap/vue-3@2.0.0-beta.14
2021-04-01 18:00:24 +02:00
Philipp Kühn
4d4f96bfc0 fix flicker bug for menus 2021-04-01 17:55:32 +02:00
Philipp Kühn
17726770d2 Publish
- @tiptap/core@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.11
 - @tiptap/react@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.12
 - @tiptap/vue-3@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.10
2021-04-01 16:29:08 +02:00
Philipp Kühn
e25e1ddd27 update menus on resize 2021-04-01 16:22:02 +02:00
Philipp Kühn
c68fa74ad1 add resize event 2021-04-01 16:21:47 +02:00
Philipp Kühn
b9ee5555e5 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.11
 - @tiptap/vue-3@2.0.0-beta.12
2021-04-01 16:00:55 +02:00
Philipp Kühn
f2a45f68d4 Merge branch 'feature/extension-floating-menu'
# Conflicts:
#	packages/react/package.json
#	packages/vue-2/package.json
#	packages/vue-3/package.json
2021-04-01 15:57:23 +02:00
Philipp Kühn
3eac1ce319 add floating menu to vue 3 and react 2021-04-01 15:55:19 +02:00
Philipp Kühn
c55ebc7ea6 improve default node detection for floating menu 2021-04-01 15:33:37 +02:00
Philipp Kühn
007e6f855b add basic floating menu 2021-04-01 15:19:31 +02:00
Philipp Kühn
95642d979c Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.10
 - @tiptap/vue-3@2.0.0-beta.11
2021-04-01 12:20:57 +02:00
Philipp Kühn
0e11fa6cff remove transform 2021-04-01 12:12:23 +02:00
Philipp Kühn
3cf22b02c6 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.5
 - @tiptap/vue-2@2.0.0-beta.9
 - @tiptap/vue-3@2.0.0-beta.10
 - @tiptap/vue-starter-kit@2.0.0-beta.9
2021-03-31 23:40:03 +02:00
Philipp Kühn
8881af4785 add core dependency, fix #201 2021-03-31 23:38:12 +02:00
Philipp Kühn
4ddb698398 fix readme 2021-03-31 22:15:48 +02:00
Philipp Kühn
2cf5792bea Publish
- @tiptap/vue-3@2.0.0-beta.9
2021-03-31 16:54:35 +02:00
Philipp Kühn
bb6cef9862 add missing dependency 2021-03-31 16:53:38 +02:00
Philipp Kühn
62b46ab15a Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.8
 - @tiptap/vue-2@2.0.0-beta.8
2021-03-31 16:53:07 +02:00
Philipp Kühn
56a037b8e8 dont use document in BubbleMenu extension 2021-03-31 16:51:48 +02:00
Philipp Kühn
0e31fff97f Publish
- @tiptap/core@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.10
 - @tiptap/react@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.7
 - @tiptap/vue-3@2.0.0-beta.8
 - @tiptap/vue-starter-kit@2.0.0-beta.8
 - @tiptap/vue@2.0.0-beta.5
2021-03-31 14:17:14 +02:00
Philipp Kühn
f8d029040a fix type cycle bug in vite 2021-03-31 13:44:56 +02:00
Philipp Kühn
d06f5c0c73 fix using registerPlugin and unregisterPlugin for vue-3 2021-03-31 12:11:55 +02:00
Philipp Kühn
2b0a0dad0f add bubble menu to vue-3 2021-03-31 11:52:36 +02:00
Philipp Kühn
e0895926bd refactoring 2021-03-31 11:13:09 +02:00
Philipp Kühn
a90f08fb1c fix a bug in bubble menu 2021-03-31 10:58:05 +02:00
Philipp Kühn
df58611810 rename type 2021-03-31 10:22:54 +02:00
Philipp Kühn
6f5a96d2e5 add menububble react component 2021-03-31 10:21:34 +02:00
Philipp Kühn
0bdac219f5 remove unused file 2021-03-31 10:00:01 +02:00
Philipp Kühn
5213069bb4 add react demo (WIP) to bubble menu 2021-03-30 14:24:52 +02:00
Philipp Kühn
daa8e72477 add doc page for bubble menu 2021-03-30 14:07:18 +02:00
Philipp Kühn
35ca89311f refactoring 2021-03-30 12:56:23 +02:00
Philipp Kühn
86fa24231c improve bubble menu 2021-03-30 12:45:56 +02:00
Philipp Kühn
0aa9408124 fix a bug 2021-03-30 12:20:19 +02:00
Philipp Kühn
d25567ff74 refactoring 2021-03-30 12:13:55 +02:00
Philipp Kühn
71a4e5e646 add bubble menu from v1 2021-03-30 11:36:51 +02:00
Philipp Kühn
60a3b0dfdd set props for composition api, see #236 2021-03-29 21:24:20 +02:00
Philipp Kühn
43bafac060 update dependencies 2021-03-29 17:23:45 +02:00
Philipp Kühn
1a7288eb3b Publish
- @tiptap/core@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.9
2021-03-28 21:33:02 +02:00
Philipp Kühn
4717d7ff9a fix more commands for cell selections 2021-03-28 21:30:47 +02:00
Philipp Kühn
ffde0a382e Publish
- @tiptap/core@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.8
2021-03-28 21:12:41 +02:00
Philipp Kühn
9595a23eb8 fix updating marks for multiple table cells, fix #186 2021-03-28 21:07:56 +02:00
Philipp Kühn
bb1dad7560 Publish
- @tiptap/core@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.7
 - @tiptap/react@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.7
 - @tiptap/vue-2@2.0.0-beta.6
 - @tiptap/vue-3@2.0.0-beta.7
 - @tiptap/vue-starter-kit@2.0.0-beta.7
 - @tiptap/vue@2.0.0-beta.4
2021-03-28 20:22:10 +02:00
Philipp Kühn
b7cf5e3e4f fix colwidth for tablehead, see #186 2021-03-28 20:19:17 +02:00
Philipp Kühn
0a238d9c12 add editor to placeholder props 2021-03-27 11:16:50 +01:00
Hans Pagel
5f599c45b9 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2021-03-25 09:48:56 +01:00
Philipp Kühn
1656fa0700 Publish
- @tiptap/extension-focus@2.0.0-beta.4
2021-03-25 08:35:25 +01:00
Philipp Kühn
aa93e97359 fix focus extension for leaf nodes, fix #223 2021-03-25 08:32:39 +01:00
Philipp Kühn
a0d71ed189 Publish
- @tiptap/core@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.6
 - @tiptap/react@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.6
 - @tiptap/vue-2@2.0.0-beta.5
 - @tiptap/vue-3@2.0.0-beta.6
 - @tiptap/vue-starter-kit@2.0.0-beta.6
 - @tiptap/vue@2.0.0-beta.3
2021-03-24 22:55:37 +01:00
Philipp Kühn
49611e16e5 add placeholder extension 2021-03-24 22:50:30 +01:00
Philipp Kühn
58939fe02b update dependencies 2021-03-24 22:27:10 +01:00
Philipp Kühn
43320e51c7 add isNodeEmpty helper method 2021-03-24 22:23:08 +01:00
Hans Pagel
a5f28e421e fix conflicting keyboard shortcut for the task list 2021-03-24 20:39:56 +01:00
Philipp Kühn
e5b808bd67 Publish
- @tiptap/core@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.5
2021-03-18 13:59:02 +01:00
Philipp Kühn
1a74bbb0fb improve node view handling with inputs, fix #211 2021-03-18 13:54:48 +01:00
Philipp Kühn
923775ae39 Publish
- @tiptap/core@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.4
 - @tiptap/vue-2@2.0.0-beta.4
 - @tiptap/vue-3@2.0.0-beta.5
 - @tiptap/vue-starter-kit@2.0.0-beta.5
 - @tiptap/vue@2.0.0-beta.2
2021-03-18 11:42:20 +01:00
Philipp Kühn
6e87882820 fix bug in markPasteRule, fix #215 2021-03-18 10:54:16 +01:00
Philipp Kühn
df5908d42e add classname support for react components 2021-03-18 09:38:10 +01:00
Philipp Kühn
375bb15dc1 update dependencies 2021-03-18 00:01:17 +01:00
Philipp Kühn
5323eb7e82 Publish
- @tiptap/vue-2@2.0.0-beta.3
 - @tiptap/vue-3@2.0.0-beta.4
2021-03-17 21:49:55 +01:00
Philipp Kühn
f0f6e79408 add nodeViewProps, fix #214 2021-03-17 21:43:45 +01:00
Philipp Kühn
7d52a3aad1 improve some types, fix #213 2021-03-17 21:21:57 +01:00
Philipp Kühn
7d740a5cd8 Publish
- @tiptap/core@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.4
 - @tiptap/extension-collaboration@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.3
 - @tiptap/vue-2@2.0.0-beta.2
 - @tiptap/vue-3@2.0.0-beta.3
 - @tiptap/vue-starter-kit@2.0.0-beta.4
2021-03-16 22:30:06 +01:00
Philipp Kühn
49fcf829f3 refactoring 2021-03-16 22:22:13 +01:00
Philipp Kühn
a76de1ab6d move some nodeview logic to core 2021-03-16 21:55:40 +01:00
Philipp Kühn
6841408e0d code style 2021-03-15 18:48:51 +01:00
Philipp Kühn
9bc68d6d85 refactoring 2021-03-15 18:42:58 +01:00
Philipp Kühn
57915d8638 fix toggle editor 2021-03-15 14:53:23 +01:00
Philipp Kühn
d0a15ad069 prevent dispatch on readonly 2021-03-15 13:27:52 +01:00
Philipp Kühn
4a4adc10e1 Merge branch 'feature/react-renderer' into main 2021-03-15 09:07:52 +01:00
Philipp Kühn
e765c8e981 refactoring 2021-03-15 09:00:44 +01:00
Philipp Kühn
385ee1d1f4 add ref to reactrenderer 2021-03-15 00:22:17 +01:00
Philipp Kühn
29abba56e7 refactoring 2021-03-14 23:09:32 +01:00
Philipp Kühn
56aaf75db5 refactoring 2021-03-14 22:41:25 +01:00
Philipp Kühn
8ccb1d08cf add dynamic tags 2021-03-14 21:45:14 +01:00
Philipp Kühn
380d27fe86 add useReactNodeView hook 2021-03-14 20:40:40 +01:00
Philipp Kühn
109bff0892 refactoring 2021-03-14 18:00:50 +01:00
Philipp Kühn
baa5bcc964 refactoring 2021-03-14 17:01:52 +01:00
Philipp Kühn
5e9a0d4225 add basic react nodeviewrenderer 2021-03-14 16:30:06 +01:00
Philipp Kühn
bc60a91904 wip react renderer 2021-03-12 21:21:13 +01:00
Hans Pagel
be3a18a4a3 fix typo, fix #199 2021-03-11 11:09:35 +01:00
Philipp Kühn
aebf70256d Publish
- @tiptap/vue-3@2.0.0-beta.2
2021-03-10 00:13:57 +01:00
Philipp Kühn
aa3823f239 change vue 3 version 2021-03-10 00:12:54 +01:00
Philipp Kühn
bf357dd7cb Publish
- @tiptap/core@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.3
 - @tiptap/extension-collaboration@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.3
 - @tiptap/suggestion@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.3
2021-03-09 09:56:07 +01:00
Philipp Kühn
15848473ed rename selection to selectionUpdate, add editor to event listener props 2021-03-09 09:50:03 +01:00
Philipp Kühn
789a1d5551 add type 2021-03-08 23:33:19 +01:00
Philipp Kühn
d64ddf6c1b refactoring 2021-03-08 23:10:10 +01:00
Philipp Kühn
7f698a7553 refactoring 2021-03-08 22:16:32 +01:00
Philipp Kühn
ed7f8c257e add useEditor 2021-03-08 22:00:07 +01:00
Philipp Kühn
0c494ab136 Merge branch 'main' into feature/react
# Conflicts:
#	yarn.lock
2021-03-08 18:10:21 +01:00
Philipp Kühn
43a13594f0 Publish
- @tiptap/extension-collaboration-cursor@2.0.0-beta.2
 - @tiptap/extension-collaboration@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.2
2021-03-08 13:56:47 +01:00
Philipp Kühn
86a8ce349a update dependencies 2021-03-08 13:47:55 +01:00
Philipp Kühn
c20b43aa6c try to improve react support 2021-03-08 13:19:05 +01:00
Philipp Kühn
67781052b0 Publish
- @tiptap/core@2.0.0-beta.1
 - @tiptap/extension-blockquote@2.0.0-beta.1
 - @tiptap/extension-bold@2.0.0-beta.1
 - @tiptap/extension-bullet-list@2.0.0-beta.1
 - @tiptap/extension-character-count@2.0.0-beta.1
 - @tiptap/extension-code-block@2.0.0-beta.1
 - @tiptap/extension-code@2.0.0-beta.1
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.1
 - @tiptap/extension-collaboration@2.0.0-beta.1
 - @tiptap/extension-document@2.0.0-beta.1
 - @tiptap/extension-dropcursor@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.1
 - @tiptap/extension-font-family@2.0.0-beta.1
 - @tiptap/extension-gapcursor@2.0.0-beta.1
 - @tiptap/extension-hard-break@2.0.0-beta.1
 - @tiptap/extension-heading@2.0.0-beta.1
 - @tiptap/extension-highlight@2.0.0-beta.1
 - @tiptap/extension-history@2.0.0-beta.1
 - @tiptap/extension-horizontal-rule@2.0.0-beta.1
 - @tiptap/extension-image@2.0.0-beta.1
 - @tiptap/extension-italic@2.0.0-beta.1
 - @tiptap/extension-link@2.0.0-beta.1
 - @tiptap/extension-list-item@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.1
 - @tiptap/extension-ordered-list@2.0.0-beta.1
 - @tiptap/extension-paragraph@2.0.0-beta.1
 - @tiptap/extension-strike@2.0.0-beta.1
 - @tiptap/extension-table-cell@2.0.0-beta.1
 - @tiptap/extension-table-header@2.0.0-beta.1
 - @tiptap/extension-table-row@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.1
 - @tiptap/extension-task-item@2.0.0-beta.1
 - @tiptap/extension-task-list@2.0.0-beta.1
 - @tiptap/extension-text-align@2.0.0-beta.1
 - @tiptap/extension-text-style@2.0.0-beta.1
 - @tiptap/extension-text@2.0.0-beta.1
 - @tiptap/extension-typography@2.0.0-beta.1
 - @tiptap/extension-underline@2.0.0-beta.1
 - @tiptap/html@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.1
 - @tiptap/starter-kit@2.0.0-beta.1
 - @tiptap/suggestion@2.0.0-beta.1
 - @tiptap/vue-2@2.0.0-beta.1
 - @tiptap/vue-3@2.0.0-beta.1
 - @tiptap/vue-starter-kit@2.0.0-beta.1
 - @tiptap/vue@2.0.0-beta.1
2021-03-05 12:50:07 +01:00
Philipp Kühn
2f5ef1cf53 fix versions 2021-03-05 12:49:34 +01:00
Philipp Kühn
2fa178c0f7 alpha to beta 2021-03-05 12:47:10 +01:00
Philipp Kühn
c925160e78 add comment 2021-03-05 12:15:50 +01:00
Philipp Kühn
56e1a0e045 fix table resizing, fix #183 2021-03-05 12:13:49 +01:00
Philipp Kühn
2017b84578 fix some typescript bugs 2021-03-05 11:58:52 +01:00
Philipp Kühn
e9e3418a0f don’t use __vue__ 2021-03-05 11:01:26 +01:00
Philipp Kühn
aa3913cb06 refactoring 2021-03-05 10:20:17 +01:00
Philipp Kühn
983b56a5f2 add NodeViewWrapper and NodeViewContent to vue-2 2021-03-05 10:18:44 +01:00
Philipp Kühn
328d5a459d refactoring 2021-03-05 09:46:47 +01:00
Philipp Kühn
3bf900e7f6 add NodeViewWrapper and NodeViewContent component 2021-03-05 00:02:28 +01:00
Philipp Kühn
053a266a31 fix updating props, fix #181 2021-03-01 21:04:25 +01:00
Philipp Kühn
6bafc18215 refactoring 2021-03-01 08:44:01 +01:00
Philipp Kühn
79bb54be69 Publish
- @tiptap/core@2.0.0-alpha.22
 - @tiptap/extension-mention@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.18
 - @tiptap/suggestion@2.0.0-alpha.12
 - @tiptap/vue-2@2.0.0-alpha.1
 - @tiptap/vue-3@2.0.0-alpha.1
2021-02-28 23:56:21 +01:00
Philipp Kühn
6d66571128 add useEditor 2021-02-28 23:47:34 +01:00
Philipp Kühn
64b8f5c514 update docs 2021-02-28 23:39:29 +01:00
Philipp Kühn
00e673f700 change exports 2021-02-28 23:24:26 +01:00
Philipp Kühn
4721fe451f refactoring 2021-02-28 00:02:51 +01:00
Philipp Kühn
015c47707a add vue-2 and vue-3 2021-02-27 23:56:08 +01:00
Philipp Kühn
5fc6c1b7c2 Publish
- @tiptap/core@2.0.0-alpha.21
 - @tiptap/extension-mention@2.0.0-alpha.11
 - @tiptap/html@2.0.0-alpha.17
 - @tiptap/suggestion@2.0.0-alpha.11
2021-02-26 19:04:50 +01:00
Philipp Kühn
e31ddbd2d8 remove unused file 2021-02-26 19:03:41 +01:00
Philipp Kühn
2b9f6bc129 Publish
- @tiptap/core@2.0.0-alpha.20
 - @tiptap/extension-collaboration@2.0.0-alpha.12
 - @tiptap/extension-focus@2.0.0-alpha.12
 - @tiptap/extension-gapcursor@2.0.0-alpha.12
 - @tiptap/extension-mention@2.0.0-alpha.10
 - @tiptap/extension-table@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.16
 - @tiptap/react@2.0.0-alpha.2
 - @tiptap/starter-kit@2.0.0-alpha.14
 - @tiptap/suggestion@2.0.0-alpha.10
 - @tiptap/vue-starter-kit@2.0.0-alpha.16
 - @tiptap/vue@2.0.0-alpha.13
2021-02-26 18:59:00 +01:00
Philipp Kühn
aaaa6ac51d update dependencies 2021-02-26 18:47:39 +01:00
Philipp Kühn
fa006aee63 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2021-02-26 18:11:48 +01:00
Philipp Kühn
a7ab9454b5 move isCellSelection to table extension 2021-02-26 18:11:42 +01:00
Hans Pagel
c84176c064 fix depency error 2021-02-26 02:25:33 +01:00
Hans Pagel
bf5fb2ad3c move React components to a package, translate default editor example to React 2021-02-26 02:00:35 +01:00
Philipp Kühn
9bb9c92523 add comment 2021-02-23 11:59:59 +01:00
Philipp Kühn
2de981dbe2 improve handling of node selections for node views, fix #153 2021-02-23 11:58:30 +01:00
Philipp Kühn
bd621f4677 fix can().undo() for collab 2021-02-22 10:40:56 +01:00
Philipp Kühn
9f0715ebff remove @types/prosemirror-tables 2021-02-21 22:06:12 +01:00
Philipp Kühn
92a6768b3d allow to define everything within extensions 2021-02-19 17:47:22 +01:00
Philipp Kühn
45e260d535 fix allowGapCursor type 2021-02-19 17:41:11 +01:00