Skip to content

Commit

Permalink
release: ngx-tiptap v12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Nov 28, 2024
1 parent 493b2f3 commit f6d2c9b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,47 @@ All notable changes to this project will be documented in this file.
> - Internal
> - Refactor
## v12.0.0 (2024-11-28)

#### Breaking Changes

- requires angular 19 or greater ([64193b0](https://github.com/sibiraj-s/ngx-tiptap/commit/64193b0))
- internal: refactor inputs and outputs to be signals ([8bc30cb](https://github.com/sibiraj-s/ngx-tiptap/commit/8bc30cb))

#### Migration

- Everything is now standalone, and `NgxTiptapModule` is no longer needed and has been removed.
Manually import the following components wherever required:

- TiptapEditorDirective
- TiptapFloatingMenuDirective
- TiptapBubbleMenuDirective
- TiptapDraggableDirective
- TiptapNodeViewContentDirective

- AngularNodeViewComponent methods are now signals.

An example of updating attributes in a custom node view:

**Before**

```ts
this.updateAttributes({
count: this.node.attrs['count'] + 1,
});
```

**After**

```ts
const updateAttributes = this.updateAttributes();
updateAttributes({
count: this.node().attrs['count'] + 1,
});
```

For more details, refer to the README.

## v11.1.0 (2024-09-17)

#### Features
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-tiptap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-tiptap",
"description": "Angular bindings for tiptap v2",
"version": "11.1.0",
"version": "12.0.0",
"license": "MIT",
"repository": "https://github.com/sibiraj-s/ngx-tiptap.git",
"bugs": "https://github.com/sibiraj-s/ngx-tiptap/issues",
Expand Down

0 comments on commit f6d2c9b

Please sign in to comment.