Commit Graph

5230 Commits

Author SHA1 Message Date
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
Philipp Kühn
38109831c6 refactoring 2021-12-16 14:06:35 +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
47b25a626d demos: add basic menu to all demo 2021-12-15 10:50:07 +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
9418d33a2b Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-13 13:40:44 +01:00
Philipp Kühn
f2ced6971d fix: improve setNode behavior for list items, fix #2261 2021-12-13 13:40:33 +01:00
dependabot[bot]
a7aecb7f9a
build(deps): bump actions/upload-artifact from 2.2.3 to 2.3.0 (#2269)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 13:39:50 +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
49a99a0410 docs: update content, fix #1821 2021-12-10 14:36:43 +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
Hans Pagel
2b44290d58 docs: add a job 2021-12-09 22:20:48 +01:00
Hans Pagel
d2165eb115 docs: update the guide on collaborative editing 2021-12-09 19:56:34 +01:00
Hans Pagel
c2ca5103d4 docs: add some more information to the parseHTML docs, fix #1860 2021-12-09 19:18:36 +01:00
Hans Pagel
8df15676d0 docs: remove commercial use banner, fix #2202 2021-12-09 19:06:54 +01:00
Philipp Kühn
ed18c65fa8 demos: fix vmodel demo when using JSON data 2021-12-09 17:44:11 +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
b1b39b0b0f dependencies: update 2021-12-08 21:34:25 +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
Ahmet Enes Duruer
f0b363c475
docs: remove wrong type="context" tag (#2240)
This example doesn't compile because in Svelte 3 there is no `type="context"`, there is only `context="module". Even if you use `context="module"` it is supposed to give an error because there is no `onMount` and `onDestroy` in module context.  Removing this tag from the Script element will fix the issue.
2021-12-06 22:03:49 +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