Commit Graph

1719 Commits

Author SHA1 Message Date
Philipp Kühn
d71c27fe99 Publish
- @tiptap/core@2.0.0-beta.163
 - @tiptap/extension-mention@2.0.0-beta.92
 - @tiptap/html@2.0.0-beta.162
 - @tiptap/starter-kit@2.0.0-beta.171
 - @tiptap/suggestion@2.0.0-beta.87
2022-01-13 13:58:08 +01:00
Philipp Kühn
42d3ee8fc9 fix: support all characters for suggestion char, fix #2385 2022-01-13 13:57:33 +01:00
Philipp Kühn
7da4373a6a Publish
- @tiptap/core@2.0.0-beta.162
 - @tiptap/html@2.0.0-beta.161
 - @tiptap/react@2.0.0-beta.105
 - @tiptap/starter-kit@2.0.0-beta.170
 - @tiptap/vue-2@2.0.0-beta.75
 - @tiptap/vue-3@2.0.0-beta.88
2022-01-11 09:55:29 +01:00
Philipp Kühn
be8ca68d97 fix: Mark @tiptap/vue-2 and @tiptap/vue-3 as side effect free 2022-01-11 09:45:59 +01:00
Dany Castillo
e609b2d116
fix: Mark @tiptap/react and @tiptap/core as side effect free (#2361)
* Update package.json

* Update package.json
2022-01-11 09:42:59 +01:00
Philipp Kühn
dfd5c3b6cc Publish
- @tiptap/core@2.0.0-beta.161
 - @tiptap/html@2.0.0-beta.160
 - @tiptap/starter-kit@2.0.0-beta.169
2022-01-10 14:57:57 +01:00
Philipp Kühn
6a813686f5 dont return tr in input rules and pasterules 2022-01-10 14:55:53 +01:00
Philipp Kühn
209108b700 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-10 14:49:33 +01:00
Philipp Kühn
f14098966d dependencies: update 2022-01-10 14:49:26 +01:00
Philipp Kühn
669efd00e9
fix: add way to cancel inputrules and pasterules (#2368)
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2022-01-10 14:43:56 +01:00
Philipp Kühn
5144a6cd1b Publish
- @tiptap/extension-link@2.0.0-beta.35
2022-01-07 21:34:04 +01:00
Philipp Kühn
ea10ffbc6a fix: allow to remove autolinks with unsetLink 2022-01-07 21:33:38 +01:00
Philipp Kühn
5dbabebd6a Publish
- @tiptap/extension-highlight@2.0.0-beta.32
2022-01-07 10:04:29 +01:00
Philipp Kühn
b8a42fcaef fix: fix a bug in the highlight regex, fix #2355 2022-01-07 10:04:06 +01:00
Philipp Kühn
58c174abea Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.65
 - @tiptap/extension-code-block@2.0.0-beta.35
 - @tiptap/starter-kit@2.0.0-beta.168
2022-01-05 10:27:44 +01:00
Philipp Kühn
0e9930f90f fix: prevent named capturing groups, fix #2128 2022-01-05 10:27:23 +01:00
Philipp Kühn
0c4ab8bf68 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.64
 - @tiptap/extension-code-block@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.167
2022-01-05 10:22:40 +01:00
Philipp Kühn
a35b7fbe2c feat: add exitOnTripleEnter and exitOnArrowDown options to CodeBlock extension 2022-01-05 10:21:23 +01:00
Philipp Kühn
07184fe254 Publish
- @tiptap/extension-heading@2.0.0-beta.25
 - @tiptap/starter-kit@2.0.0-beta.166
 - @tiptap/vue-3@2.0.0-beta.87
2022-01-05 10:07:17 +01:00
Philipp Kühn
c6d5575c5c Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-05 09:22:00 +01:00
Philipp Kühn
3ba3afbea3 fix: revert type changes for useEditor in vue-3 package 2022-01-05 09:21:54 +01:00
Britta Weiland
77095c4d52
fix: export type Level for external use (#2354)
Export type `Level` to externally work with levels that are passed to the `setHeading` and `toggleHeading` commands, instead of only being able to pass literal numbers.

Example:
```
// where `selectedHeadingLevel` changes as part of other logic
this.editor.commands.toggleHeading({ level: this.selectedHeadingLevel })
```

Co-authored-by: Britta Weiland <weiland@bryter.io>
2022-01-05 09:15:47 +01:00
Philipp Kühn
e550d3c69e Publish
- @tiptap/core@2.0.0-beta.160
 - @tiptap/extension-bubble-menu@2.0.0-beta.54
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.63
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.34
 - @tiptap/extension-collaboration@2.0.0-beta.33
 - @tiptap/extension-floating-menu@2.0.0-beta.49
 - @tiptap/extension-focus@2.0.0-beta.39
 - @tiptap/extension-font-family@2.0.0-beta.21
 - @tiptap/extension-gapcursor@2.0.0-beta.34
 - @tiptap/extension-link@2.0.0-beta.34
 - @tiptap/extension-mention@2.0.0-beta.91
 - @tiptap/extension-placeholder@2.0.0-beta.46
 - @tiptap/extension-table@2.0.0-beta.46
 - @tiptap/html@2.0.0-beta.159
 - @tiptap/react@2.0.0-beta.104
 - @tiptap/starter-kit@2.0.0-beta.165
 - @tiptap/suggestion@2.0.0-beta.86
 - @tiptap/vue-2@2.0.0-beta.74
 - @tiptap/vue-3@2.0.0-beta.86
2022-01-04 10:15:07 +01:00
Philipp Kühn
6a94e2fa62 dependencies: update 2022-01-04 10:02:24 +01:00
Apaar Gupta
909d44459c
fix: Export type FontFamilyOptions (#2345) 2022-01-03 21:19:40 +01:00
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