1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-19 22:55:08 +01:00

3522 Commits

Author SHA1 Message Date
Sunny Hirai
c05d4c4e55 docs: Add detail to how the Editor.nodes method works 2021-06-06 12:28:48 -07:00
Sunny Hirai
8ba06cdfd0 docs: Fix duplicate Editor.nodes in documentation 2021-06-05 22:02:44 -07:00
Sunny Hirai
f283a708fd docs: Adjust docs to reflect that there is Android support 2021-06-01 16:57:10 -07:00
github-actions[bot]
dbf9962af1
Version Packages (#4273)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.65.0
2021-06-01 15:08:20 -04:00
Andrew Herron
411e5a193b
Don't import slate-history in slate-react (#4266) 2021-06-01 14:22:54 -04:00
Claudéric Demers
a7e3a18187
Fix deletion in Chrome when inline void node is selected (#4307) 2021-06-01 14:11:05 -04:00
georgberecz
2c17e2b7f9
Allow control of Slate's event handler execution in custom event handler API (#4299)
Co-authored-by: Georg Berecz <gberecz@palantir.com>
Co-authored-by: Claudéric Demers <clauderic.d@gmail.com>
2021-06-01 10:26:08 -04:00
Nicolas DUBIEN
dfc039601f
Fix warnings related to autoCorrect and autoCapitalize (#4295)
Related to https://github.com/ianstormtaylor/slate/issues/4248
2021-05-26 22:27:41 -04:00
Kelly Joseph Price
8db4573236
Fix contributing link (#4297) 2021-05-26 22:15:30 -04:00
Claudéric Demers
8f7bf7f020
Revert to using matrix for release workflow (#4294)
Setting max parallel number of jobs to 1. The `yarn changeset publish` command deletes files in the .changesets folder, so it's not safe to run two changeset steps in the same job.
2021-05-26 10:31:35 -04:00
Claudéric Demers
67f646098e
Tweak release workflow (#4291) 2021-05-26 09:39:13 -04:00
Claudéric Demers
c7ff274a68
Update release workflow to make sure latest job runs before dev (#4274) 2021-05-26 08:56:17 -04:00
Sunny Hirai
1ef84f4d48 docs: Fix marks definition in Editor interface 2021-05-26 00:20:39 -07:00
Sunny Hirai
5e4459ed17 docs: Fix spacing in Editor API interface code 2021-05-26 00:19:19 -07:00
Sunny Hirai
708372c745 docs: Add fat arrows to Text API 2021-05-26 00:16:24 -07:00
Sunny Hirai
c1496f4729 docs: Add fat arrows to Nodes API 2021-05-26 00:15:09 -07:00
Sunny Hirai
21a213e5a5 docs: Add return types to Editor schema specific overrides 2021-05-26 00:11:48 -07:00
Sunny Hirai
2fbcb335bb docs: change Editor static methods to use fat arrows in method names 2021-05-26 00:06:46 -07:00
Sunny Hirai
ced37b93c7 docs: Try changing function format to use fat arrow to see how it looks 2021-05-26 00:00:59 -07:00
Sunny Hirai
09944130b1 Add markdownlint to remove unnecessary warnings 2021-05-25 23:58:16 -07:00
Sunny Hirai
03746d9eed docs: Add generics to Editor API and add missing method 2021-05-25 23:52:03 -07:00
Sunny Hirai
b3784e451d docs: Try putting options in a list in Transforms API for better readability 2021-05-25 20:00:13 -07:00
Sunny Hirai
7e736c9138 docs: Remove puffery from docs 2021-05-25 19:06:09 -07:00
Sunny Hirai
0a7e04c487 docs: Add links about at and match options 2021-05-25 19:04:11 -07:00
Sunny Hirai
cf6145dc6e docs: minor grammatical fix 2021-05-25 18:52:36 -07:00
Sunny Hirai
65a1a9e281 docs: rename element configuration to behavior types 2021-05-25 18:50:27 -07:00
Sunny Hirai
a55c4a2e71 docs: organize Editor configuration into headings and subheading 2021-05-25 18:48:11 -07:00
Sunny Hirai
ffbb92f28a docs: Add descriptions and links to describe void/inline and void/not void elements in API 2021-05-25 18:44:12 -07:00
Sunny Hirai
29051c8fc0 Add documentation for options.split in Transforms.wrapNodes 2021-05-21 18:23:33 -07:00
Sunny Hirai
b5f3678a05 docs: clarify Range.includes method to mean intersects 2021-05-21 16:54:41 -07:00
Sunny Hirai
438722df87 Add links from concepts/editor to Editor API Reference 2021-05-20 23:54:42 -07:00
Sunny Hirai
53324cb7ca Adjust link references to be consistent with other by adding Robot emoji and blockquote 2021-05-20 23:50:18 -07:00
Sunny Hirai
76cfab15b4 Fix link target in concepts/nodes 2021-05-20 23:46:18 -07:00
Sunny Hirai
fcdcbc128d Fix link in concepts/nodes 2021-05-20 23:43:45 -07:00
Sunny Hirai
ecf26bf6cf Fix another link in concepts/transforms 2021-05-20 23:42:06 -07:00
Sunny Hirai
5dea3d2fc8 Another attempt to fix broken links using .md extension 2021-05-20 23:39:26 -07:00
Sunny Hirai
f12a9ed9b1 Attempt to fix broken links in GitBook to API Reference 2021-05-20 23:34:56 -07:00
Sunny Hirai
832597fe91 Add link to Selection Transforms API Reference in Transforms Concepts 2021-05-20 23:31:11 -07:00
Omer Gurarslan
ff267767f6
chore(slate-react) typo - rename extractMatch to exactMatch (#4271)
* Fix typo - rename extractMatch to exactMatch

* update changelog

* update changelog
2021-05-20 17:21:38 +01:00
Claudéric Demers
294d5120ae
Fix errors accessing globalThis in browsers that do not implement it (#4272) 2021-05-20 11:49:29 -04:00
Sunny Hirai
cb1db7fca9 Add getFragment to the API docs 2021-05-14 21:29:34 -07:00
github-actions[bot]
7632d4d0e5
Version Packages (#4259)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-14 15:35:42 -04:00
Claudéric Demers
4f0d1120d4
(Re)-Introduce Android support via a MutationObserver based reconciliation layer
* Revert "Temporarily revert Android commits in order to create a release of Slate focused solely on Android (#4256)"

This reverts commit 4f502119841d013ea2749e91f4bd1f793dc7f98e. 

* Updates to android composition manager

* Add user input tracking

It's necessary to only track mutations that result from user input. Some mutations that happen inside block or leaf nodes can happen outside of the render loop of the Editable component.
2021-05-14 15:25:52 -04:00
github-actions[bot]
39b0254867
Version Packages (#4243)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.63.0 slate-react@0.63.0
2021-05-12 21:29:31 -04:00
Claudéric Demers
4f50211984
Temporarily revert Android commits in order to create a release of Slate focused solely on Android (#4256)
* Revert "Add DefaultEditable and AndroidEditable to exports (#4255)"

This reverts commit 5298e51f6e8a7d62acb71092f7afd6565cbdc65e.

* Revert "Feature/android keyboard support (#4200)"

This reverts commit e03ce7c5614a1a69d039bfbeea94696376585fd0.
2021-05-12 21:24:57 -04:00
Sunny Hirai
5298e51f6e
Add DefaultEditable and AndroidEditable to exports (#4255) 2021-05-12 17:02:54 -07:00
Wayne Leroux
e03ce7c561
Feature/android keyboard support (#4200)
* Added Android Keyboard Support

* Added changeset for android keyboard support

* Removed dead code in android editable that supported non-android environments

* Removed unnecessary attributes observation for android-editable

* Removed dead code

* Added no-error boundary

* Fixed issues with linters
2021-05-12 16:30:39 -07:00
Rickert Mulder
351d0a1c36
Fix typo (#4252)
complience -> compliance
2021-05-13 07:08:09 +10:00
dependabot[bot]
d2e011d8fc
build(deps): bump lodash from 4.17.19 to 4.17.21 (#4251)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 06:51:54 +10:00
dependabot[bot]
2b7af0541b
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#4254)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 06:48:37 +10:00