Philipp Kühn
0ac78c451e
Publish
...
- @tiptap/core@2.0.0-beta.127
- @tiptap/html@2.0.0-beta.126
- @tiptap/starter-kit@2.0.0-beta.129
- @tiptap/vue-3@2.0.0-beta.72
2021-10-22 21:29:45 +02:00
Jon Noronha
bebaa4045e
fix: Separate drags from drops in stopEvent ( #2070 )
...
* Separate drags from drops in stopEvent
* Move !isDropEvent
2021-10-22 21:27:58 +02:00
Philipp Kühn
8f8b83afe4
fix: fix a bug when using drag handles
2021-10-22 19:46:40 +02:00
Philipp Kühn
0e94afe42a
fix: improve default styling for .ProseMirror-separator
2021-10-22 15:05:18 +02:00
Philipp Kühn
d3c38cf47e
Publish
...
- @tiptap/extension-mention@2.0.0-beta.78
2021-10-22 11:19:21 +02:00
Philipp Kühn
5e652c94a7
fix: fix check for showing mention suggestion
2021-10-22 10:09:28 +02:00
Philipp Kühn
f6ef4caa14
Publish
...
- @tiptap/core@2.0.0-beta.126
- @tiptap/extension-gapcursor@2.0.0-beta.28
- @tiptap/extension-table@2.0.0-beta.35
- @tiptap/html@2.0.0-beta.125
- @tiptap/react@2.0.0-beta.84
- @tiptap/starter-kit@2.0.0-beta.128
- @tiptap/vue-3@2.0.0-beta.71
2021-10-22 09:06:12 +02:00
Philipp Kühn
ff67ee1da3
fix: fix a bug where paste rules doesn’t worked at the start of the document, see #1225
2021-10-22 09:04:09 +02:00
Philipp Kühn
7ffabf251c
feat: Add extension storage ( #2069 )
2021-10-22 08:52:54 +02:00
Philipp Kühn
d47b45cbc2
Publish
...
- @tiptap/extension-task-item@2.0.0-beta.22
2021-10-18 23:23:05 +02:00
Philipp Kühn
81d8097959
fix: add HTMLAttributes to task item node view
2021-10-18 23:20:20 +02:00
Philipp Kühn
1502013145
Publish
...
- @tiptap/extension-task-list@2.0.0-beta.18
2021-10-15 15:55:01 +02:00
Philipp Kühn
7503d1bed1
fix: add missing HTMLAttributes to task list, fix #2042
2021-10-15 15:19:42 +02:00
Philipp Kühn
9948e2499a
Publish
...
- @tiptap/core@2.0.0-beta.125
- @tiptap/extension-blockquote@2.0.0-beta.19
- @tiptap/extension-bold@2.0.0-beta.19
- @tiptap/extension-bubble-menu@2.0.0-beta.42
- @tiptap/extension-bullet-list@2.0.0-beta.18
- @tiptap/extension-code-block-lowlight@2.0.0-beta.47
- @tiptap/extension-code-block@2.0.0-beta.24
- @tiptap/extension-code@2.0.0-beta.20
- @tiptap/extension-collaboration-cursor@2.0.0-beta.25
- @tiptap/extension-collaboration@2.0.0-beta.25
- @tiptap/extension-floating-menu@2.0.0-beta.36
- @tiptap/extension-focus@2.0.0-beta.29
- @tiptap/extension-gapcursor@2.0.0-beta.27
- @tiptap/extension-hard-break@2.0.0-beta.24
- @tiptap/extension-heading@2.0.0-beta.18
- @tiptap/extension-highlight@2.0.0-beta.25
- @tiptap/extension-horizontal-rule@2.0.0-beta.24
- @tiptap/extension-image@2.0.0-beta.19
- @tiptap/extension-italic@2.0.0-beta.19
- @tiptap/extension-link@2.0.0-beta.23
- @tiptap/extension-mention@2.0.0-beta.77
- @tiptap/extension-ordered-list@2.0.0-beta.19
- @tiptap/extension-placeholder@2.0.0-beta.35
- @tiptap/extension-strike@2.0.0-beta.21
- @tiptap/extension-table@2.0.0-beta.34
- @tiptap/extension-task-item@2.0.0-beta.21
- @tiptap/extension-typography@2.0.0-beta.17
- @tiptap/html@2.0.0-beta.124
- @tiptap/react@2.0.0-beta.83
- @tiptap/starter-kit@2.0.0-beta.127
- @tiptap/suggestion@2.0.0-beta.74
- @tiptap/vue-2@2.0.0-beta.60
- @tiptap/vue-3@2.0.0-beta.70
2021-10-14 20:53:30 +02:00
Philipp Kühn
22c82ba61f
fix: check for storedMarks in getMarkAttributes, fix #2039
2021-10-14 20:45:44 +02:00
Philipp Kühn
d67a59468c
Publish
...
- @tiptap/core@2.0.0-beta.124
- @tiptap/html@2.0.0-beta.123
- @tiptap/starter-kit@2.0.0-beta.126
2021-10-14 12:31:11 +02:00
Philipp Kühn
4295c6bd21
fix: fix type for insertContent command
2021-10-14 12:30:16 +02:00
Philipp Kühn
8a14131d7a
Publish
...
- @tiptap/core@2.0.0-beta.123
- @tiptap/extension-blockquote@2.0.0-beta.18
- @tiptap/extension-bold@2.0.0-beta.18
- @tiptap/extension-bubble-menu@2.0.0-beta.41
- @tiptap/extension-bullet-list@2.0.0-beta.17
- @tiptap/extension-code-block-lowlight@2.0.0-beta.46
- @tiptap/extension-code-block@2.0.0-beta.23
- @tiptap/extension-code@2.0.0-beta.19
- @tiptap/extension-collaboration-cursor@2.0.0-beta.24
- @tiptap/extension-collaboration@2.0.0-beta.24
- @tiptap/extension-floating-menu@2.0.0-beta.35
- @tiptap/extension-focus@2.0.0-beta.28
- @tiptap/extension-gapcursor@2.0.0-beta.26
- @tiptap/extension-hard-break@2.0.0-beta.23
- @tiptap/extension-heading@2.0.0-beta.17
- @tiptap/extension-highlight@2.0.0-beta.24
- @tiptap/extension-horizontal-rule@2.0.0-beta.23
- @tiptap/extension-image@2.0.0-beta.18
- @tiptap/extension-italic@2.0.0-beta.18
- @tiptap/extension-link@2.0.0-beta.22
- @tiptap/extension-mention@2.0.0-beta.76
- @tiptap/extension-ordered-list@2.0.0-beta.18
- @tiptap/extension-placeholder@2.0.0-beta.34
- @tiptap/extension-strike@2.0.0-beta.20
- @tiptap/extension-table@2.0.0-beta.33
- @tiptap/extension-task-item@2.0.0-beta.20
- @tiptap/extension-typography@2.0.0-beta.16
- @tiptap/html@2.0.0-beta.122
- @tiptap/react@2.0.0-beta.82
- @tiptap/starter-kit@2.0.0-beta.125
- @tiptap/suggestion@2.0.0-beta.73
- @tiptap/vue-2@2.0.0-beta.59
- @tiptap/vue-3@2.0.0-beta.69
2021-10-14 12:19:36 +02:00
Philipp Kühn
a7e2f4397b
dependencies: update
2021-10-14 12:16:26 +02:00
Philipp Kühn
9f2c36896b
feat: add updateSelection
option to insertContentAt
command
2021-10-14 12:08:39 +02:00
Philipp Kühn
4303637a78
feat: Allow to use commands within InputRule and PasteRule ( #2035 )
...
* add optional state prop to commandmanager
* add commands, chain and can getter to commandmanager
* use custom CommandManager for input rules and paste rules
* export commandmanager
2021-10-14 11:56:40 +02:00
Philipp Kühn
2e925f96b8
Publish
...
- @tiptap/extension-code-block-lowlight@2.0.0-beta.45
- @tiptap/extension-code-block@2.0.0-beta.22
- @tiptap/starter-kit@2.0.0-beta.124
2021-10-13 23:32:02 +02:00
Philipp Kühn
b1c56e6f16
fix: strip carriage return chars from text pasted as code and add missing paste meta information
2021-10-13 23:28:42 +02:00
Philipp Kühn
b7c492c213
Publish
...
- @tiptap/extension-placeholder@2.0.0-beta.33
2021-10-12 23:31:42 +02:00
Philipp Kühn
eb5374321b
feat: add pos to placeholder props
2021-10-12 23:30:30 +02:00
Philipp Kühn
a06213f137
Publish
...
- @tiptap/extension-code-block-lowlight@2.0.0-beta.44
- @tiptap/extension-code-block@2.0.0-beta.21
- @tiptap/starter-kit@2.0.0-beta.123
2021-10-12 14:31:56 +02:00
Philipp Kühn
d60fe350d1
fix: fix bug on paste when using code blocks
2021-10-12 14:31:22 +02:00
Philipp Kühn
d3641b88e0
Publish
...
- @tiptap/extension-code-block-lowlight@2.0.0-beta.43
- @tiptap/extension-code-block@2.0.0-beta.20
- @tiptap/react@2.0.0-beta.81
- @tiptap/starter-kit@2.0.0-beta.122
2021-10-12 11:38:52 +02:00
Philipp Kühn
2d0e6d02d1
refactoring
2021-10-12 11:38:01 +02:00
Tomas Valenta
e9465ec0f6
fix: Add editor
dependency when registering BubbleMenuPlugin
and FloatingMenuPlugin
( #2018 )
...
* Add `editor` dependency when registering `BubbleMenuPlugin`
When we are initializing editor via the `useEditor` hook with dependencies the `BubbleMenu` component is only registered the first time the editor is initialized.
Adding editor to the dependency array registering/unregistering the `BubbleMenuPlugin` fixes this. (I tested exactly this code in our project.)
I also added a check that ensures that the menu element referenced via the `useRef` is defined when registering the plugin - otherwise, there is no point in registering the plugin.
* Add `editor` dependency when registering `FloatingMenuPlugin`
2021-10-12 11:09:00 +02:00
Philipp Kühn
0e0b0b6a8c
fix: add support for pasted content from VS Code, fix #2022
2021-10-12 10:20:13 +02:00
Philipp Kühn
7aef884612
Publish
...
- @tiptap/extension-image@2.0.0-beta.17
- @tiptap/react@2.0.0-beta.80
2021-10-11 20:50:55 +02:00
Ricardo Amaral
31d8ab3593
fix: Improve ReactRenderer types ( #2011 )
2021-10-11 20:37:35 +02:00
Nokola
503a3f2cf5
fix: Fix #2016 Image input rule ( #2020 )
...
Image input rule leaves erroneous text behind due to my previous change to add group matching in #1574 .
This change adds a `( ... )` regex group around the image input rule to have it work with the new code.
2021-10-11 20:35:33 +02:00
Philipp Kühn
2af187023d
fix: fix editor type for ReactRenderer
2021-10-11 08:45:46 +02:00
Philipp Kühn
134d7f8513
Publish
...
- @tiptap/core@2.0.0-beta.122
- @tiptap/html@2.0.0-beta.121
- @tiptap/starter-kit@2.0.0-beta.121
2021-10-10 22:24:18 +02:00
Philipp Kühn
3958bf1c22
fix: allow to re-apply current mark for input rules and paste rules, fix #2003
2021-10-10 22:23:32 +02:00
Philipp Kühn
3a7e202e71
Publish
...
- @tiptap/core@2.0.0-beta.121
- @tiptap/extension-blockquote@2.0.0-beta.17
- @tiptap/extension-bold@2.0.0-beta.17
- @tiptap/extension-code@2.0.0-beta.18
- @tiptap/extension-highlight@2.0.0-beta.23
- @tiptap/extension-italic@2.0.0-beta.17
- @tiptap/extension-strike@2.0.0-beta.19
- @tiptap/html@2.0.0-beta.120
- @tiptap/starter-kit@2.0.0-beta.120
2021-10-10 21:35:11 +02:00
Philipp Kühn
65eddf0e78
fix: fix regex modifier for input rules and paste rules, fix #2003
2021-10-10 21:27:37 +02:00
Philipp Kühn
9d281e9e99
fix: do not apply paste rules for ProseMirror HTML
2021-10-10 19:25:50 +02:00
Philipp Kühn
3ca6b63b3c
Publish
...
- @tiptap/core@2.0.0-beta.120
- @tiptap/html@2.0.0-beta.119
- @tiptap/starter-kit@2.0.0-beta.119
2021-10-08 22:42:11 +02:00
Philipp Kühn
770c4e18e1
fix: fix mappes positions for paste rules, fix #2002
2021-10-08 22:40:06 +02:00
Philipp Kühn
ed00dbbe56
Publish
...
- @tiptap/core@2.0.0-beta.119
- @tiptap/extension-blockquote@2.0.0-beta.16
- @tiptap/extension-bold@2.0.0-beta.16
- @tiptap/extension-bubble-menu@2.0.0-beta.40
- @tiptap/extension-bullet-list@2.0.0-beta.16
- @tiptap/extension-code-block-lowlight@2.0.0-beta.42
- @tiptap/extension-code-block@2.0.0-beta.19
- @tiptap/extension-code@2.0.0-beta.17
- @tiptap/extension-collaboration-cursor@2.0.0-beta.23
- @tiptap/extension-collaboration@2.0.0-beta.23
- @tiptap/extension-floating-menu@2.0.0-beta.34
- @tiptap/extension-focus@2.0.0-beta.27
- @tiptap/extension-gapcursor@2.0.0-beta.25
- @tiptap/extension-hard-break@2.0.0-beta.22
- @tiptap/extension-heading@2.0.0-beta.16
- @tiptap/extension-highlight@2.0.0-beta.22
- @tiptap/extension-horizontal-rule@2.0.0-beta.22
- @tiptap/extension-image@2.0.0-beta.16
- @tiptap/extension-italic@2.0.0-beta.16
- @tiptap/extension-link@2.0.0-beta.21
- @tiptap/extension-mention@2.0.0-beta.75
- @tiptap/extension-ordered-list@2.0.0-beta.17
- @tiptap/extension-placeholder@2.0.0-beta.32
- @tiptap/extension-strike@2.0.0-beta.18
- @tiptap/extension-table@2.0.0-beta.32
- @tiptap/extension-task-item@2.0.0-beta.19
- @tiptap/extension-typography@2.0.0-beta.15
- @tiptap/html@2.0.0-beta.118
- @tiptap/react@2.0.0-beta.79
- @tiptap/starter-kit@2.0.0-beta.118
- @tiptap/suggestion@2.0.0-beta.72
- @tiptap/vue-2@2.0.0-beta.58
- @tiptap/vue-3@2.0.0-beta.68
2021-10-08 15:08:08 +02:00
Philipp Kühn
723b955cec
feat: Integrate input rules and paste rules into the core ( #1997 )
...
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* update linkify
* wip
* wip
* log
* wip
* remove debug code
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* rename matcher
* add data to ExtendedRegExpMatchArray
* remove logging
* add code option to marks, prevent inputrules in code mark
* remove link regex
* fix codeblock inputrule on enter
* refactoring
* refactoring
* refactoring
* refactoring
* fix position bug
* add test
* export InputRule and PasteRule
* clean up link demo
* fix types
2021-10-08 15:02:09 +02:00
Philipp Kühn
ace4964d97
dependencies: update
2021-10-08 12:13:20 +02:00
Philipp Kühn
3a9d6201f0
Publish
...
- @tiptap/extension-collaboration-cursor@2.0.0-beta.22
- @tiptap/extension-collaboration@2.0.0-beta.22
2021-10-04 06:54:34 +02:00
Philipp Kühn
2b16c2ea96
fix: fix plugin order for collab, fix #1973
2021-10-04 06:53:59 +02:00
Philipp Kühn
68fc3f862f
Publish
...
- @tiptap/extension-collaboration@2.0.0-beta.21
2021-10-03 20:38:08 +02:00
Philipp Kühn
92b6c5bdce
feat: add isChangeOrigin helper method
2021-10-03 20:33:33 +02:00
Philipp Kühn
4feb4ee36e
Publish
...
- @tiptap/core@2.0.0-beta.118
- @tiptap/html@2.0.0-beta.117
- @tiptap/starter-kit@2.0.0-beta.117
2021-10-03 18:58:02 +02:00