Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/fix-bubble-menu-props-update.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fix-extension-storage-nodeview-calm-river-flow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-markdown-inline-marks-punctuation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/placeholder-data-attribute.md

This file was deleted.

36 changes: 0 additions & 36 deletions .changeset/react-tiptap-new-setup.md

This file was deleted.

74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
# Releases

## v3.18.0

### @tiptap/extension-bubble-menu

#### Patch Changes

- Fix BubbleMenu and FloatingMenu props not updating after initialization

### @tiptap/extension-floating-menu

#### Patch Changes

- Fix BubbleMenu and FloatingMenu props not updating after initialization

### @tiptap/react

#### Minor Changes

- Introduce a new, optional React integration that provides a declarative `<Tiptap />` component for setting up editors in React apps.

Summary
- 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.

Why this change
- Improves ergonomics for React users by offering a component-first API that pairs well with React patterns (hooks, JSX composition and props-driven configuration).

Migration and usage
- 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.

Example

```tsx
import { Tiptap, useEditor } from '@tiptap/react'

function MyEditor() {
const editor = useEditor({ extensions: [StarterKit], content: '<h1>Hello from Tiptap</h1>' })

return (
<Tiptap instance={editor}>
<Tiptap.Content />
<Tiptap.BubbleMenu>My Bubble Menu</Tiptap.BubbleMenu>
<Tiptap.FloatingMenu>My Floating Menu</Tiptap.FloatingMenu>
<MenuBar /> {/* MenuBar can use the new `useTiptap` hook to read the editor instance from context */}
</Tiptap>
)
}
```

Deprecation plan
- 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.

#### Patch Changes

- Fix BubbleMenu and FloatingMenu props not updating after initialization
- Fixed extension storage not updating in React and Vue node views

### @tiptap/vue-3

#### Patch Changes

- Fixed extension storage not updating in React and Vue node views

### @tiptap/markdown

#### Patch Changes

- Upgrade marked.js from v15.0.12 to v17.0.1. Note that `**)**` requires whitespace when adjacent to alphanumeric text per CommonMark specification.

### @tiptap/extensions

#### Patch Changes

- Added a new `dataAttribute` to the extension option to control which attribute name will be used for the placeholder label.

## v3.17.1

### @tiptap/extension-paragraph
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-character-count/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-character-count/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-character-count",
"description": "font family extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-dropcursor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-dropcursor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-dropcursor",
"description": "dropcursor extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-focus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-focus/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-focus",
"description": "focus extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-gapcursor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-gapcursor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-gapcursor",
"description": "gapcursor extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-history/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-history/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-history",
"description": "history extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-list-item/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-list-item/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-list-item",
"description": "list item extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-list-keymap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-list-keymap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-list-keymap",
"description": "list keymap extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
7 changes: 7 additions & 0 deletions packages-deprecated/extension-placeholder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 3.18.0

### Patch Changes

- Updated dependencies [a65e55d]
- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-placeholder/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-placeholder",
"description": "placeholder extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-table-cell/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-table-cell/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-cell",
"description": "table cell extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-table-header/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-table-header/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-header",
"description": "table cell extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-table-row/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages-deprecated/extension-table-row/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-row",
"description": "table row extension for tiptap",
"version": "3.17.1",
"version": "3.18.0",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
Expand Down
6 changes: 6 additions & 0 deletions packages-deprecated/extension-task-item/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.18.0

### Patch Changes

- @tiptap/[email protected]

## 3.17.1

### Patch Changes
Expand Down
Loading