Commit Graph

5062 Commits

Author SHA1 Message Date
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
e26aaea228 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-10-18 23:20:40 +02:00
Philipp Kühn
81d8097959 fix: add HTMLAttributes to task item node view 2021-10-18 23:20:20 +02:00
Hans Pagel
d4a39f45cb Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-18 18:02:02 +02:00
Hans Pagel
53f815a53c docs: replace embeds with just the URL 2021-10-18 18:01:47 +02:00
dependabot[bot]
2b4905e9dc
build(deps): bump actions/checkout from 2.3.4 to 2.3.5 (#2051)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-18 16:14:15 +02:00
Hans Pagel
43a944b897 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-16 15:48:09 +02:00
Hans Pagel
286bdd1c91 docs: rename about page 2021-10-16 15:47:52 +02:00
Philipp Kühn
e9ee6bc68e demos: improve button styling 2021-10-16 00:08:48 +02:00
Hans Pagel
15d41943a4 docs: update content 2021-10-15 22:48:57 +02:00
Philipp Kühn
b2dffc6013 demos: update suggestions styling 2021-10-15 18:38:14 +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
93c4524d0e fix tests 2021-10-15 15:52:59 +02:00
Philipp Kühn
7503d1bed1 fix: add missing HTMLAttributes to task list, fix #2042 2021-10-15 15:19:42 +02:00
Hans Pagel
808d32f9a7 examples: fix styling of table examples 2021-10-15 14:49:12 +02:00
Martin Kriegeskorte
0a5d4b6658 docs: add icons for extensions 2021-10-14 21:20:21 +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
Hans Pagel
60944ce9ce Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-14 14:01:14 +02:00
Hans Pagel
5410cd5f31 docs: wording 2021-10-14 14:00:40 +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
Hans Pagel
8c32dab55c docs: wording 2021-10-14 11:56:18 +02:00
Hans Pagel
cbd868f6ca Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-14 10:46:27 +02:00
Hans Pagel
4183499ff9 docs: fix typos 2021-10-14 10:46:09 +02:00
Philipp Kühn
e79126d99b demos: add whitespace 2021-10-14 09:42:31 +02:00
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