Hans Pagel
e37639ac6d
Merge branch 'main' of github.com:ueberdosis/tiptap
2021-10-14 00:14:05 +02:00
Hans Pagel
0edc57245c
docs: add descriptions to all extensions
2021-10-14 00:13:50 +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
f74f1ac885
docs: update content
2021-10-13 20:53:25 +02:00
Philipp Kühn
f9059a372f
demos: move suggestion to its own file
2021-10-13 14:53:40 +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
d8ef1593af
update codesandbox issue template links
2021-10-11 11:35:32 +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
Yashu Mittal
a2e534607c
docs: correct the wording ( #2012 )
...
correct the wording in "Create a new component" section
2021-10-10 12:36:30 +02:00
Jake Dolan
e5027c8309
Changing use InputRule to textInputRule for Savvy example ( #2007 )
2021-10-09 08:17:56 +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
Sven Adlung
cf97cdf6f0
demos: add React collaboration demo ( #1991 )
...
* Add react collab demo
* Update editor styles for react collaboration demo
2021-10-08 11:08:02 +02:00
hzpeng57
b2fa5d0eb9
docs: update styling ( #1998 )
2021-10-08 09:53:06 +02:00
Hans Pagel
e769063921
Merge branch 'main' of github.com:ueberdosis/tiptap
...
# Conflicts:
# docs/api/extensions/unique-id.md
2021-10-07 21:03:01 +02:00
Hans Pagel
c5f025909e
docs: remove most of the tables from the content (to improve the searchability)
2021-10-07 21:02:30 +02:00
Aron Buzinkay
8b82fbee80
Fixed typo in React installation guide ( #1989 )
2021-10-07 14:49:40 +02:00
Hans Pagel
5695d79c27
Update README.md
2021-10-07 14:48:09 +02:00
Hans Pagel
d70ba4e380
Update links.yaml
2021-10-07 13:17:21 +02:00
Aron Buzinkay
2be975ff1f
docs: Added Next.js installation guide & express setup for React ( #1984 )
...
* Added Next.js installation guide & express setup for React
* Update react.md
Co-authored-by: Hans Pagel <hanspagel@users.noreply.github.com>
2021-10-07 13:15:45 +02:00
David Krijgsman
9255a951a7
docs: Fix typo in hard-break.md ( #1988 )
2021-10-07 13:09:54 +02:00
Hans Pagel
25d3c57b70
Update README.md
2021-10-06 21:03:24 +02:00
dependabot[bot]
56d3b0b9b8
build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 ( #1978 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 19:40:38 +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
9e58f3ad55
docs: update content
2021-10-03 20:53:30 +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
Philipp Kühn
f8efdf797a
fix: fix order of executed plugins, fix #1547
2021-10-03 18:55:33 +02:00
Philipp Kühn
dc868b3d2a
Publish
...
- @tiptap/core@2.0.0-beta.117
- @tiptap/extension-bubble-menu@2.0.0-beta.39
- @tiptap/extension-code-block-lowlight@2.0.0-beta.41
- @tiptap/extension-floating-menu@2.0.0-beta.33
- @tiptap/extension-gapcursor@2.0.0-beta.24
- @tiptap/extension-hard-break@2.0.0-beta.21
- @tiptap/extension-highlight@2.0.0-beta.21
- @tiptap/extension-horizontal-rule@2.0.0-beta.21
- @tiptap/html@2.0.0-beta.116
- @tiptap/react@2.0.0-beta.78
- @tiptap/starter-kit@2.0.0-beta.116
- @tiptap/vue-2@2.0.0-beta.57
- @tiptap/vue-3@2.0.0-beta.67
2021-10-02 23:20:38 +02:00