1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-16 01:42:04 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Julian Benegas
16a9292aaf only preventDefault if the input is actually a format action (#5113) 2022-09-09 20:15:34 -07:00
Eric Meier
9892cf0ffb Make onChange prop optional, update examples and docs to treat slate as uncontrolled (#4922)
* Make onChange prop optional, update examples and docs to treat slate as uncontrolled

* Add changeset
2022-04-03 08:52:32 -07:00
Jan Paepke
53f47b01d1 EXAMPLES: fix focus bug for hovering toolbar example (#4866)
* fix focus bug for hovering toolbar example

* added test
2022-03-06 21:43:58 -07:00
Dylan Schiemann
ce1e096df7 update emotion dependency for site (#4783) 2022-01-11 08:36:04 -07:00
Dylan Schiemann
f1607da4ad Revert "in examples, move withReact in front of withHistory (#4604)" (#4607)
This reverts commit 9cf2f4eea2.
2021-10-17 06:31:33 -07:00
Jake Donham
9cf2f4eea2 in examples, move withReact in front of withHistory (#4604) 2021-10-15 16:01:22 -07:00
Thomas
531707e746 Clean up imports (#4319) 2021-08-04 21:56:45 -07:00
case
6a6d9f614d Fix Underline <FormatButton /> in Hovering Toolbar Example (#4128)
* Fix Underline <FormatButton /> in `Hovering Toolbar Example`

* Update hovering-toolbar.tsx

Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
2021-04-13 10:57:39 -04:00
Sunny Hirai
c803e5ffd0 Switch initialValue type in examples to Descendant 2021-03-29 09:49:44 -07:00
Sunny Hirai
b88149c2f9 Remove unused imports from all examples 2021-03-29 09:37:24 -07:00
Sunny Hirai
a72958e6c3 Improved Types (#4119)
* Experimental release to see if CustomTypes holds up through a publish

* Add experimental release script

* Fix lint

* v0.60.5-alpha.0

* Allow null properties in setNodes

* v0.60.6-alpha.0

* Revert null properties on Transforms.setNodes

* v0.60.7-alpha.0

* Update examples to use custom Element and Text with discriminated unions

* Add documentation for using TypeScript improvements

* Be explicit about typescript version in package.json

* Force lerna bootstrap to fix build issues on CI and fix a few type examples

* Add slate devDependencies with * back

* v0.60.7

* Switch to a non prerelease version to fix lerna not linking in root

* Add documentation for not using prerelease versions and on how to create experimental releases

* Try removing lerna bootstrap and see if it works
2021-03-11 11:48:31 -08:00
Wendell Hu
912d4b79da docs: convert examples to typescript (#3766)
* docs: convert examples to typescript

* docs: convert remaining examples

* docs: update next.js

* ci: fix lint

* docs: fix next.js path

* docs: cleanup

* update

Co-authored-by: wendellhu <wendellhu@tencent.com>
2020-08-19 09:14:51 -07:00