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
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
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
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
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
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
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
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
12f60abb73
feat: add name to extension context
2021-04-20 23:11:35 +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
aa002a012b
fix: fix extension option merging
2021-04-17 21:25:29 +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
8dab6144a6
feat: add coordsAtPos and posToClientRect helper methods
2021-04-16 09:56:52 +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
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
c40ce34eec
wip: add some hierarchy tests
2021-04-14 09:48:38 +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