Sunny Hirai
e79f238c76
Comment lintstagedrc properly so we know how and why it is there and the process for removing it in the future
2021-07-08 23:02:02 -07:00
Sunny Hirai
f4168e28d3
Match lintstagedrc to lint-staged in package.json
2021-07-08 22:59:12 -07:00
Sunny Hirai
c3c3670c8b
docs: Fix installing slate to pass prettier
2021-07-08 22:51:10 -07:00
Sunny Hirai
acfcd9aaf6
docs: Small change to 12-typescript.md to test linting
2021-07-08 22:47:01 -07:00
Sunny Hirai
e377c8f6d2
docs: Small change to test lint staging
2021-07-08 22:45:47 -07:00
Sunny Hirai
7ea482c3e3
docs: Improve wording on TypeScript docs
2021-07-08 20:05:32 -07:00
Coury Ditch
03eed53cf1
Fix typescript docs ( #4303 )
...
* Add docs on annotations for useState and initial editor value
* Typescript docs: Use initialValue
2021-07-08 19:50:13 -07:00
Sunny Hirai
03e8230196
docs: Improve documentation around Editor.before and Editor.after
2021-07-08 13:12:11 -07:00
Sunny Hirai
7d14bef63b
docs: Improve documentation for Editor.previous and Editor.next
2021-07-08 13:06:41 -07:00
Anish Aggarwal
19c9a8c86c
Added test for 'move-node' operation ( #4361 )
2021-07-07 09:25:21 -04:00
Sunny Hirai
51bfb40fad
Describe when we can remove lintstagedrc as a comment
2021-07-01 17:13:56 -07:00
Sunny Hirai
506d9bce53
Add syntax highlighting example to menu
2021-07-01 17:10:35 -07:00
github-actions[bot]
ea5e3e4ebf
Version Packages ( #4332 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.65.2
2021-06-09 12:04:11 -04:00
Szymon Wiszczuk
a3bc97af3e
Fix deletion of selected inline void nodes in Safari ( #4331 )
...
Co-authored-by: Claudéric Demers <clauderic.d@gmail.com>
2021-06-09 11:54:41 -04:00
github-actions[bot]
6c993523ca
Version Packages ( #4325 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.65.1
2021-06-09 11:07:27 -04:00
Jason Tamulonis
e042ebd4a2
Expose interface to setNormalizing ( #3859 )
2021-06-07 12:39:05 -07:00
Claudéric Demers
61171a2382
Fix backward typing bug in Safari by ensuring the selection is removed on blur ( #4324 )
...
Safari doesn't always remove the selection, even if the contenteditable element no longer has focus. In this scenario, we need to forcefully remove the selection on blur https://stackoverflow.com/questions/12353247/force-contenteditable-div-to-stop-accepting-input-after-it-loses-focus-under-web
2021-06-07 15:25:48 -04:00
Sunny Hirai
26f4b2521c
docs: Clarified that Editor.positions in reverse with a word changes the returned positions
2021-06-07 08:59:27 -07:00
Sunny Hirai
06121a3d82
docs: Fix typo
2021-06-06 22:57:30 -07:00
Sunny Hirai
c86d0b040b
docs: Improve styling and wording in Editor.positions
2021-06-06 22:52:20 -07:00
Sunny Hirai
1f08442ab2
docs: Add detailed description of how Editor.positions works
2021-06-06 22:42:32 -07:00
Sunny Hirai
1e6f60aa6d
docs: Try options syntax with defaults
2021-06-06 19:42:19 -07:00
Sunny Hirai
665b6c81ab
docs: Experiment with alternate Options syntax for documentation
2021-06-06 18:04:18 -07:00
Sunny Hirai
614260f771
docs: Experiment with using ts for showing API signature
2021-06-06 17:53:21 -07:00
Sunny Hirai
e2ae33043a
docs: Experiment with alternate options documentation format
2021-06-06 17:50:49 -07:00
Sunny Hirai
3baf1301bc
docs: Add docs for Text.isTextList
2021-06-06 17:33:02 -07:00
Sunny Hirai
3156bd0b94
docs: Describe Text.matches in detail and describe 'loose' option in Text.equals
2021-06-06 17:27:01 -07:00
Sunny Hirai
33083833fb
docs: Add API reference for NodeEntry
2021-06-06 13:01:31 -07:00
Sunny Hirai
d8dde5be3d
docs: Add PointEntry to API reference
2021-06-06 12:56:56 -07:00
Sunny Hirai
0c30c55355
docs: Add details for how the Range static methods work
2021-06-06 12:53:20 -07:00
Sunny Hirai
a451d3eed1
docs: Use TypeScript style method signatures for Range API
2021-06-06 12:47:17 -07:00
Sunny Hirai
198b82c97c
docs: Convert Point API to use TypeScript method signatures
2021-06-06 12:44:40 -07:00
Sunny Hirai
a0a976ff57
docs: Switch Location API to use TypeScript method signatures
2021-06-06 12:43:15 -07:00
Sunny Hirai
1a04970a56
docs: Convert Path API documentation to use TypeScript format for method signatures
2021-06-06 12:42:23 -07:00
Sunny Hirai
402b93ecc1
docs: Expand on Path.parent that it throws an Error if at the root
2021-06-06 12:40:05 -07:00
Sunny Hirai
68dba70090
docs: Add details to how the Path.relative method works
2021-06-06 12:36:23 -07:00
Sunny Hirai
cbe8e1a481
docs: Provide additional details for Path.next and Path.previous
2021-06-06 12:33:05 -07:00
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