Commit Graph

1921 Commits

Author SHA1 Message Date
Dominik Biedebach
4841c05c72 fix(extension-youtube): set allowFullscreen to default 2022-11-04 17:21:52 +01:00
Dominik Biedebach
bf5812461b fix(extension-youtube): remove default options from youtube extension 2022-11-04 16:51:06 +01:00
Dominik
cd5fd606d1
refactor(extension/bubble-menu): add debounce to bubble menu updates (#3385)
* refactor(extension/bubble-menu): add debounce to bubble menu updates

* fix: change default duration in react bubble menu demo
2022-11-04 16:39:41 +01:00
Dominik Biedebach
cd78f1d863 v2.0.0-beta.200 2022-11-04 12:33:51 +01:00
Dominik Biedebach
b38c9eb139 fix(suggestion): revert #3239 2022-11-04 12:32:01 +01:00
Cameron Hessler
6e5d19f65d
fix(extension-placeholder) Fix perf issue w/empty nodes (#3361)
Co-authored-by: Cameron Hessler <cameron.hessler@buildertrend.com>
2022-11-04 00:32:21 +01:00
Luis Cateura
c1cf33c7bf
Feature/youtube parameters (#3307)
* Fixed allowFullscreen not working correctly. Added autoplay and progress bar color parameters

* Added cc language preference, cc load policy, disable keyboard controls, end time and interface language parameters

* Added enable IFrame API, iv load policy, loop, modest branding, origin and playlist parameters

* Updated the youtube extension documentation

Co-authored-by: luis.feliu <luis.feliu@mentormate.com>
2022-10-17 17:28:30 +02:00
Eduard Castellano
1c493f3593
Cleanup linkifyjs when the editor is destroyed (#3316) 2022-10-17 12:58:04 +02:00
Nikita Konev
a966059dc0
Fixed using both color and highlight (#3311) 2022-10-17 12:57:53 +02:00
Luis Cateura
ac626c8e1e
Fixed dragged text not being deleted after drop on another editor (#3279)
* Fixed dragged text not being deleted after drop on another editor

* refactor code solved typescript errors

Co-authored-by: luis.feliu <luis.feliu@mentormate.com>
2022-10-17 12:56:40 +02:00
Dominik Biedebach
921bbdd4bb v2.0.0-beta.199 2022-09-30 04:43:37 +02:00
Dominik
69923e2b0e
fix(extension/link): 🐛 fix last word value not being passed through when undefined (#3258) 2022-09-30 04:40:33 +02:00
Dominik Biedebach
801b436d7a v2.0.0-beta.198 2022-09-29 15:20:55 +02:00
matrixbirds
04b9da4760
fix(suggestion): set default allowedPrefixes null (#3239)
Co-authored-by: Zoe.L <yang.li06@mihoyo.com>
2022-09-29 15:20:08 +02:00
Alberto Giunta
f6c6b67096
Fix #3032 (#3245) 2022-09-29 15:05:27 +02:00
hamflx
2f9ba324a0
fix(core): InputRules does not work for ranges containing multiple text nodes (#3205)
* fix: InputRules does not work for ranges containing multiple text nodes. #3071

* chore: rename `to` to `sliceEndPos`
2022-09-29 15:05:03 +02:00
Guy Marriott
539afce4fd
fix(link): ensure text blocks exist before referencing them (#3251)
Fixes #3250
2022-09-29 15:03:04 +02:00
Dominik Biedebach
be4cde0e02 v2.0.0-beta.197 2022-09-26 15:26:23 +02:00
Cameron Hessler
17a41da5a7
fix(core): Can() does not work for setting marks (#3223)
Previously, setting marks did no schema validation checks for dry runs
(like the `.can()` command). The `setMark` raw command will now properly
check if the mark is possible to be set given the editor node/mark
schema.

Co-authored-by: Cameron Hessler <cameron.hessler@buildertrend.com>
2022-09-26 14:56:25 +02:00
Dominik
8c088b6b88
chore(maintainment): 🚀 update prosemirror packages to the most recent versions (#3237) 2022-09-26 14:56:14 +02:00
Cameron Hessler
8f5fbef742
feat(extension-link) Change autolink to only apply on space (#3232)
Co-authored-by: Cameron Hessler <cameron.hessler@buildertrend.com>
2022-09-26 11:08:10 +02:00
Dominik Biedebach
95842e18f6 v2.0.0-beta.196 2022-09-21 00:49:19 +02:00
John Franey
ae13cf61ad
fix(types): fix link and table type errors (#3208) 2022-09-20 23:54:36 +02:00
Sven Adlung
a3978353ff
feat(extension-typography): add servicemark input rule (#3220)
* feat(extension-typography): add servicemark input rule

* fix formatting issue
2022-09-20 23:53:34 +02:00
Dominik Biedebach
ea1fbeda7d v2.0.0-beta.195 2022-09-14 02:10:19 +02:00
Molly
b01ccff7b2
feat: Add alias condition to code-block-lowlight (#3155) 2022-09-14 02:06:01 +02:00
Dominik
fa96749ce2
fix(extension/bubble-menu): 🐛 fix bubble menu and floating menu being available when editor not editable (#3195) 2022-09-14 02:05:36 +02:00
Daniel Spitzer
9093cdfcf5
fix: move React flushSync to microtask (#3188)
To avoid seeing the `Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.` error, we need to move the `flushSync()` code that avoids automatic batching to a microtask to not fire a lifecycle event `setState()` during rendering.

Fixes warning introduced in #2985
2022-09-13 20:36:35 +02:00
Dominik Biedebach
009f79991d v2.0.0-beta.194 2022-09-11 11:11:52 +02:00
Dominik Biedebach
56c138671b chore: sync package versions 2022-09-11 11:11:31 +02:00
Dominik Biedebach
e25d4a3710 v2.0.0-beta.193 2022-09-10 21:12:56 +02:00
Dominik Biedebach
d15aa38cd2 refactor(extension/mention): move @tiptap/sugesstion into peerDependencies 2022-09-10 21:09:58 +02:00
Dominik Biedebach
1024892454 Revert "Merge branch 'add-empty-editor-class-to-root-div'"
This reverts commit 1d0158d5c5, reversing
changes made to bda6e8d308.
2022-09-10 16:16:47 +02:00
Dominik Biedebach
6a85f73659 style(extension/placeholder): fix linting issues 2022-09-10 15:31:54 +02:00
Dominik Biedebach
6cbc2d4233 Merge branch 'main' of github.com:ueberdosis/tiptap into add-empty-editor-class-to-root-div 2022-09-10 15:31:04 +02:00
Etienne de la Broïse
bda6e8d308
fix(core): insert PasteRule Node at matched position (#2942) (#2943) 2022-09-10 14:07:46 +02:00
Dominik Biedebach
af3568fcc1 Merge branch 'lowlight-types' of github.com:tarngerine/tiptap into tarngerine-lowlight-types 2022-09-10 14:06:16 +02:00
Dominik Biedebach
5bcfb322ce Publish
- @tiptap/core@2.0.0-beta.183
 - @tiptap/extension-bubble-menu@2.0.0-beta.62
 - @tiptap/extension-code@2.0.0-beta.29
 - @tiptap/extension-mention@2.0.0-beta.103
 - @tiptap/extension-subscript@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.182
 - @tiptap/react@2.0.0-beta.115
 - @tiptap/starter-kit@2.0.0-beta.192
 - @tiptap/suggestion@2.0.0-beta.98
 - @tiptap/vue-2@2.0.0-beta.85
 - @tiptap/vue-3@2.0.0-beta.97
2022-09-03 20:12:57 +02:00
Stef Kors
73daee9b80
include bubble menu element when checking if the editor view still has focus (#3150) 2022-09-03 20:07:41 +02:00
Marcel
0263629ba5
docs: fix naming (#3151) 2022-09-03 20:06:24 +02:00
Rhys-T
4851fc5e9b
fix(core): make setEditable trigger all 'update' listeners (#3140) 2022-09-01 13:55:19 +02:00
远方
c6c5fa623a
fix: vue inject grammar warning (#3144) 2022-09-01 13:54:59 +02:00
Dominik
5fed0f2fc6
feature(core): add exit handling for marks (#2925)
* feat(core): add exit handling for marks

* docs(core): add information about exitable marks
2022-08-22 15:23:44 +02:00
Cai Huanyu
f32293b0d5
fix: fix React Node View render problem in React 18 (#2985) 2022-08-22 14:41:26 +02:00
Dominik
de1253a8b0
fix(core): make setEditable trigger onUpdate function (#2935) 2022-08-22 14:24:21 +02:00
Faleij
791c89d943
Make Suggestion use view.dom instead of document (#3093) 2022-08-22 14:23:46 +02:00
Asherah Connor
313b8b8d0a
fix(core): setNodeSelection should not clamp pos by Selection.atStart/atEnd (#3091)
Fixes #3090.
2022-08-22 14:22:44 +02:00
Asherah Connor
40f4ea31ef
fix(core): createCan command props shouldn't try dispatch (#3025) (#3026) 2022-08-22 14:19:44 +02:00
Sinclair Chen
69d22d2d3c
fix: let StarterKit be imported as cjs module (#2967) 2022-08-22 13:52:31 +02:00
Billiam
18336a8255
Fix paste rule adding one character to paste range (#2968)
Fixes #2939
2022-08-22 13:26:26 +02:00