Commit Graph

5084 Commits

Author SHA1 Message Date
Philipp Kühn
c94d2b0517 fix: add checkboxes to TaskItem HTML output, fix #2037 2021-11-08 20:52:42 +01:00
Philipp Kühn
8fc915cade
fix: Improve behavior when using insertContent (#2147)
* check if we can replace the wrapping node by the newly inserted content
    /

* we dont need this anymore

* set selection to inserted content instead of below

* improve hr cursor behavior
2021-11-08 20:37:12 +01:00
Philipp Kühn
926cfcd602 Publish
- @tiptap/core@2.0.0-beta.132
 - @tiptap/extension-bubble-menu@2.0.0-beta.46
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.52
 - @tiptap/extension-floating-menu@2.0.0-beta.40
 - @tiptap/extension-focus@2.0.0-beta.33
 - @tiptap/extension-mention@2.0.0-beta.83
 - @tiptap/extension-placeholder@2.0.0-beta.40
 - @tiptap/extension-table@2.0.0-beta.39
 - @tiptap/html@2.0.0-beta.131
 - @tiptap/react@2.0.0-beta.89
 - @tiptap/starter-kit@2.0.0-beta.134
 - @tiptap/suggestion@2.0.0-beta.79
 - @tiptap/vue-2@2.0.0-beta.64
 - @tiptap/vue-3@2.0.0-beta.76
2021-11-08 11:27:55 +01:00
Philipp Kühn
4b793be8e4 dependencies: update 2021-11-08 11:23:32 +01:00
Philipp Kühn
3c32e66c02 Publish
- @tiptap/core@2.0.0-beta.131
 - @tiptap/extension-bubble-menu@2.0.0-beta.45
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.51
 - @tiptap/extension-floating-menu@2.0.0-beta.39
 - @tiptap/extension-focus@2.0.0-beta.32
 - @tiptap/extension-hard-break@2.0.0-beta.27
 - @tiptap/extension-mention@2.0.0-beta.82
 - @tiptap/extension-placeholder@2.0.0-beta.39
 - @tiptap/extension-table@2.0.0-beta.38
 - @tiptap/html@2.0.0-beta.130
 - @tiptap/react@2.0.0-beta.88
 - @tiptap/starter-kit@2.0.0-beta.133
 - @tiptap/suggestion@2.0.0-beta.78
 - @tiptap/vue-2@2.0.0-beta.63
 - @tiptap/vue-3@2.0.0-beta.75
2021-11-05 14:12:22 +01:00
Philipp Kühn
0f94bcd591 feat: add defaultLanguage option to CodeBlockLowlight extension, fix #2121 2021-11-05 14:00:44 +01:00
Philipp Kühn
b5b9363b49 fix vue-3 build 2021-11-05 13:45:16 +01:00
Philipp Kühn
9055026158 fix linter 2021-11-05 13:09:09 +01:00
Philipp Kühn
18a9271611 dependencies: update 2021-11-05 11:52:49 +01:00
Philipp Kühn
1716737c35 demos: add disabled button styling 2021-11-03 21:27:20 +01:00
Philipp Kühn
1a1fe847c3 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-11-03 21:11:27 +01:00
Philipp Kühn
ce7f52a8f0 fix: improve JSONContent type to allow pure JSON content 2021-11-03 21:11:24 +01:00
Philipp Kühn
9247fcb6cf fix: prevent adding hard breaks in isolated nodes 2021-11-03 21:09:40 +01:00
Hans Pagel
345abcc00c docs: update the next.js guide, fix #2115 2021-11-02 17:07:42 +01:00
Hans Pagel
1fd3733e78 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-31 23:14:10 +01:00
Hans Pagel
6edde418f7 docs: use new collab backend instance 2021-10-31 23:13:57 +01:00
Philipp Kühn
31c23336d0 Publish
- @tiptap/core@2.0.0-beta.130
 - @tiptap/extension-blockquote@2.0.0-beta.21
 - @tiptap/extension-bold@2.0.0-beta.21
 - @tiptap/extension-bubble-menu@2.0.0-beta.44
 - @tiptap/extension-bullet-list@2.0.0-beta.20
 - @tiptap/extension-character-count@2.0.0-beta.15
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.50
 - @tiptap/extension-code-block@2.0.0-beta.26
 - @tiptap/extension-code@2.0.0-beta.22
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.27
 - @tiptap/extension-collaboration@2.0.0-beta.27
 - @tiptap/extension-color@2.0.0-beta.5
 - @tiptap/extension-dropcursor@2.0.0-beta.21
 - @tiptap/extension-floating-menu@2.0.0-beta.38
 - @tiptap/extension-focus@2.0.0-beta.31
 - @tiptap/extension-font-family@2.0.0-beta.17
 - @tiptap/extension-gapcursor@2.0.0-beta.30
 - @tiptap/extension-hard-break@2.0.0-beta.26
 - @tiptap/extension-heading@2.0.0-beta.20
 - @tiptap/extension-highlight@2.0.0-beta.27
 - @tiptap/extension-history@2.0.0-beta.18
 - @tiptap/extension-horizontal-rule@2.0.0-beta.26
 - @tiptap/extension-image@2.0.0-beta.21
 - @tiptap/extension-italic@2.0.0-beta.21
 - @tiptap/extension-link@2.0.0-beta.25
 - @tiptap/extension-list-item@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.81
 - @tiptap/extension-ordered-list@2.0.0-beta.21
 - @tiptap/extension-paragraph@2.0.0-beta.19
 - @tiptap/extension-placeholder@2.0.0-beta.38
 - @tiptap/extension-strike@2.0.0-beta.23
 - @tiptap/extension-subscript@2.0.0-beta.6
 - @tiptap/extension-superscript@2.0.0-beta.6
 - @tiptap/extension-table-cell@2.0.0-beta.17
 - @tiptap/extension-table-header@2.0.0-beta.19
 - @tiptap/extension-table-row@2.0.0-beta.16
 - @tiptap/extension-table@2.0.0-beta.37
 - @tiptap/extension-task-item@2.0.0-beta.24
 - @tiptap/extension-task-list@2.0.0-beta.20
 - @tiptap/extension-text-align@2.0.0-beta.25
 - @tiptap/extension-text-style@2.0.0-beta.19
 - @tiptap/extension-underline@2.0.0-beta.18
 - @tiptap/html@2.0.0-beta.129
 - @tiptap/react@2.0.0-beta.87
 - @tiptap/starter-kit@2.0.0-beta.132
 - @tiptap/suggestion@2.0.0-beta.77
 - @tiptap/vue-2@2.0.0-beta.62
 - @tiptap/vue-3@2.0.0-beta.74
2021-10-31 12:09:28 +01:00
Philipp Kühn
010418d0fd fix: prevent RangeError for posToDOMRect, fix #2112 2021-10-31 12:03:24 +01:00
Hans Pagel
8b091e8413 docs: fix screencast links 2021-10-29 17:53:12 +02:00
Hans Pagel
51aa314034 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-29 17:49:04 +02:00
Hans Pagel
b5f4a2970a docs: update the installation page 2021-10-29 17:48:50 +02:00
Hans Pagel
5aed8b02e0 docs: add a minimal changelog page 2021-10-29 17:48:38 +02:00
Hans Pagel
b004f1e21d
Use the new storage feature for the CollaborationCursor extension (#2096)
* extension-collaboration-cursor: make use of the new storage feature, deprecate users command and onUsers callback, clean up

* docs: update the jobs page
2021-10-28 10:00:16 +02:00
Arnaud Thomas D
85cec0d4da
docs: fix typo (#2093) 2021-10-27 17:32:42 +02:00
Hans Pagel
bb56d98982 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-27 14:04:54 +02:00
Hans Pagel
3f505fc674 docs: add new job 2021-10-27 14:04:06 +02:00
Hans Pagel
28e2da9ad8 docs: update content 2021-10-27 13:55:14 +02:00
Philipp Kühn
e28b770f60 docs: update content 2021-10-26 18:43:58 +02:00
Philipp Kühn
642627ec36 Publish
- @tiptap/core@2.0.0-beta.129
 - @tiptap/extension-blockquote@2.0.0-beta.20
 - @tiptap/extension-bold@2.0.0-beta.20
 - @tiptap/extension-bubble-menu@2.0.0-beta.43
 - @tiptap/extension-bullet-list@2.0.0-beta.19
 - @tiptap/extension-character-count@2.0.0-beta.14
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.49
 - @tiptap/extension-code-block@2.0.0-beta.25
 - @tiptap/extension-code@2.0.0-beta.21
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.26
 - @tiptap/extension-collaboration@2.0.0-beta.26
 - @tiptap/extension-color@2.0.0-beta.4
 - @tiptap/extension-dropcursor@2.0.0-beta.20
 - @tiptap/extension-floating-menu@2.0.0-beta.37
 - @tiptap/extension-focus@2.0.0-beta.30
 - @tiptap/extension-font-family@2.0.0-beta.16
 - @tiptap/extension-gapcursor@2.0.0-beta.29
 - @tiptap/extension-hard-break@2.0.0-beta.25
 - @tiptap/extension-heading@2.0.0-beta.19
 - @tiptap/extension-highlight@2.0.0-beta.26
 - @tiptap/extension-history@2.0.0-beta.17
 - @tiptap/extension-horizontal-rule@2.0.0-beta.25
 - @tiptap/extension-image@2.0.0-beta.20
 - @tiptap/extension-italic@2.0.0-beta.20
 - @tiptap/extension-link@2.0.0-beta.24
 - @tiptap/extension-list-item@2.0.0-beta.15
 - @tiptap/extension-mention@2.0.0-beta.80
 - @tiptap/extension-ordered-list@2.0.0-beta.20
 - @tiptap/extension-paragraph@2.0.0-beta.18
 - @tiptap/extension-placeholder@2.0.0-beta.37
 - @tiptap/extension-strike@2.0.0-beta.22
 - @tiptap/extension-subscript@2.0.0-beta.5
 - @tiptap/extension-superscript@2.0.0-beta.5
 - @tiptap/extension-table-cell@2.0.0-beta.16
 - @tiptap/extension-table-header@2.0.0-beta.18
 - @tiptap/extension-table-row@2.0.0-beta.15
 - @tiptap/extension-table@2.0.0-beta.36
 - @tiptap/extension-task-item@2.0.0-beta.23
 - @tiptap/extension-task-list@2.0.0-beta.19
 - @tiptap/extension-text-align@2.0.0-beta.24
 - @tiptap/extension-text-style@2.0.0-beta.18
 - @tiptap/extension-underline@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.128
 - @tiptap/react@2.0.0-beta.86
 - @tiptap/starter-kit@2.0.0-beta.131
 - @tiptap/suggestion@2.0.0-beta.76
 - @tiptap/vue-2@2.0.0-beta.61
 - @tiptap/vue-3@2.0.0-beta.73
2021-10-26 18:38:50 +02:00
Philipp Kühn
9afadeb7fe
feat!: Replace defaultOptions with addOptions (#2088)
* add new addOptions option

* replace defaultOptions with addOptions for all extensions

* replace defaultOptions with addOptions for all demos

* replace defaultOptions with addOptions in docs

* refactoring

* refactoring

* drop object support for addOptions

* fix optional options

* fix tests
2021-10-26 18:31:13 +02:00
Phoenix Gao
2fff9c264b
docs: Fix menu example in doc (#2089) 2021-10-26 16:23:48 +02:00
Philipp Kühn
9d6a3ba1aa Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-10-26 16:22:33 +02:00
Philipp Kühn
70f335c088 demos: improve mention styling 2021-10-26 16:22:31 +02:00
Hans Pagel
1eb67a1686 docs: update content 2021-10-26 11:51:46 +02:00
Hans Pagel
7c46e3d4d9 docs: add new job 2021-10-26 11:50:43 +02:00
Hans Pagel
afc110a253 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-26 11:37:15 +02:00
Hans Pagel
2d902a2d7d docs: add a link to the collaborative editing screencast 2021-10-26 11:36:53 +02:00
Philipp Kühn
641ae99701 demos: update suggestion styling 2021-10-26 00:00:30 +02:00
Chris Sev
5551c47600
fixing onUpdate example (#2084) 2021-10-25 23:09:31 +02:00
Hans Pagel
b97e6d5aff Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-25 14:24:23 +02:00
Hans Pagel
546ef1afd9 docs: update React installation guide 2021-10-25 14:24:02 +02:00
Philipp Kühn
9f5a165b4d Publish
- @tiptap/core@2.0.0-beta.128
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.48
 - @tiptap/extension-mention@2.0.0-beta.79
 - @tiptap/extension-placeholder@2.0.0-beta.36
 - @tiptap/html@2.0.0-beta.127
 - @tiptap/react@2.0.0-beta.85
 - @tiptap/starter-kit@2.0.0-beta.130
 - @tiptap/suggestion@2.0.0-beta.75
2021-10-25 10:16:21 +02:00
Philipp Kühn
4e9914341d fix tests 2021-10-25 10:14:48 +02:00
Aron Buzinkay
2447217e39
test: Added tests for 'Menus' example (#2052) 2021-10-25 09:55:58 +02:00
Alexandru Văleanu
071cff2a56
test: Add unit tests for demos/src/Examples/Minimal/Vue (#2047) 2021-10-25 09:54:53 +02:00
Donovan Glover
57a5bed495
test: add savvy example tests (#2043) 2021-10-25 09:53:53 +02:00
Jon Noronha
ddc9ca8d4f
fix: Check node type above custom update function for node views (#2081) 2021-10-25 09:52:34 +02:00
Philipp Kühn
45778b81dd dependencies: update 2021-10-25 09:51:33 +02:00
Philipp Kühn
a6f731af39
feat!: Add editor to items prop in suggestion plugin (#2082)
* add editor to items prop

* docs: update content
2021-10-25 09:42:41 +02:00
Philipp Kühn
c01afc6791 demos: fix styling 2021-10-25 09:19:56 +02:00