1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 17:23:07 +01:00

3328 Commits

Author SHA1 Message Date
Ryan Mitts
0c2f52976a
Updating memoization checks on element, leaf, and text components. (#3437)
The element, text, and leaf components do not properly check the decorator list and make sure the properties in
addition to the anchor/focus are the same.

In addition, the renderLeaf function cannot be memoized because the leaf component does not compare the actual
text values within the leafs.
2021-03-31 15:18:49 -04:00
Ian Storm Taylor
4ca9591015 fix portals in ssr, fixes #3525 2021-03-31 15:14:54 -04:00
Ian Storm Taylor
a21b6739e3 update changsets changelog config 2021-03-31 15:07:23 -04:00
Silviu Bogan
b4641d1486
Small correction to docs concepts/06-editor.md (#4047) 2021-03-31 14:46:00 -04:00
Ian Storm Taylor
21943ff96a fix readme lint 2021-03-31 14:45:22 -04:00
dependabot[bot]
eb10ddf10b
Bump prismjs from 1.21.0 to 1.23.0 (#4106)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:41:58 -04:00
dependabot[bot]
f49d6a3c7f
Bump y18n from 4.0.0 to 4.0.1 (#4147)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:41:51 -04:00
Ryan Wu
639904ae02
Fixed example links (#3869)
replace .js with .tsx
2021-03-31 14:33:18 -04:00
Naresh Bhatia
b169211c64
docs: add react-force/slate-editor to the list of pre-packaged editors (#3876) 2021-03-31 14:32:48 -04:00
moonrailgun
2cf498e1a2
docs: add TRPG Engine link to products using slate (#3971) 2021-03-31 14:32:00 -04:00
Aleksei Semin
0666b712e3
Fix version links in README (#4028)
Current version links are broken, because they point to non-existing paths.
2021-03-31 14:31:10 -04:00
nivekithan
4a12c3dac4
docs : Update duplicated toSlatePoint to toSlateRange (#4105) 2021-03-31 14:28:44 -04:00
dependabot[bot]
0c7fcc3fc6
Bump elliptic from 6.5.3 to 6.5.4 (#4116)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:29 -04:00
dependabot[bot]
fd12f0aea2
Bump ini from 1.3.5 to 1.3.8 (#4155)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:17 -04:00
dependabot[bot]
195a878592
Bump next from 9.5.2 to 9.5.4 (#4002)
Bumps [next](https://github.com/vercel/next.js) from 9.5.2 to 9.5.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v9.5.2...v9.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 13:59:08 -04:00
Ian Storm Taylor
914e085be2 add github changelog to changesets 2021-03-31 13:56:28 -04:00
Ian Storm Taylor
7283c51feb
Add changesets (#4154)
* add first changesets integration

* remove readme

* readd readme

* update auto-release workflow logic

* update auto-release script order, fix prettier

* change access to public

* update release script

* try to fix changesets

* add experimental snapshot version config

* try fixing

* remove excess

* switch auto-release branch to master

* add release pull request workflow

* add changeset todo to pr template

* update changeset
2021-03-31 13:14:40 -04:00
Sunny Hirai
a8187e226e docs: Add clarity about browser support 2021-03-30 22:26:04 -07:00
Marius Butuc
9de9495095
[docs] Prune import that is never used (#4149)
* [docs] Prune import that is never used

In the Serializing docs, for the `serialize` function for HTML example,
we import `Node` but never use it in the scope of the example. Remove it
to eliminate the possibility for confusion.

* Remove duplicated white line from TypeScript docs
2021-03-30 22:08:37 -07:00
Sunny Hirai
2ca10c7f95
Use children (#4152)
* useChildren

* path fix

* Revert .github files

* Revert .github files to earlier version

Co-authored-by: Radim Malota <radim.malota@suitu.cz>
2021-03-30 21:52:46 -07:00
Sunny Hirai
7b6c986661 v0.61.3 v0.61.3 2021-03-30 16:32:04 -07:00
Sunny Hirai
4b92b752ef docs: Added TypeScript info to the Installing Slate walkthrough 2021-03-30 14:58:31 -07:00
Sunny Hirai
cd07f2f61b docs: Fix lint prettier issue 2021-03-30 14:51:04 -07:00
Sunny Hirai
f42b265c54 docs: Move a method in the wrong section in the Transforms API reference 2021-03-30 00:23:33 -07:00
Sunny Hirai
9f71c4b9ab docs: Fix broken anchor link in Point API reference 2021-03-30 00:12:14 -07:00
Sunny Hirai
ce64258552 docs: Fix anchor link in Location API reference 2021-03-30 00:11:19 -07:00
Sunny Hirai
b51fdbda4b docs: Fix anchor link in Element API reference 2021-03-30 00:10:18 -07:00
Sunny Hirai
28314d82fc docs: Update all reference docs to use a combined list for anchor links 2021-03-30 00:08:35 -07:00
Sunny Hirai
a02787539a docs: Combine anchor links into one nested list for easier visibility 2021-03-30 00:00:33 -07:00
Sunny Hirai
faba38f88e docs: Add sections to Editor documentation 2021-03-29 23:47:34 -07:00
Sunny Hirai
141656b443 docs: Add sections to Location docs for consistency 2021-03-29 23:41:55 -07:00
Sunny Hirai
861505ab65 docs: Add sections to Text documentation 2021-03-29 23:38:36 -07:00
Sunny Hirai
ba865015cf docs: Add anchor links to Element docs 2021-03-29 23:36:22 -07:00
Sunny Hirai
04da58d653 docs: Organize Element docs into sections 2021-03-29 23:35:08 -07:00
Sunny Hirai
f0bcc8be83 Rename Relationship methods section to Retrieval methods 2021-03-29 23:34:11 -07:00
Sunny Hirai
c85a2e0dea docs: Fix anchor link in Node again 2021-03-29 23:29:52 -07:00
Sunny Hirai
5334196229 docs: Fix anchor links in Node 2021-03-29 23:29:13 -07:00
Sunny Hirai
5cf31eb423 docs: Create a Text section in Node docs 2021-03-29 23:28:19 -07:00
Sunny Hirai
1f9bf19e3b docs: Organize the Range docs into sections by type 2021-03-29 23:26:24 -07:00
Sunny Hirai
cffbdb1afd docs: Organize the Point docs into sections by type 2021-03-29 23:23:18 -07:00
Sunny Hirai
59343b2633 docs: Organize the path docs into sections by type 2021-03-29 23:21:54 -07:00
Sunny Hirai
928d342bb9 docs: Organize the node docs into sections by type 2021-03-29 23:14:12 -07:00
Sunny Hirai
3c61c3d8ae docs: Added TypeScript instructions in Changelog 2021-03-29 23:07:27 -07:00
Ian Storm Taylor
44557f3c84 remove auto-release action trigger 2021-03-30 01:42:11 -04:00
Ian Storm Taylor
4a59821432 re-add changelog 2021-03-30 01:41:55 -04:00
Ian Storm Taylor
476f1e195c delete extra changelog cruft 2021-03-30 01:41:42 -04:00
Sunny Hirai
4425a783fc docs: Improve wording on TypeScript docs and emphasized the warning 2021-03-29 18:07:45 -07:00
Sunny Hirai
c168ac6e7b Merge branch 'master' of github.com:ianstormtaylor/slate 2021-03-29 18:05:17 -07:00
Sunny Hirai
e81acf5841 docs: TypeScript is now a latest release so removed mention of installing @next release in TypeScript docs 2021-03-29 18:05:07 -07:00
Automation
5fa8fb3471 v0.61.2 v0.61.2 2021-03-30 01:03:00 +00:00