1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-29 09:32:27 +01:00

111 Commits

Author SHA1 Message Date
Chase Adams
5169cf5ddb
fix sentence order in doc (#4363) 2021-08-04 21:55:37 -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
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
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
Rickert Mulder
351d0a1c36
Fix typo (#4252)
complience -> compliance
2021-05-13 07:08:09 +10:00
Michal Srb
bcb7c4e4c5
Fix range API link (#4194) 2021-04-13 09:56:59 -04:00
Ian Storm Taylor
68e39215bb
Update 04-transforms.md 2021-04-12 14:14:31 -04:00
Ian Storm Taylor
9613d832e5 update docs 2021-04-07 18:16:45 -04:00
Ian Storm Taylor
41aa2754ee update docs 2021-04-07 18:16:24 -04:00
Ian Storm Taylor
4b3dc18f73 update docs 2021-04-07 18:15:03 -04:00
Ian Storm Taylor
787a79fede update docs 2021-04-07 18:13:33 -04:00
Ian Storm Taylor
f183bde599
add transforms concept docs (#4179) 2021-04-07 18:03:57 -04:00
Sunny Hirai
5635f9011d docs: Fix link to Range reference 2021-04-06 21:49:26 -07:00
Sunny Hirai
4bfd21534a docs: Fix link in Nodes to be a relative link so it doesn't open a new tab 2021-04-06 21:47:36 -07:00
Sunny Hirai
0b0328b2d0 docs: Improve wording on TypeScript migrating 2021-04-01 20:11:51 -07:00
Sunny Hirai
b16051e00b docs: Improve formatting on the TypeScript migration instructions 2021-04-01 18:21:13 -07:00
Sunny Hirai
6e64c85b77 docs: Added migrating gotchas to typescript documentation 2021-04-01 18:18:42 -07:00
Sunny Hirai
a47c35cd95 merge 2021-04-01 18:13:48 -07:00
Sunny Hirai
8b44646fa7 docs: Minor change to try and make gitbook update 2021-04-01 18:12:33 -07:00
Ian Storm Taylor
a38957b849
GitBook: [main] 58 pages and 7 assets modified 2021-04-01 23:20:52 +00:00
Sunny Hirai
15966086d4 docs: Small wording change 2021-04-01 13:47:13 -07:00
Sunny Hirai
57174a318e docs: Add documentation to help with TypeScript migration 2021-04-01 13:39:50 -07:00
Stefan Kupresak
0f8b5cfa2e
Update 09-serializing.md (#4159)
This is a typo in the docs. You can't have `children` be a `const` because inside the `if` block you change it. It needs to be defined as let, or else it doesn't work.
2021-04-01 12:45:24 -04:00
Ian Storm Taylor
df23ed7aa7 port update to serialization pr to master 2021-03-31 22:00:33 -04:00
Silviu Bogan
b4641d1486
Small correction to docs concepts/06-editor.md (#4047) 2021-03-31 14:46:00 -04: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
cd07f2f61b docs: Fix lint prettier issue 2021-03-30 14:51:04 -07:00
Sunny Hirai
4425a783fc docs: Improve wording on TypeScript docs and emphasized the warning 2021-03-29 18:07:45 -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
Sunny Hirai
cae919e3c2 Fixed last failing lint:prettier in serializing docs 2021-03-29 01:43:41 -07:00
Sunny Hirai
2829823727 Mark html code block properly in serializing documentation 2021-03-29 01:26:53 -07:00
Sunny Hirai
2a8ba9c39b Add installing important plugins to TypeScript docs 2021-03-26 22:53:07 -07:00
Niko Kovačič
bc05f65831
Add empty text if children are empty (#3889)
If line 170 is not added issues like https://github.com/ianstormtaylor/slate/issues/3625 start surfacing. 
Because the deserialize example is mostly directly copy-pasted into projects, the added line would save many head-scratching down the lane.
2021-03-24 22:42:54 -07:00
Sunny Hirai
c52dcd330b Make editor.marks documentation more succinct 2021-03-22 00:07:24 -07:00
Sunny Hirai
f23227b325 Improve documentation for editor.marks 2021-03-22 00:02:16 -07:00
Sunny Hirai
4389fdd268 Update TypeScript documentation to add Custom Editor 2021-03-20 20:58:27 -07:00
Sunny Hirai
1940317d6a Update documentation for TypeScript availability in @next release only 2021-03-19 16:42:00 -07:00
Sunny Hirai
b0f35f6dbe Fix documentation 2021-03-13 19:37:09 -08:00
Sunny Hirai
1375ba7a40 Adjust CustomText in documentation 2021-03-13 18:44:14 -08:00
Sunny Hirai
03e774bed8 add import Descendant in TS docs 2021-03-13 12:27:59 -08:00