github-actions[bot]
dbfd63b630
Version Packages
2025-08-15 14:27:34 +00:00
Joe Anderson
f1fb3cc19b
Add notice about Slate CRM ( #5933 )
2025-08-15 07:24:53 -07:00
Joe Anderson
7fdf77a56f
Attempt to fix CI ( #5934 )
2025-08-13 14:53:31 -07:00
Joe Anderson
fdaa9c8088
Fix handling of editor.isSelectable
in Editor.positions
( #5929 )
...
* Fix handling of `editor.isSelectable` in `Editor.positions`
* Clean-up
2025-08-13 14:28:16 -07:00
Joe Anderson
cf10119ad8
Generic return type for Node.fragment
( #5926 )
2025-08-13 14:27:19 -07:00
github-actions[bot]
8eeeecc238
Version Packages ( #5925 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate@0.118.0
2025-07-30 13:18:53 -07:00
Joe Anderson
ba33735a8c
When removing the node containing the cursor, always prefer placing the cursor in a sibling text node ( #5923 )
...
* Add tests describing the selection after the current node is removed
* Always prefer placing the cursor in a sibling text node after removal
* Add changeset
2025-07-25 23:44:08 -07:00
github-actions[bot]
7657838d4e
Version Packages ( #5917 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-dom@0.117.4
slate-react@0.117.4
2025-07-12 15:30:06 -07:00
Joe Anderson
e029a87aba
Add changeset for https://github.com/ianstormtaylor/slate/pull/5913 ( #5919 )
2025-07-12 15:27:22 -07:00
LLwill
5fdd83e2ff
fix: Determine the higher version of WeChat browser for Windows ( #5913 )
...
* fix: Determine the higher version of WeChat browser for Windows
* fix: judgment logic optimization
2025-07-10 16:31:39 -07:00
Raffael
f2ea1e1e3a
Check if editor is still mounted before trying to focus ( #5916 )
...
* Check if editor is still mounted before trying to focus
* Add changeset
---------
Co-authored-by: Raffael Wannenmacher <raffael.wannenmacher@tx.group >
2025-07-10 16:31:24 -07:00
Joe Anderson
ef76eb46e0
Export defaultScrollSelectionIntoView
( #5914 )
2025-07-10 16:30:46 -07:00
github-actions[bot]
0265b7cbcc
Version Packages ( #5911 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-react@0.117.3
2025-06-27 16:31:36 -07:00
Bartosz Legięć
5a20ea3ad8
Fix Android cursor jumping to word start after autocorrect ( #5901 )
...
* Enhance Android input manager to store current selection before applying diffs and ensure correct selection position post-update.
* Add autocorrect test case to Android input examples
This update introduces a new test case for autocorrect functionality in both JavaScript and TypeScript examples. The test case instructs users to type "Cant" and verify the cursor position after autocorrection.
* Add changeset
* Remove unnecessary comments
* Drop pending selection change on programatic text insert
2025-06-26 11:49:17 -07:00
github-actions[bot]
aa27c2dfaf
Version Packages ( #5906 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-react@0.117.2
slate@0.117.2
2025-06-25 08:52:37 -07:00
nabbydude
06b21fdca3
Fix android linebreak deletion bug ( #5908 )
...
* removed unnecessary edge case deletion logic on android
* woops looks like that edge case was necessary after all. readding it with extra logic to handle forward deletion
* changeset and lint
2025-06-25 08:45:32 -07:00
Joe Anderson
94fb04a42c
Fix: editor.selection
is sometimes replaced with a new object even if the selection did not change ( #5899 )
...
* Fix: `editor.selection` replaced despite being unchanged
* Document earlier breaking change
2025-06-16 12:25:44 -07:00
github-actions[bot]
f2fa279231
Version Packages ( #5903 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-react@0.117.1
2025-06-13 07:04:24 -07:00
Ziad Beyens
47da9bf455
Fix autoscroll to top on line break ( #5902 )
...
* fix
* fix
2025-06-13 06:30:12 -07:00
github-actions[bot]
06b8822b9f
Version Packages ( #5898 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate@0.117.0
2025-06-11 13:37:41 -07:00
Felix Feng
c56a98fd65
skip nonselectable nodes when move ( #5885 )
...
* skip nonselectable nodes when move
* fix
* docs
* remove ignoreNonSelectable
* docs
* revert
2025-06-10 15:37:56 -07:00
Guan-Erjia
86e1411235
fix: Closing skip logic for some unit tests in slate history section ( #5872 )
2025-06-10 15:37:28 -07:00
Blaine Olin
9862ae71bf
Fix backspace for more grapheme clusters ( #5890 )
...
* Fix backspace for more grapheme clusters (#5887 )
This fix is specifically for the following languages:
- Burmese
- Hindi
- Khmer
- Malayalam
- Oriya
- Punjabi
- Tamil
- Telugu
* Clean up code formatting around fixing backspace with grapheme clusters
* Add changeset for backspace fix for additional grapheme clusters
* Improve code formatting to align with prettier code style
2025-06-10 15:27:58 -07:00
github-actions[bot]
bcbc64d944
Version Packages ( #5896 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-dom@0.116.0
slate-react@0.116.0
slate@0.116.0
2025-06-10 15:27:44 -07:00
Joe Anderson
fb87646e86
Experimental chunking optimisation and other performance improvements ( #5871 )
...
* Chunking optimization
* Fix comments
* Remove redundant `insertionsMinusRemovals` variable
* Fix typo
* Unblock Netlify builds
* Add placeholder
* Upgrade Playwright (fixes crash when debugging)
* Fix `autoFocus` not working
* Fix huge document test
* Fix the previous issue without changing `useSlateSelector`
* Retry `test:integration`
* Re-implement `useSlateWithV`
* Retry `test:integration`
* Update docs
* Update JS examples to match TS examples
* Upload Playwright's `test-results` directory in CI to access traces
* Change trace mode to `retain-on-first-failure`
* Fix: `Locator.fill(text)` is flaky on Editable
* Add changesets
* Increase minimum `slate-dom` version
* Update changeset
* Update 09-performance.md
* Deprecate the `useSlateWithV` hook
* Fix errors and improve clarity in 09-performance.md
* Minimum `slate-dom` version is now 0.116
* Update `yarn.lock`
2025-06-06 16:42:11 -07:00
github-actions[bot]
583d28fe13
Version Packages ( #5888 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate@0.115.1
2025-06-03 07:46:07 -07:00
github-actions[bot]
9cce07b23f
Version Packages ( #5860 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 07:44:35 -07:00
Joe Anderson
293aca9c7a
Fix backspace for Bengali grapheme clusters ( #5887 )
2025-06-02 07:43:28 -07:00
Joe Anderson
8f8b957ba6
Reintroduce manual Android tests ( #5884 )
...
* Re-add manual Android tests
* Remove trailing slash
* Disable autofocus
2025-05-27 14:44:02 -07:00
nabbydude
de260565c7
Optimize editor#above and allow passing a location that doesnt exist as long as its parent exists ( #5880 )
...
* optimize editor#apply and allow potential paths as input
* fix Editor#above regression for cross-node ranges
* add test to prevent regressions
* add changeset
* improve comment
* factor out for-loop that will never actually loop
* aw crud I didnt lint. fixing
2025-05-24 16:34:18 -07:00
Joe Anderson
05263b544c
Fix Firefox IME bug caused by placeholder ( #5881 )
2025-05-24 13:56:18 -07:00
Joe Anderson
896bc9c7c7
Fix pasting exactly two blocks ( #5875 )
...
* Refactor `insertFragment` without altering behaviour
* Fix inserting a fragment containing exactly two blocks
* Fix and unskip insertFragment list test
2025-05-24 13:54:44 -07:00
Joe Anderson
747ebfda0a
Fix IME crash on iOS, but break capitalisation on iOS ( #5877 )
...
* Revert "Make capitalizing work for iOS (#5654 )"
This reverts commit 2a8b4e958b
.
* Add changeset
* Reference the older issue in comment
2025-05-24 13:53:27 -07:00
Alex
11b957a441
Add way to prevent data loss in normalizeNode
( #5878 )
...
* fix(docs): Consider passed options when overriding normalizeNode
* feat: Allow to prevent data-loss on normalizeNode
When overriding normalizeNode, you can specify a `wrapperElement`
that is used to wrap text & inline nodes which would otherwise be
deleted in the normalization path if they are not allowed.
* changeset
2025-05-24 13:53:02 -07:00
Joe Anderson
ffe3f8c129
Fix Netlify builds for PRs ( #5876 )
...
* Set CPU limit for Next build
* It looks like it worked, re-running to be sure
* That worked too, one more time...
* Revert "Set CPU limit for Next build" to make sure this is the fix
This reverts commit d8274996f0
.
* Un-revert "Set CPU limit for Next build"
This reverts commit d7e06c8ad8
.
2025-05-24 13:51:00 -07:00
nabbydude
7f5f9e1c62
Fix certain undos undoing more than they should ( #5866 )
...
* prevent false positives for history batch merging
* add changeset
2025-05-14 12:01:55 -07:00
Joe Anderson
98b115b7e1
Increase minimum slate
version to 0.114.3 ( #5862 )
2025-05-14 07:20:56 -07:00
Guan-Erjia
9e4b0a3faa
feat(docs): add another member for slate ( #5838 ) ( #5865 )
2025-05-14 07:19:13 -07:00
Joe Anderson
72532fd2d7
Optimize isText
, isElement
, isNodeList
and isEditor
( #5859 )
...
* Remove the `isPlainObject` check from `isText` and `isElement` for performance
* Optimise `isElement`, `isNodeList` and `isText` further
* Update changeset
* Fix changeset
* Refactor object check into `isObject`
2025-05-05 08:31:56 -07:00
github-actions[bot]
d39bead80a
Version Packages ( #5857 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-react@0.114.2
2025-04-30 18:24:36 -07:00
github-actions[bot]
b001c68b10
Version Packages ( #5856 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-30 12:41:43 -07:00
Ziad Beyens
ec367fb04f
Missing renderText
( #5855 )
...
* fix
* fix
2025-04-30 08:41:04 -07:00
Joe Anderson
9fe6184ca2
Increase slate-react
's minimum slate
version to 0.114.0 ( #5853 )
2025-04-30 08:40:53 -07:00
github-actions[bot]
ee2cea9ea1
Version Packages ( #5851 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-dom@0.114.0
slate-react@0.114.0
slate@0.114.0
2025-04-29 08:37:35 -07:00
Ziad Beyens
22a3dda36d
Add renderText
and leafPosition
( #5850 )
...
* feat
* revert
* revert
* docs
* test
* refactor
* test
* revert
* refactor
* doc
* docs
* refactor
* docs
* test
* docs
* docs
* docs
* refactor
2025-04-29 07:30:57 -07:00
Damjan Polugic
2c62e01797
Use equalityFn in useSlateSelector during render ( #5848 )
2025-04-29 07:30:41 -07:00
Joe Anderson
0fde537b52
Add changeset for https://github.com/ianstormtaylor/slate/pull/5827 ( #5849 )
2025-04-29 07:23:57 -07:00
github-actions[bot]
1e9785a173
Version Packages ( #5845 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
slate-history@0.113.1
2025-04-15 12:54:24 -07:00
Dylan Schiemann
97e895b552
Update release.yml
2025-04-15 12:40:11 -07:00
Dylan Schiemann
8aaca4fe04
Update comment.yml
2025-04-15 12:39:41 -07:00