1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-23 06:39:43 +01:00

759 Commits

Author SHA1 Message Date
ilovecommits
81d62e129d
Remove unused useEffect import (#4406)
It's imported, but not actually being used.
2021-08-04 22:02:14 -07:00
Dylan Schiemann
4d133e02fc
Fix broken plugins link in Editor documentation (#4335) 2021-08-04 21:59:10 -07:00
Chase Adams
5169cf5ddb
fix sentence order in doc (#4363) 2021-08-04 21:55:37 -07:00
pubuzhixing8
8860c91300
feat(docs): add another member for slate (#4393) 2021-08-04 21:54:06 -07:00
ilovecommits
f3b316e816
Fix display bug in GitBook (#4402)
It appears that GitBook doesn't support ```typescript jsx. See https://docs.slatejs.org/walkthroughs/01-installing-slate
2021-08-04 21:53:37 -07:00
Sunny Hirai
354b0092ee docs: Fix links in Span API docs 2021-07-26 23:40:17 -07:00
Sunny Hirai
06a376d727 docs: add Span to documentation 2021-07-26 23:37:14 -07:00
Sunny Hirai
106dd9cb37 docs: describe how empty element children normalization executes before all other normalizations 2021-07-19 17:52:53 -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
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
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
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
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