Skip to content

Commit 3af9056

Browse files
chore(release): publish a new release version
1 parent a65e55d commit 3af9056

File tree

150 files changed

+698
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+698
-131
lines changed

.changeset/fix-bubble-menu-props-update.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/fix-extension-storage-nodeview-calm-river-flow.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/fix-markdown-inline-marks-punctuation.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/placeholder-data-attribute.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/react-tiptap-new-setup.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,79 @@
11
# Releases
22

3+
## v3.18.0
4+
5+
### @tiptap/extension-bubble-menu
6+
7+
#### Patch Changes
8+
9+
- Fix BubbleMenu and FloatingMenu props not updating after initialization
10+
11+
### @tiptap/extension-floating-menu
12+
13+
#### Patch Changes
14+
15+
- Fix BubbleMenu and FloatingMenu props not updating after initialization
16+
17+
### @tiptap/react
18+
19+
#### Minor Changes
20+
21+
- Introduce a new, optional React integration that provides a declarative `<Tiptap />` component for setting up editors in React apps.
22+
23+
Summary
24+
- Add a new, ergonomic way to initialize and use Tiptap editors in React via `<Tiptap />` components. This is an additive change and does not remove or change existing APIs.
25+
26+
Why this change
27+
- Improves ergonomics for React users by offering a component-first API that pairs well with React patterns (hooks, JSX composition and props-driven configuration).
28+
29+
Migration and usage
30+
- The old programmatic setup remains supported for this major version — nothing breaks. We encourage consumers to try the new `<Tiptap />` component and migrate when convenient.
31+
32+
Example
33+
34+
```tsx
35+
import { Tiptap, useEditor } from '@tiptap/react'
36+
37+
function MyEditor() {
38+
const editor = useEditor({ extensions: [StarterKit], content: '<h1>Hello from Tiptap</h1>' })
39+
40+
return (
41+
<Tiptap instance={editor}>
42+
<Tiptap.Content />
43+
<Tiptap.BubbleMenu>My Bubble Menu</Tiptap.BubbleMenu>
44+
<Tiptap.FloatingMenu>My Floating Menu</Tiptap.FloatingMenu>
45+
<MenuBar /> {/* MenuBar can use the new `useTiptap` hook to read the editor instance from context */}
46+
</Tiptap>
47+
)
48+
}
49+
```
50+
51+
Deprecation plan
52+
- The old imperative setup will remain fully backward-compatible for this major release. We plan to deprecate (and remove) the legacy setup in the next major version — a deprecation notice and migration guide will be published ahead of that change.
53+
54+
#### Patch Changes
55+
56+
- Fix BubbleMenu and FloatingMenu props not updating after initialization
57+
- Fixed extension storage not updating in React and Vue node views
58+
59+
### @tiptap/vue-3
60+
61+
#### Patch Changes
62+
63+
- Fixed extension storage not updating in React and Vue node views
64+
65+
### @tiptap/markdown
66+
67+
#### Patch Changes
68+
69+
- Upgrade marked.js from v15.0.12 to v17.0.1. Note that `**)**` requires whitespace when adjacent to alphanumeric text per CommonMark specification.
70+
71+
### @tiptap/extensions
72+
73+
#### Patch Changes
74+
75+
- Added a new `dataAttribute` to the extension option to control which attribute name will be used for the placeholder label.
76+
377
## v3.17.1
478

579
### @tiptap/extension-paragraph

packages-deprecated/extension-character-count/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 3.18.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [a65e55d]
8+
- @tiptap/extensions@3.18.0
9+
310
## 3.17.1
411

512
### Patch Changes

packages-deprecated/extension-character-count/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tiptap/extension-character-count",
33
"description": "font family extension for tiptap",
4-
"version": "3.17.1",
4+
"version": "3.18.0",
55
"homepage": "https://tiptap.dev",
66
"keywords": [
77
"tiptap",

packages-deprecated/extension-dropcursor/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 3.18.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [a65e55d]
8+
- @tiptap/extensions@3.18.0
9+
310
## 3.17.1
411

512
### Patch Changes

packages-deprecated/extension-dropcursor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tiptap/extension-dropcursor",
33
"description": "dropcursor extension for tiptap",
4-
"version": "3.17.1",
4+
"version": "3.18.0",
55
"homepage": "https://tiptap.dev",
66
"keywords": [
77
"tiptap",

0 commit comments

Comments
 (0)