Commit Graph

1344 Commits

Author SHA1 Message Date
Robert van Hoesel
3aba2f6359
Use correct reference for options.editorProps 2021-07-04 19:44:37 +02:00
Philipp Kühn
304080ce1c Publish
- @tiptap/react@2.0.0-beta.52
2021-06-24 19:59:34 +02:00
Philipp Kühn
44e47222a0 fix: check for destroyed editor before creating node views in react 2021-06-24 19:59:06 +02:00
Philipp Kühn
84d732f7a5 Publish
- @tiptap/core@2.0.0-beta.85
 - @tiptap/extension-bubble-menu@2.0.0-beta.24
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.31
 - @tiptap/extension-floating-menu@2.0.0-beta.18
 - @tiptap/extension-focus@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.61
 - @tiptap/extension-placeholder@2.0.0-beta.25
 - @tiptap/extension-table@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.84
 - @tiptap/react@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.81
 - @tiptap/suggestion@2.0.0-beta.59
 - @tiptap/vue-2@2.0.0-beta.39
 - @tiptap/vue-3@2.0.0-beta.45
2021-06-23 10:18:59 +02:00
Philipp Kühn
cf3fc73e62 dependencies: update 2021-06-23 10:09:39 +02:00
Philipp Kühn
c3cebfe752 Publish
- @tiptap/extension-text-align@2.0.0-beta.20
2021-06-18 12:34:01 +02:00
Philipp Kühn
b4e41afd17 fix: remove default types for textAlign extension, fix #1430
There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
2021-06-18 12:33:18 +02:00
Philipp Kühn
3757d07f70 Publish
- @tiptap/core@2.0.0-beta.84
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.30
 - @tiptap/extension-mention@2.0.0-beta.60
 - @tiptap/extension-placeholder@2.0.0-beta.24
 - @tiptap/extension-text-align@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.83
 - @tiptap/starter-kit@2.0.0-beta.80
 - @tiptap/suggestion@2.0.0-beta.58
2021-06-17 23:54:39 +02:00
Philipp Kühn
7cb4c9f322 dependencies: update 2021-06-17 23:53:32 +02:00
Philipp Kühn
502b5b1cc9 fix: improve types for generateHTML 2021-06-17 23:41:42 +02:00
Philipp Kühn
ddb9a4bf18 fix: fix a bug where setting text align isn’t working when heading extension is not added 2021-06-17 17:34:06 +02:00
Philipp Kühn
108c081001 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.23
 - @tiptap/react@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.38
 - @tiptap/vue-3@2.0.0-beta.44
2021-06-15 19:07:39 +02:00
Philipp Kühn
f12b1273f2 fix: fix a bug where bubble menu does not appear when selection starts from empty paragraph node, fix #1474 2021-06-15 19:06:26 +02:00
Philipp Kühn
dcc1093db4 Publish
- @tiptap/core@2.0.0-beta.83
 - @tiptap/extension-bubble-menu@2.0.0-beta.22
 - @tiptap/extension-dropcursor@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.59
 - @tiptap/extension-placeholder@2.0.0-beta.23
 - @tiptap/extension-subscript@2.0.0-beta.3
 - @tiptap/extension-superscript@2.0.0-beta.3
 - @tiptap/extension-text-style@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.82
 - @tiptap/react@2.0.0-beta.49
 - @tiptap/starter-kit@2.0.0-beta.79
 - @tiptap/vue-2@2.0.0-beta.37
 - @tiptap/vue-3@2.0.0-beta.43
2021-06-15 08:16:19 +02:00
philippkuehn
1b723ea57c ci: fix code style linting errors 2021-06-15 06:11:08 +00:00
shadow-light
5178172864
fix: Fix parsing of mention nodes (#1471) 2021-06-15 08:10:17 +02:00
Philipp Kühn
123f2067e5 fix: revert excluding superscript from subscript, and vice versa to prevent error if not both extensions are used 2021-06-14 23:47:31 +02:00
Philipp Kühn
697b2529d9 Publish
- @tiptap/extension-text-style@2.0.0-beta.15
2021-06-14 22:28:55 +02:00
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