1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-15 11:44:05 +02:00
Commit Graph

143 Commits

Author SHA1 Message Date
github-actions[bot]
8eeeecc238 Version Packages (#5925)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-30 13:18:53 -07:00
github-actions[bot]
06b8822b9f Version Packages (#5898)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-11 13:37:41 -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
github-actions[bot]
bcbc64d944 Version Packages (#5896)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-10 15:27:44 -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
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
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]
ee2cea9ea1 Version Packages (#5851)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-29 08:37:35 -07:00
github-actions[bot]
1e9785a173 Version Packages (#5845)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 12:54:24 -07:00
github-actions[bot]
a25fbc3503 Version Packages (#5832)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 11:38:51 -07:00
Eder is a nobody
701d5f320f fix: add try/finally block in withoutSaving method to ensure state restoration (#5837)
Co-authored-by: ederjiang <eder@57blocks.com>
2025-04-15 11:28:03 -07:00
Guan-Erjia
4aa16bb8b7 fix/unit-test in slate-history(https://github.com/ianstormtaylor/slate/issues/5825) (#5841) 2025-04-15 11:27:49 -07:00
github-actions[bot]
dbd0a3efec Version Packages (#5767)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 13:24:38 -07:00
github-actions[bot]
f9ebbb8808 Version Packages (#5744)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-24 06:21:28 -07:00
Ziad Beyens
0e1e4b4dbf History: withNewBatch (#5747)
* feat

* Create gold-cheetahs-rest.md

* refactor

* fix
2024-10-21 04:55:54 -07:00
github-actions[bot]
f2e2117bdb Version Packages (#5719)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 22:10:39 -07:00
github-actions[bot]
e09ed7bf3e Version Packages (#5699)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-22 22:43:00 -07:00
Felix Feng
e5fed793e7 Add withMerging (#5696) 2024-08-20 16:01:23 -07:00
github-actions[bot]
b48f1d64d6 Version Packages (#5626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-21 13:19:27 -07:00
github-actions[bot]
b04b7e0e98 Version Packages (#5602)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 05:06:40 -07:00
github-actions[bot]
03125312fb Version Packages (#5565)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-22 06:26:57 -07:00
github-actions[bot]
a5f03871fe Version Packages (#5529)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-20 09:00:54 -07:00
Dylan Schiemann
c4c14882ed Update dependencies to React 18, Node 20, TS 5.2, etc. (#5528)
* incremental upgrade to React 18, TS 4.9, etc.

* update yarn config

* fix build

* minor cleanup in type definitions

* incremental updates for TS 5.0

* fix build

* upgrade to typescript 5.2

* update dependencies

* fix lint issues

* update to latest Playwright version

* update changesets dep

* update emotion/css

* incremental dependency updates

* more small dependency updates

* upgrade prettier and eslint

* fix lint issues

* update dependencies rollup

* fix @types/node resolution to restore linting

* update tiny-invariant dependency

* update dependencies

* update dependencies lerna

* upgrade react-router-dom

* update @types/react and @types/node

* update babel dependencies

* udpate simple-git-hooks

* update @types/node resolution

* update lint-staged

* remove cypress from dependency list

* update @types/node to support Node 20

* update workflows to Node 20

* set resolutions for @types/react

* downgrade @types/react to 18.2.28

* update mocha

* update rimraf

* update @types/js-dom

* remove .lintstagedrc.js

* upgrade next to latest

* v0.61.4

* update lerna

* update faker and rollup

* update immer

* fix yarn clean command

* attempt to fix integration tests

* attempt to stabilize integration tests

* wip fix integration tests

* skip unstable integration test

* Add changeset

---------

Co-authored-by: Dalibor Tosic <dalibortosic00@gmail.com>
Co-authored-by: Nikola <nikolabijelic14@gmail.com>
2023-10-20 08:34:24 -07:00
github-actions[bot]
33a1e9b923 Version Packages (#5397)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-20 05:30:24 -07:00
github-actions[bot]
07b049f59b Version Packages (#5373)
* Version Packages

* Update changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2023-04-03 16:51:02 -07:00
Rein Van Imschoot
42b60fb0eb Extracts history push to own function (#5382) 2023-04-03 11:18:17 -07:00
Joe Anderson
b52e08b0ea Add support for read-only and non-selectable elements (#5374)
* Add `isElementReadOnly`

fix delete while selected

fix type while selected

fix failing test

add tests

add e2e test

linter fixes

add changeset

* fix yarn build:next

* Add `isSelectable`
2023-04-03 11:02:26 -07:00
github-actions[bot]
be564cef2b Version Packages (#5299)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-18 18:47:29 -07:00
github-actions[bot]
9de2e2c316 Version Packages (#5279)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-01 04:44:35 -07:00
github-actions[bot]
f2fb5aac5d Version Packages (#5238)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-22 04:37:32 -07:00
github-actions[bot]
a4cc213087 Version Packages (#5210)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-04 15:52:04 -07:00
github-actions[bot]
a24ddd12cd Version Packages (#5198)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-17 10:59:49 -07:00
Jacob Carpenter
70b64dc8f1 Update isHistory to match new interface. (#5197)
* Update `isHistory` to match new interface.

This change merely preserves the original functionality and does not add verification of Batch's new `selectionBefore` property.

* Add changeset.
2022-11-17 09:21:37 -07:00
github-actions[bot]
6efe3d9a22 Version Packages (#5162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08 10:36:36 -07:00
Bryan Haakman
d73026eed2 Change how slate-history handles selection undo (#4717)
* Change how slate-history handles selection undo

* fix test

* fix lint

* cleanup and simplify

* Fix redo by applying undo beforeSelection before applying the redo

* remove unused shouldClear function

* fix lint

* add changeset
2022-10-23 14:02:05 -07:00
github-actions[bot]
2adda79e65 Version Packages (#5159)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-19 21:36:54 -07:00
github-actions[bot]
1d5984cccd Version Packages (#5058)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-29 04:08:20 -07:00
github-actions[bot]
f55026f0ba Version Packages (#5049)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-22 16:37:11 -07:00
Bryan Haakman
11a93e65de Upgrade next.js to 12 and related packages (#5042)
* Upgrade next.js and source-map-loader

* Add changeset

* Upgrade eslint and typescript

* improve reliability of iframe test

* fix lint
2022-07-15 06:14:18 -07:00
github-actions[bot]
1c5639fdd6 Version Packages (#5009)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-03 04:16:55 -07:00
github-actions[bot]
25be3b7031 Version Packages (#4985)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 17:00:21 -07:00
github-actions[bot]
d8da50f761 Version Packages (#4977)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-26 12:26:14 -07:00
github-actions[bot]
5160efeea4 Version Packages (#4935)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13 11:14:29 -07:00
github-actions[bot]
ce63a08c8e Version Packages (#4898)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 01:03:44 +00:00
github-actions[bot]
1433499e98 Version Packages (#4890)
* Version Packages

* Update packages/slate/CHANGELOG.md

* Update packages/slate/CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2022-03-14 22:36:10 -07:00
github-actions[bot]
442d263672 Version Packages (#4843)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-23 13:16:57 -07:00
github-actions[bot]
dc2999a1aa Version Packages (#4713)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-07 06:57:26 -07:00
github-actions[bot]
fece5c1570 Version Packages (#4683)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-23 03:17:06 -07:00
github-actions[bot]
9874ed704f Version Packages (#4637)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-07 07:09:15 -07:00