Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 22, 2023
1 parent 11adbf9 commit 791231c
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .changeset/large-steaks-try.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/two-books-bow.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/slate-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# slate-react

## 0.91.3

### Patch Changes

- [#5305](https://github.com/ianstormtaylor/slate/pull/5305) [`11adbf96`](https://github.com/ianstormtaylor/slate/commit/11adbf966c764ffde866be38ada2d32e00105e48) Thanks [@alex-vladut](https://github.com/alex-vladut)! - Allow pasting plain text into editable voids

## 0.91.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/slate-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.91.2",
"version": "0.91.3",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-test-renderer": ">=16.8.0",
"slate": "^0.91.1",
"slate": "^0.91.3",
"slate-hyperscript": "^0.81.3",
"source-map-loader": "^4.0.0"
},
Expand Down
22 changes: 22 additions & 0 deletions packages/slate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# slate

## 0.91.3

### Patch Changes

- [#5295](https://github.com/ianstormtaylor/slate/pull/5295) [`84f811a7`](https://github.com/ianstormtaylor/slate/commit/84f811a79c9b76050cb3dbe424efca3192cc44c6) Thanks [@zbeyens](https://github.com/zbeyens)! - New `editor` method that can be overridden to control when the normalization should stop. Default behavior (unchanged) is to throw an error when it iterates over 42 times the dirty paths length.

```ts
shouldNormalize: ({
iteration,
dirtyPaths,
operation,
}: {
iteration: number
dirtyPaths: Path[]
operation?: Operation
}) => boolean
```

- `editor.onChange` signature change: `(options?: { operation?: Operation }) => void` where `operation` is triggering the function.
- `editor.normalizeNode` signature change: `(entry: NodeEntry, options?: { operation?: Operation }) => void` where `operation` is triggering the function.
- `EditorNormalizeOptions` new option `operation?: Operation` where `operation` is triggering the function.

## 0.91.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/slate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.91.1",
"version": "0.91.3",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13936,7 +13936,7 @@ resolve@^2.0.0-next.3:
react-dom: ">=16.8.0"
react-test-renderer: ">=16.8.0"
scroll-into-view-if-needed: ^2.2.20
slate: ^0.91.1
slate: ^0.91.3
slate-hyperscript: ^0.81.3
source-map-loader: ^4.0.0
tiny-invariant: 1.0.6
Expand All @@ -13947,7 +13947,7 @@ resolve@^2.0.0-next.3:
languageName: unknown
linkType: soft

"slate@^0.91.1, slate@workspace:*, slate@workspace:packages/slate":
"slate@^0.91.1, slate@^0.91.3, slate@workspace:*, slate@workspace:packages/slate":
version: 0.0.0-use.local
resolution: "slate@workspace:packages/slate"
dependencies:
Expand Down

0 comments on commit 791231c

Please sign in to comment.