1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-09 00:36:41 +02:00
Commit Graph

4195 Commits

Author SHA1 Message Date
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
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