Philipp Kühn
1acf1284b9
Publish
...
- @tiptap/react@2.0.0-beta.103
2022-01-03 15:17:38 +01:00
philippkuehn
7160b19c73
ci: fix code style linting errors
2022-01-03 13:29:53 +00:00
Luke Murray
64dfae8511
fix: change reactrenderer component type definition ( #2327 )
2022-01-03 14:28:31 +01:00
Philipp Kühn
8844627773
Publish
...
- @tiptap/core@2.0.0-beta.159
- @tiptap/extension-bubble-menu@2.0.0-beta.53
- @tiptap/extension-bullet-list@2.0.0-beta.26
- @tiptap/extension-character-count@2.0.0-beta.24
- @tiptap/extension-code-block-lowlight@2.0.0-beta.62
- @tiptap/extension-code-block@2.0.0-beta.33
- @tiptap/extension-floating-menu@2.0.0-beta.48
- @tiptap/extension-ordered-list@2.0.0-beta.27
- @tiptap/extension-task-list@2.0.0-beta.26
- @tiptap/html@2.0.0-beta.158
- @tiptap/react@2.0.0-beta.102
- @tiptap/starter-kit@2.0.0-beta.164
- @tiptap/vue-2@2.0.0-beta.73
- @tiptap/vue-3@2.0.0-beta.85
2021-12-22 12:43:00 +01:00
Philipp Kühn
4904011216
Merge branch 'main' of https://github.com/ueberdosis/tiptap
2021-12-22 12:27:10 +01:00
Philipp Kühn
ded6f9618f
fix: allow input rules after hard break, fix #2302
2021-12-22 12:27:06 +01:00
Tomas Valenta
561941d5e0
fix: Remove element.current
from useEffect
in BubbleMenu
and FloatingMenu
( #2297 )
...
* Remove `element.current` from `useEffect` dependencies
Changes to the `element.current` don't trigger `useEffect` rerender and shouldn't be used in the dependency array.
One discussion about is this is for example here: https://stackoverflow.com/questions/60476155/is-it-safe-to-use-ref-current-as-useeffects-dependency-when-ref-points-to-a-dom
It's also causing some subtle bugs when mounting and unmounting editors.
* Fix `FloatingMenu` and `BubbleMenu` element references
* Fix linting errors
* Don't register plugin when the editor is already destroyed; Simplify `HTMLElement` reference handling
* Fix lint error
2021-12-22 12:13:36 +01:00
Philipp Kühn
73fc527be9
Publish
...
- @tiptap/core@2.0.0-beta.158
- @tiptap/html@2.0.0-beta.157
- @tiptap/react@2.0.0-beta.101
- @tiptap/starter-kit@2.0.0-beta.163
2021-12-17 09:46:13 +01:00
Philipp Kühn
629f4d2a76
Revert "fix: Make sure editor is available on first render ( #2282 ), fix #2040 , fix #2182 "
...
This reverts commit 2436e2c8fe
.
2021-12-17 09:42:22 +01:00
Philipp Kühn
07cabe65f4
fix: remove empty mark attributes from getDebugJSON
2021-12-17 00:09:09 +01:00
Philipp Kühn
209b3547e6
Publish
...
- @tiptap/extension-code-block-lowlight@2.0.0-beta.61
- @tiptap/extension-code-block@2.0.0-beta.32
- @tiptap/starter-kit@2.0.0-beta.162
2021-12-16 15:18:59 +01:00
Philipp Kühn
ffafff9e36
feat: escape code blocks on arrow down, fix #1204
2021-12-16 15:16:08 +01:00
Philipp Kühn
179b3e23a9
Publish
...
- @tiptap/core@2.0.0-beta.157
- @tiptap/html@2.0.0-beta.156
- @tiptap/react@2.0.0-beta.100
- @tiptap/starter-kit@2.0.0-beta.161
2021-12-16 14:08:38 +01:00
Ryan Toronto
2436e2c8fe
fix: Make sure editor is available on first render ( #2282 ), fix #2040 , fix #2182
2021-12-16 13:56:35 +01:00
Philipp Kühn
8ed485ba53
fix: Improve backspace handling ( #2284 ), fix #2281
...
* improve backspace handling
* revert codeblock changes
* revert codeblock changes
* fix tests
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-16 13:55:32 +01:00
Philipp Kühn
10248f2763
Publish
...
- @tiptap/core@2.0.0-beta.156
- @tiptap/html@2.0.0-beta.155
- @tiptap/starter-kit@2.0.0-beta.160
2021-12-15 10:51:52 +01:00
Philipp Kühn
66eb2f2a47
fix: prevent error in toggleList command, fix #2279
2021-12-15 10:51:23 +01:00
Philipp Kühn
56cbf99f9f
Publish
...
- @tiptap/core@2.0.0-beta.155
- @tiptap/extension-bubble-menu@2.0.0-beta.52
- @tiptap/extension-floating-menu@2.0.0-beta.47
- @tiptap/html@2.0.0-beta.154
- @tiptap/react@2.0.0-beta.99
- @tiptap/starter-kit@2.0.0-beta.159
- @tiptap/vue-2@2.0.0-beta.72
- @tiptap/vue-3@2.0.0-beta.84
2021-12-15 10:32:09 +01:00
Philipp Kühn
083fdecf43
dependencies: update
2021-12-15 10:31:21 +01:00
Philipp Kühn
063ced27ca
fix: maybe hide tippy on blur, fix #1433
2021-12-15 10:12:55 +01:00
Philipp Kühn
1645df9adc
refactoring
2021-12-15 09:06:43 +01:00
Julian Hundeloh
809af3b6c6
fix: show FloatingMenu by default only if focused ( #2275 )
2021-12-15 09:04:41 +01:00
Philipp Kühn
0e0cdc053f
Publish
...
- @tiptap/core@2.0.0-beta.154
- @tiptap/extension-character-count@2.0.0-beta.23
- @tiptap/html@2.0.0-beta.153
- @tiptap/starter-kit@2.0.0-beta.158
2021-12-14 19:26:42 +01:00
Philipp Kühn
dd4bcb81f0
fix: allow null and undefined for CharacterCount limit, fix #2276
2021-12-14 19:26:13 +01:00
Philipp Kühn
9e6fbd6c88
refactoring
2021-12-13 14:17:52 +01:00
Philipp Kühn
113133b74d
Publish
...
- @tiptap/core@2.0.0-beta.153
- @tiptap/html@2.0.0-beta.152
- @tiptap/starter-kit@2.0.0-beta.157
2021-12-13 13:41:47 +01:00
Philipp Kühn
f2ced6971d
fix: improve setNode
behavior for list items, fix #2261
2021-12-13 13:40:33 +01:00
Philipp Kühn
e09fd93e59
fix: check for invalid content in insertContentAt
command
2021-12-13 13:33:13 +01:00
Philipp Kühn
170ec4be5b
fix: don’t check for active node in wrapIn command, fix #1059
2021-12-13 13:32:19 +01:00
Philipp Kühn
20876f7481
Publish
...
- @tiptap/extension-bullet-list@2.0.0-beta.25
- @tiptap/extension-ordered-list@2.0.0-beta.26
- @tiptap/extension-task-list@2.0.0-beta.25
- @tiptap/starter-kit@2.0.0-beta.156
2021-12-11 00:13:52 +01:00
Philipp Kühn
3d7c8e642f
feat: add itemTypeName option
2021-12-11 00:13:24 +01:00
Philipp Kühn
d64fb22e7c
Publish
...
- @tiptap/vue-3@2.0.0-beta.83
2021-12-10 17:57:52 +01:00
Philipp Kühn
7c98f80547
feat: add support for template strings in VueNodeViewRenderer, fix #1987
2021-12-10 17:57:20 +01:00
Philipp Kühn
53213439b5
Publish
...
- @tiptap/extension-character-count@2.0.0-beta.22
2021-12-10 17:41:58 +01:00
Philipp Kühn
ed7f93a2b8
fix: mark characterCount storage method types as optional
2021-12-10 17:41:36 +01:00
Philipp Kühn
914c75b305
Publish
...
- @tiptap/extension-character-count@2.0.0-beta.21
2021-12-10 17:11:57 +01:00
Philipp Kühn
d1daf9cca0
fix: fix types for characterCount storage methods
2021-12-10 17:10:57 +01:00
Philipp Kühn
1fd42ca291
Publish
...
- @tiptap/core@2.0.0-beta.152
- @tiptap/html@2.0.0-beta.151
- @tiptap/starter-kit@2.0.0-beta.155
2021-12-10 14:08:16 +01:00
Philipp Kühn
126ad722c7
feat: join lists on toggleList ( #2260 ), fix #1329
...
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-10 14:07:34 +01:00
Philipp Kühn
225a86ec80
Publish
...
- @tiptap/extension-character-count@2.0.0-beta.20
2021-12-09 15:08:12 +01:00
Philipp Kühn
0879a2f716
fix: calculate the number of words across linebreaks correctly
2021-12-09 15:07:51 +01:00
Philipp Kühn
b318d46afa
Publish
...
- @tiptap/core@2.0.0-beta.151
- @tiptap/extension-character-count@2.0.0-beta.19
- @tiptap/html@2.0.0-beta.150
- @tiptap/starter-kit@2.0.0-beta.154
2021-12-08 21:35:06 +01:00
Philipp Kühn
5daa870b09
feat: add some improvements to CharacterCount
extension ( #2256 ), fix #1049 , fix #1550 , fix #1839 , fix #2245
...
* fix a bug when exceeding the character limit
* find a better way to limit the doc size
* check paste events
* add storage method
* refactoring
* use textBetween instead of textContent
* return early if no limit is set
* add words method to storage
* show word count in charactercount demo
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-08 21:26:30 +01:00
Philipp Kühn
2995d00275
fix lint error
2021-12-06 12:34:14 +01:00
Philipp Kühn
f8ce8942f5
refactor: simplify unsetAllMarks
2021-12-06 12:25:00 +01:00
Philipp Kühn
8d7c4e78e7
Publish
...
- @tiptap/core@2.0.0-beta.150
- @tiptap/extension-link@2.0.0-beta.33
- @tiptap/html@2.0.0-beta.149
- @tiptap/starter-kit@2.0.0-beta.153
2021-12-06 12:01:03 +01:00
Philipp Kühn
e07a5b625d
refactor: Use named exports instead of default exports ( #2238 )
...
* use named exports instead of default exports
* fix tests
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-06 12:00:09 +01:00
Philipp Kühn
fa8318c38f
Publish
...
- @tiptap/core@2.0.0-beta.149
- @tiptap/html@2.0.0-beta.148
- @tiptap/starter-kit@2.0.0-beta.152
2021-12-05 17:21:05 +01:00
Philipp Kühn
98a1cb3640
fix: add support for multiple ranges in clipboardTextSerializer, fix #1982
2021-12-05 17:20:43 +01:00
Philipp Kühn
4cb9fe0e27
Publish
...
- @tiptap/extension-code-block-lowlight@2.0.0-beta.60
- @tiptap/extension-code-block@2.0.0-beta.31
- @tiptap/starter-kit@2.0.0-beta.151
2021-12-05 16:48:29 +01:00