mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 17:23:07 +01:00
v0.62.0 (#4156)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
6712e6fbc9
commit
dc2d2f16b4
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added support for using the new `beforeInput` events in the latest Firefox.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
**Add directional awareness to `Editor.deleteFragment`.** This is an obscure change, but is a required distinction when implementing features that need to "fake delete" content (like Google Docs's suggestions). Previously deleting always collapsed to the end of a range, but now it can collapse forwards as well.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed spellcheck disabling logic to always work in older versions of Firefox.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed browser-detection behavior to work with Deno.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Updated placeholder styles to allow for wrapping long placeholder text.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: minor
|
|
||||||
---
|
|
||||||
|
|
||||||
**Updated `Text.equals` to deeply compare text node properties.** Previously it only did a shallow comparison, but this made it harder to keep track of more complex data structures at the text level.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed selection updating with IME inputs in browsers that support `beforeinput`.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed selection logic when a controlled editor's nodes change out from under it.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added invariants when passing invalud `value` or `editor` props to `<Editable>`.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed cursor movement in RTL text.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed `move_node` operations to normalize the node in question.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added memoization logic to `Node.isNodeList` and `Editor.isEditor` to speed up common code paths.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug in the conversion of DOM points to Slate points.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed auto-scrolling behavior when a block is bigger than the viewport.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug that occurred when using Babel's `loose` mode.
|
|
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
'slate': minor
|
|
||||||
'slate-history': minor
|
|
||||||
'slate-hyperscript': minor
|
|
||||||
'slate-react': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
**Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-history': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed history logic to not store focus and blur selection changes in the history.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed deleting void elements when using cut-and-paste.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug that crashed the editor when using IME input.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug when merging deeply nested multi-child nodes.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: minor
|
|
||||||
---
|
|
||||||
|
|
||||||
**Added support for custom selection properties.** Previously you could set custom properties on the selection objects but it was not a fully supported feature because there was no way to delete them later. Now custom properties are officially supported and deleting them once set is possible.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed allowing the `onPaste` handler to be overridden in all browsers.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed internal decoration logic to be faster and require fewer re-renders.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed an error that happened when selecting void nodes in a read-only editor.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed `move_node` operations to not always require a full re-render.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed normalization of DOM points to be more accurate when triple-clicking.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug that prevented `isFocused` from updating on certain focus changes.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
slate: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug when deleting a hanging range with a trailing void block node.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed IME input to not insert repeated characters.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes Slate to work with the Shadow DOM.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate-react': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed deleting by line to account for the line breaks in the browser.
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'slate': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed a bug in `Editor.positions` which caused it to sometimes skip positions in text nodes that were segmented across inlines or marks.
|
|
15
packages/slate-history/CHANGELOG.md
Normal file
15
packages/slate-history/CHANGELOG.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# slate-history
|
||||||
|
|
||||||
|
## 0.62.0
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#4154](https://github.com/ianstormtaylor/slate/pull/4154) [`7283c51f`](https://github.com/ianstormtaylor/slate/commit/7283c51feb83cb8522bc16efce09bb01c29400b9) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
|
||||||
|
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed history logic to not store focus and blur selection changes in the history.
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate-history",
|
"name": "slate-history",
|
||||||
"description": "An operation-based history implementation for Slate editors.",
|
"description": "An operation-based history implementation for Slate editors.",
|
||||||
"version": "0.61.3",
|
"version": "0.62.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@ -18,8 +18,8 @@
|
|||||||
"is-plain-object": "^3.0.0"
|
"is-plain-object": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"slate": "^0.61.3",
|
"slate": "^0.62.0",
|
||||||
"slate-hyperscript": "^0.61.3"
|
"slate-hyperscript": "^0.62.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"slate": ">=0.55.0"
|
"slate": ">=0.55.0"
|
||||||
|
8
packages/slate-hyperscript/CHANGELOG.md
Normal file
8
packages/slate-hyperscript/CHANGELOG.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# slate-hyperscript
|
||||||
|
|
||||||
|
## 0.62.0
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#4154](https://github.com/ianstormtaylor/slate/pull/4154) [`7283c51f`](https://github.com/ianstormtaylor/slate/commit/7283c51feb83cb8522bc16efce09bb01c29400b9) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate-hyperscript",
|
"name": "slate-hyperscript",
|
||||||
"description": "A hyperscript helper for creating Slate documents.",
|
"description": "A hyperscript helper for creating Slate documents.",
|
||||||
"version": "0.61.3",
|
"version": "0.62.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"is-plain-object": "^3.0.0"
|
"is-plain-object": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"slate": "^0.61.3"
|
"slate": "^0.62.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"slate": ">=0.55.0"
|
"slate": ">=0.55.0"
|
||||||
|
107
packages/slate-react/CHANGELOG.md
Normal file
107
packages/slate-react/CHANGELOG.md
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
# slate-react
|
||||||
|
|
||||||
|
## 0.62.0
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Add directional awareness to `Editor.deleteFragment`.** This is an obscure change, but is a required distinction when implementing features that need to "fake delete" content (like Google Docs's suggestions). Previously deleting always collapsed to the end of a range, but now it can collapse forwards as well.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#4154](https://github.com/ianstormtaylor/slate/pull/4154) [`7283c51f`](https://github.com/ianstormtaylor/slate/commit/7283c51feb83cb8522bc16efce09bb01c29400b9) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
|
||||||
|
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#4150](https://github.com/ianstormtaylor/slate/pull/4150) [`bbd7d9c3`](https://github.com/ianstormtaylor/slate/commit/bbd7d9c33023add223ef9f1a33b657a468552caf) Thanks [@nivekithan](https://github.com/nivekithan)! - Added support for using the new `beforeInput` events in the latest Firefox.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed spellcheck disabling logic to always work in older versions of Firefox.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed browser-detection behavior to work with Deno.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`d5589279`](https://github.com/ianstormtaylor/slate/commit/d5589279e8792185c1082af720a73f55b16797dd) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Updated placeholder styles to allow for wrapping long placeholder text.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3698](https://github.com/ianstormtaylor/slate/pull/3698) [`bf83f333`](https://github.com/ianstormtaylor/slate/commit/bf83f333e689bc17b96504b497bb7fcdf6dc7fc1) Thanks [@pubuzhixing8](https://github.com/pubuzhixing8)! - Fixed selection updating with IME inputs in browsers that support `beforeinput`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3652](https://github.com/ianstormtaylor/slate/pull/3652) [`f3fb40cc`](https://github.com/ianstormtaylor/slate/commit/f3fb40cce044b73b6da13013f90bd7018f2f5d8a) Thanks [@Andarist](https://github.com/Andarist)! - Fixed selection logic when a controlled editor's nodes change out from under it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug where memoization logic would prevent placeholders from re-rendering properly.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3326](https://github.com/ianstormtaylor/slate/pull/3326) [`d5b2d7f5`](https://github.com/ianstormtaylor/slate/commit/d5b2d7f55e2982019b246fdea1e9eb845d0e2fc2) Thanks [@rockettomatooo](https://github.com/rockettomatooo)! - Added invariants when passing invalud `value` or `editor` props to `<Editable>`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed cursor movement in RTL text.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug in the conversion of DOM points to Slate points.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3746](https://github.com/ianstormtaylor/slate/pull/3746) [`f8be509e`](https://github.com/ianstormtaylor/slate/commit/f8be509e4d0b5c13bb791e0fd5702242319d114f) Thanks [@gztomas](https://github.com/gztomas)! - Fixed auto-scrolling behavior when a block is bigger than the viewport.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug that occurred when using Babel's `loose` mode.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed deleting void elements when using cut-and-paste.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug that crashed the editor when using IME input.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3396](https://github.com/ianstormtaylor/slate/pull/3396) [`469e6b26`](https://github.com/ianstormtaylor/slate/commit/469e6b26f50857ef0d68cdf5a54793f8fe9033fd) Thanks [@cvlmtg](https://github.com/cvlmtg)! - Fixed allowing the `onPaste` handler to be overridden in all browsers.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed internal decoration logic to be faster and require fewer re-renders.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3894](https://github.com/ianstormtaylor/slate/pull/3894) [`7fe41f15`](https://github.com/ianstormtaylor/slate/commit/7fe41f156614453479cb9ea649fe5665b616d3a7) Thanks [@msc117](https://github.com/msc117)! - Fixed an error that happened when selecting void nodes in a read-only editor.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed `move_node` operations to not always require a full re-render.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`d5589279`](https://github.com/ianstormtaylor/slate/commit/d5589279e8792185c1082af720a73f55b16797dd) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed normalization of DOM points to be more accurate when triple-clicking.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`d5589279`](https://github.com/ianstormtaylor/slate/commit/d5589279e8792185c1082af720a73f55b16797dd) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug that prevented `isFocused` from updating on certain focus changes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed IME input to not insert repeated characters.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#3749](https://github.com/ianstormtaylor/slate/pull/3749) [`0473d0bf`](https://github.com/ianstormtaylor/slate/commit/0473d0bf93808b0e4e98abe833b7f7f4f5aff3b1) Thanks [@davidruisinger](https://github.com/davidruisinger)! - Fixes Slate to work with the Shadow DOM.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed deleting by line to account for the line breaks in the browser.
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate-react",
|
"name": "slate-react",
|
||||||
"description": "Tools for building completely customizable richtext editors with React.",
|
"description": "Tools for building completely customizable richtext editors with React.",
|
||||||
"version": "0.61.3",
|
"version": "0.62.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@ -24,9 +24,9 @@
|
|||||||
"tiny-invariant": "1.0.6"
|
"tiny-invariant": "1.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"slate": "^0.61.3",
|
"slate": "^0.62.0",
|
||||||
"slate-history": "^0.61.3",
|
"slate-history": "^0.62.0",
|
||||||
"slate-hyperscript": "^0.61.3"
|
"slate-hyperscript": "^0.62.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": ">=16.8.0",
|
"react": ">=16.8.0",
|
||||||
|
39
packages/slate/CHANGELOG.md
Normal file
39
packages/slate/CHANGELOG.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# slate
|
||||||
|
|
||||||
|
## 0.62.0
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Updated `Text.equals` to deeply compare text node properties.** Previously it only did a shallow comparison, but this made it harder to keep track of more complex data structures at the text level.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [#4154](https://github.com/ianstormtaylor/slate/pull/4154) [`7283c51f`](https://github.com/ianstormtaylor/slate/commit/7283c51feb83cb8522bc16efce09bb01c29400b9) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Start using [🦋 Changesets](https://github.com/atlassian/changesets) to manage releases.** Going forward, whenever a pull request is made that fixes or adds functionality to Slate, it will need to be accompanied by a changset Markdown file describing the change. These files will be automatically used in the release process when bump the versions of Slate and compiling the changelog.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - **Added support for custom selection properties.** Previously you could set custom properties on the selection objects but it was not a fully supported feature because there was no way to delete them later. Now custom properties are officially supported and deleting them once set is possible.
|
||||||
|
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed `move_node` operations to normalize the node in question.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Added memoization logic to `Node.isNodeList` and `Editor.isEditor` to speed up common code paths.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug when merging deeply nested multi-child nodes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug when deleting a hanging range with a trailing void block node.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- [`c6002024`](https://github.com/ianstormtaylor/slate/commit/c60020244b9d25094edb0ffcca8b49dead9b31dc) Thanks [@ianstormtaylor](https://github.com/ianstormtaylor)! - Fixed a bug in `Editor.positions` which caused it to sometimes skip positions in text nodes that were segmented across inlines or marks.
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "slate",
|
"name": "slate",
|
||||||
"description": "A completely customizable framework for building rich text editors.",
|
"description": "A completely customizable framework for building rich text editors.",
|
||||||
"version": "0.61.3",
|
"version": "0.62.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user