Commit Graph

5615 Commits

Author SHA1 Message Date
Philipp Kühn
63b4e15b0c refactoring 2021-05-05 14:14:09 +02:00
Philipp Kühn
b5c51723ea remove insertText from insertContent 2021-05-05 14:13:58 +02:00
Philipp Kühn
63902d4bdb remove replaceRange from mention node 2021-05-05 13:49:32 +02:00
Duncan Krebbers
b606575884
HorizontalRule is included in defaultExtensions
Set 'default extension' for horizontalRule to true in api-nodes documentation.
2021-05-05 13:38:54 +02:00
Philipp Kühn
ec838a11f2 improve Content type 2021-05-05 13:08:19 +02:00
Philipp Kühn
9ff7e2400e add insertContentAt command 2021-05-05 13:00:30 +02:00
Philipp Kühn
ab3261e12b docs: fix typo 2021-05-05 12:11:17 +02:00
Philipp Kühn
d955c9372a Publish
- @tiptap/core@2.0.0-beta.43
 - @tiptap/extension-link@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.44
 - @tiptap/html@2.0.0-beta.43
 - @tiptap/react@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.39
 - @tiptap/suggestion@2.0.0-beta.44
2021-05-05 09:46:38 +02:00
Philipp Kühn
5848e6a2d8 update dev dependencies 2021-05-05 09:44:40 +02:00
Philipp Kühn
9e9401e68b feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 2021-05-05 09:33:52 +02:00
Danny Feliz
196eb8622e
Fix typo (#1262) 2021-05-05 07:44:18 +02:00
Hans Pagel
19f61fda1a docs: update content 2021-05-04 23:59:34 +02:00
Hans Pagel
0c06ece8e9 docs: update content 2021-05-04 23:26:07 +02:00
Hans Pagel
f461a64717 github: add sponsor label workflow 2021-05-04 22:40:04 +02:00
Philipp Kühn
b131330ca1 don’t check for canReplaceWith within replaceRange 2021-05-04 20:51:32 +02:00
Philipp Kühn
e0895bd919 Publish
- @tiptap/core@2.0.0-beta.42
 - @tiptap/extension-bubble-menu@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.43
 - @tiptap/extension-placeholder@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.42
 - @tiptap/react@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.38
 - @tiptap/suggestion@2.0.0-beta.43
 - @tiptap/vue-2@2.0.0-beta.22
 - @tiptap/vue-3@2.0.0-beta.27
2021-05-04 11:09:39 +02:00
Philipp Kühn
bba07fd596 update dev dependencies 2021-05-04 11:05:26 +02:00
Philipp Kühn
0e1d6d41fe refactoring 2021-05-04 11:03:11 +02:00
Philipp Kühn
a96e0c2816
Merge pull request #1253 from zcuric/main
feat: better types for Vue 2
2021-05-04 10:54:58 +02:00
Philipp Kühn
b3fb0228e0 fix: ignore editable in dispatchTransaction, fix #1239 2021-05-04 10:46:32 +02:00
Philipp Kühn
90b7e8b72a fix build 2021-05-04 10:15:51 +02:00
Philipp Kühn
d484a66ca3 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-04 08:54:27 +02:00
Philipp Kühn
3b60b565fd update dev dependencies 2021-05-04 08:54:24 +02:00
Jorge González
bc78b8bb8f
[Docs] Improve example integration with Laravel Livewire (#1255)
* Improve example docs for integration with Laravel Livewire

* Revert code snippet to HTML
2021-05-03 22:47:43 +02:00
Zdravko Curic
23a152a8df feat: better types for Vue 2 2021-05-03 15:11:26 +02:00
Philipp Kühn
f698abc88a update dev dependencies 2021-05-03 11:23:21 +02:00
Philipp Kühn
a4d4097827 Revert "update dev dependencies"
This reverts commit e58873c052.

# Conflicts:
#	yarn.lock
2021-05-03 10:55:57 +02:00
Philipp Kühn
80cf8bb71b throw error for missing mark/node type 2021-05-03 09:50:57 +02:00
Philipp Kühn
edb08bba4a test: add tests for can() method 2021-05-03 09:42:01 +02:00
Philipp Kühn
d4c0e4a51c dependencies: update 2021-05-03 09:30:46 +02:00
Philipp Kühn
e58873c052 update dev dependencies 2021-05-03 09:24:25 +02:00
Philipp Kühn
335a75e3f3
Merge pull request #1252 from Markario/patch-1
Fix returning true/false in can().chain().run()
2021-05-03 09:14:37 +02:00
Philipp Kühn
5d50c11fd7
Merge pull request #1241 from chrisarmstrong/patch-1
Make Horizontal Rule compatible with Typography extension
2021-05-03 09:13:58 +02:00
Philipp Kühn
6ba076cd42
Merge pull request #1217 from swanson/patch-4
Typo fix
2021-05-03 09:12:57 +02:00
Mark Zepeda
7426be019e
Fix returning true/false in can().chain().run()
I think this was previously meant to return a function in the proxy object getter, but now it's a standalone function and should return the result of the callbacks.
2021-05-02 20:04:10 -05:00
Robert Guthrie
5bb499eba8
When text align is default, don't add a style attribute 2021-05-03 11:54:03 +12:00
Hans Pagel
3e14f24ef5 docs: update content 2021-04-30 21:33:06 +02:00
Hans Pagel
a645a84729 docs: update content 2021-04-30 19:42:44 +02:00
Hans Pagel
f3e21e1b81 add Discord links again 2021-04-28 22:25:15 +02:00
Hans Pagel
055c4349a6 docs: add a changelog 2021-04-28 22:24:20 +02:00
Philipp Kühn
0e244ba81c docs: add sponsor link to nav 2021-04-28 21:31:50 +02:00
Hans Pagel
f6ecb1a7f5 Merge branch 'main' of github.com:ueberdosis/tiptap into main 2021-04-28 18:50:07 +02:00
Hans Pagel
66b7664bcd remove Discord invite link for now 2021-04-28 18:49:50 +02:00
chrisarmstrong
823b67b1e6
Make compatible with Typography extension
They Typography extension automatically converts two hyphens `--` into an em dash `–`, which means typing three hyphens in a row results in an em dash and a hyphen `–-`, instead of triggering an hr. 

I propose adding the `–-` pattern to this `nodeInputRule` so typing three hyphens in a row will still trigger an hr, even if 'smart dashes' are enabled via the Typography extension or otherwise.
2021-04-28 10:05:48 +01:00
Philipp Kühn
8393342b19 Publish
- @tiptap/core@2.0.0-beta.41
 - @tiptap/extension-mention@2.0.0-beta.42
 - @tiptap/html@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.37
 - @tiptap/suggestion@2.0.0-beta.42
2021-04-27 22:03:23 +02:00
Philipp Kühn
ebb84a952e docs: fix emoji inputrules for clever editor demo, fix #1213 2021-04-27 22:01:44 +02:00
Philipp Kühn
0b67f18e3a fix: fix onBeforeCreate event handler, fix #1236 2021-04-27 21:52:22 +02:00
Philipp Kühn
c90e522934 Publish
- @tiptap/core@2.0.0-beta.40
 - @tiptap/extension-mention@2.0.0-beta.41
 - @tiptap/extension-table@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.36
 - @tiptap/suggestion@2.0.0-beta.41
2021-04-27 21:10:32 +02:00
Philipp Kühn
bb116ec471 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-04-27 21:07:16 +02:00
Philipp Kühn
234d23887b fix: prevent a bug for node views when pressing enter on iOS, fix #1214 2021-04-27 21:07:12 +02:00