Commit Graph

1111 Commits

Author SHA1 Message Date
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