Commit Graph

5963 Commits

Author SHA1 Message Date
bdbch
361a821245
feature(core): pass through paste event to pasteHandler getAttributes (#4354)
* add pass through of paste event for paste handlers

* remove unused pasteHandler.ts

* remove link extension from youtube demo

* added missing prop for handler
2023-09-20 17:23:43 +02:00
Dominik Biedebach
8b89b97d5b v2.1.10 2023-09-15 15:43:55 +02:00
bdbch
2e199b0a59
Fix React and Vue NodeView renderers not adding correct selection classes (#4452)
* fix(react): add correct / remove selected class
* fix(vue-2): add correct / remove selected class
* fix(vue-3): add correct / remove selected class
2023-09-15 15:06:02 +02:00
Dominik Biedebach
a7156b347b v.2.1.9 2023-09-14 17:35:24 +02:00
Dominik Biedebach
c6b72df6e8 chore: dont generate changelogs for rc versions 2023-09-14 17:27:46 +02:00
Manueljlin
74b6444388 fix: add missing attributes in extension-link (#4429)
Despite `rel` and `class` already being defined as an attribute in `addAttributes()`, the interface was missing these two particular attributes so it wasn't accessible when using TypeScript without workarounds.
2023-09-14 17:09:55 +02:00
Rufat Zeynalli
a13a8dfc96
docs(react): fix typo on React installation code block (#4441) 2023-09-14 16:35:49 +02:00
bdbch
6f218be6e4 v2.1.8 2023-09-04 21:40:25 +02:00
bdbch
5437814920 v2.1.7 2023-09-04 21:39:38 +02:00
Aldin Nezirić
73202a0afb
prevent opening link when clicking on selection containing a link (#4346)
* prevent opening link when clicking on selection containing a link

* Fix lint err
2023-09-04 21:38:11 +02:00
svenadlung
586e3c4ec7 docs: complete hard break shortcuts 2023-09-04 09:48:30 +02:00
svenadlung
f0965731a1 docs: complete hard break shortcuts 2023-09-04 09:44:21 +02:00
Eric Hasegawa
254ca1744d
docs(collaboration): fix typo in collaboration.md 2023-08-31 13:55:27 +02:00
svenadlung
9aa01a8413 docs(cloud): fix JSON representation key 2023-08-31 13:41:24 +02:00
svenadlung
0a710682f5 docs(tiptap-php): fix duplicated text 2023-08-28 10:56:28 +02:00
svenadlung
48a4da2d3a docs(cloud): fix TiptapCollabProvider usage 2023-08-28 10:52:18 +02:00
bdbch
2a83166a46
fix(horizontal-rule): fix insertion being broken on empty docs (#4375)
* fix(horizontal-rule): fix insertion being broken on empty docs
* add back text selection offset
2023-08-23 09:35:47 -07:00
Dominik Biedebach
028411e735 v2.1.6 2023-08-18 11:08:52 -07:00
Dominik Biedebach
4227f324a5 fix(core): fix broken export 2023-08-18 11:06:50 -07:00
Dominik Biedebach
92be1e8cb0 v2.1.5 2023-08-18 09:25:35 -07:00
bdbch
e40ac2584e
fix(list-key-map): fix broken imports (#4350) 2023-08-18 09:23:25 -07:00
Dominik Biedebach
571bea436c v2.1.4 2023-08-18 09:09:17 -07:00
Dominik Biedebach
5686dfa86b style(link): fix linting 2023-08-18 08:54:22 -07:00
bdbch
ffeefe21ff
fix: replace the whole node in nodeInputRule (#4341)
Co-authored-by: Nicolas Gryman <ngryman@gmail.com>
2023-08-18 08:32:06 -07:00
Dominik Biedebach
c09d9e9e42 v2.1.3 2023-08-17 23:28:54 -07:00
Steven Qi
f2ac7b9091
fix: fix autolink when code is not enabled for editor (#4344) 2023-08-17 23:28:16 -07:00
Dominik Biedebach
af017d18ad v2.1.2 2023-08-17 09:06:39 -07:00
bdbch
a251946858
fix(core): fix error when merging class attributes (#4340)
* fix(core): fix error when merging class attributes
* added test
2023-08-17 09:05:48 -07:00
Dominik Biedebach
141dd269b4 v2.1.1 2023-08-16 11:41:19 -07:00
bdbch
0d7daedfa4
hotfix(core): Fix input rules not working if at last position of a block (#4337)
* chore(core): remove log

* fix(core): fix inputRules breaking if last item in hierarchy

* fix(core): use default doc node if no parent default node is found

* chore: update .eslintrc

* chore: fix linting

* chore: fix linting
2023-08-16 11:40:47 -07:00
Dominik Biedebach
b0eecc848f Merge branch 'develop' of github.com:ueberdosis/tiptap 2023-08-15 17:53:38 -07:00
Dominik Biedebach
9575dd3639 v2.1.0 2023-08-15 17:52:43 -07:00
bdbch
dd6d3d39d1
HorizontalRule: fix setHorizontalRule putting cursor at non-text positions (#4319)
* fix setHorizontalRule putting cursor at non-text positions

* improve selections after inserting horizontalRules
2023-08-15 17:49:38 -07:00
bdbch
0e65d9519d
Core: Fix classes being duplicated on mergeAttributes function (#4320)
* fix classes being duplicated on mergeAttributes function
* use array split and joining to check individual classes
2023-08-15 17:49:09 -07:00
Dominik Biedebach
652a82b786 reenable cdn docs 2023-08-11 10:33:46 -07:00
Dominik Biedebach
243bdb8c3f merge main 2023-08-10 21:30:41 -07:00
bdbch
2a5ef3d05b
update vanilla js docs (#4316) 2023-08-10 21:14:27 -07:00
Dominik Biedebach
63267019f5 v2.1.0-rc.14 2023-08-10 20:32:03 -07:00
bdbch
4fe87d35e5
add overrides to typography extension (#4287) 2023-08-10 20:30:56 -07:00
Dominik Biedebach
58351ae3b7 v2.1.0-rc.13 2023-08-10 18:13:45 -07:00
bdbch
afaa87fcad
fix demo for cut command (#4313) 2023-08-10 18:12:55 -07:00
bdbch
a922f09a5c
added new options for nodeInputRules for block replacements (#4289) 2023-08-10 16:45:13 -07:00
bdbch
7e7057ea43
chore(lists): move list keymap to extra extension (#4290)
* move list keymap to extra extension

* update docs and readme

* move list helpers out of core
2023-08-10 16:44:46 -07:00
bdbch
a2ce734d68
fix(link): Fix autolinking and pasting (#4292)
* fix linkOnPaste
* fix link on paste breaking links / link behavior
2023-08-10 16:44:31 -07:00
bdbch
fd35db4d09
fix(strikethrough): update strikethrough shortcut (#4288)
* update strikethrough shortcut
* update tests
2023-08-05 11:38:35 +02:00
Patrick Baber
92688f1b16
update cloud docs (#4247) 2023-08-05 01:45:55 +02:00
svenadlung
4f4a389e00 refactor(vue-3): use pm package 2023-08-04 15:30:34 +02:00
Robin
1c5902131d
Fix HocusPocus typo in introduction.md (#4275) 2023-08-03 10:31:04 +02:00
Ben Lewis
7cf17d0b0c
Add support for custom selection builders (#4128)
* Add support for custom cursor builders

* Add documentation for selectionRender

---------

Co-authored-by: Ben Lewis <ben@engageli.com>
2023-08-03 10:30:28 +02:00
bdbch
d1e879dfab
Fix List issues & add support for Mod keys (#4210)
* add support for mod-delete and mod-backspace

* fix backspace not working right behind a list

* move list helpers to core, add support for task lists

* add option to check for node in isAtEndOfNode

---------

Co-authored-by: bdbch <dominik@bdbch.com>
2023-08-03 10:19:32 +02:00