Commit Graph

1326 Commits

Author SHA1 Message Date
Tom Boettger
fbf442269d
fix: Fix removal of textStyle mark when any style resets (#1465)
I built some extensions based on the textStyle extension but whenever I reset a style/attribute, the whole textStyle mark gets removed when there are still other styles defined in the mark.
2021-06-14 22:28:16 +02:00
Philipp Kühn
8624505ce1 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.36
 - @tiptap/vue-3@2.0.0-beta.42
2021-06-14 19:02:50 +02:00
Philipp Kühn
a3a7650784 fix: show bubble menu for atom nodes even if there is no text content, fix #1446 2021-06-14 18:58:10 +02:00
Philipp Kühn
6034eb9b30 fix: hide bubble menu on drag, fix #1443 2021-06-14 18:28:27 +02:00
Philipp Kühn
6aa424b422 Publish
- @tiptap/core@2.0.0-beta.82
 - @tiptap/extension-dropcursor@2.0.0-beta.15
 - @tiptap/extension-mention@2.0.0-beta.58
 - @tiptap/extension-placeholder@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.81
 - @tiptap/react@2.0.0-beta.47
 - @tiptap/starter-kit@2.0.0-beta.78
2021-06-14 17:02:35 +02:00
Philipp Kühn
3b78af44a0 feat: add renderLabel option to mention extension, see #1322 2021-06-14 16:40:17 +02:00
Philipp Kühn
c64761a9e5 BREAKING CHANGE: data-mention is not used to parse a mention id or label anymore 2021-06-14 16:22:09 +02:00
Philipp Kühn
299580a77d code style 2021-06-14 16:17:13 +02:00
philippkuehn
88329c8567 ci: fix code style linting errors 2021-06-14 14:14:00 +00:00
Tom Hartley
c3afe880ae
feat: add label attribute to mention extension (#1322) 2021-06-14 16:13:06 +02:00
Philipp Kühn
a3a847f711 code style 2021-06-14 16:06:49 +02:00
philippkuehn
15edaf0561 ci: fix code style linting errors 2021-06-14 14:03:29 +00:00
Philipp Kühn
55203d38eb
Merge pull request #1452 from YousefED/patch-2
use forwardRef for react wrappers
2021-06-14 16:02:45 +02:00
Philipp Kühn
acd789be0a code style 2021-06-14 16:00:32 +02:00
Philipp Kühn
1aabaf1b5d
Merge pull request #1444 from shadow-light/patch-2
Make drop cursor default to regular caret color
2021-06-14 15:59:53 +02:00
Philipp Kühn
2deb07fb00 fix: check for atom nodes in ignoreMutation handler, fix #1448 2021-06-14 15:56:24 +02:00
Philipp Kühn
f7890c0b42 refactoring 2021-06-14 15:35:43 +02:00
Philipp Kühn
fbc8fffb70 fix: remove editable check in updateAttributes, fix #1415 2021-06-14 15:34:09 +02:00
Philipp Kühn
11b4866948 fix: don’t show placeholder if node contains only atom nodes, fix #1457 2021-06-14 15:07:17 +02:00
Philipp Kühn
fe24b6d7de dependencies: udpate 2021-06-14 15:02:26 +02:00
Yousef
df8310407d
Update NodeViewWrapper.tsx 2021-06-11 08:33:35 +02:00
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