1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-24 15:19:50 +01:00

96 Commits

Author SHA1 Message Date
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
Sunny Hirai
73368a452f Add TypeScript Examples heading to TS documentation 2021-03-13 12:25:02 -08:00
Sunny Hirai
b5fc28d8ff Fix TS documentation mistake 2021-03-13 12:21:16 -08:00
Sunny Hirai
ec0d2d8e16 Improve documentation for TypeScript 2021-03-13 11:17:17 -08:00
Sunny Hirai
fc5d0e3a89 Fix TS documentation 2021-03-13 11:12:57 -08:00
Sunny Hirai
a72958e6c3
Improved Types (#4119)
* Experimental release to see if CustomTypes holds up through a publish

* Add experimental release script

* Fix lint

* v0.60.5-alpha.0

* Allow null properties in setNodes

* v0.60.6-alpha.0

* Revert null properties on Transforms.setNodes

* v0.60.7-alpha.0

* Update examples to use custom Element and Text with discriminated unions

* Add documentation for using TypeScript improvements

* Be explicit about typescript version in package.json

* Force lerna bootstrap to fix build issues on CI and fix a few type examples

* Add slate devDependencies with * back

* v0.60.7

* Switch to a non prerelease version to fix lerna not linking in root

* Add documentation for not using prerelease versions and on how to create experimental releases

* Try removing lerna bootstrap and see if it works
2021-03-11 11:48:31 -08:00
Jatin Shridhar
1e495a5cde
minor elaboration on decorations (#3747)
* minor elaboration on decorations

 highlights the difference with marks

* instead of pronoun use the word "Decorations"
2020-07-02 08:21:58 -07:00
wendellhu
c8a7883b2a
doc: fix parenthesis missing (#3754) 2020-07-02 08:21:20 -07:00
Jack Hanford
5ba551ad48
Update 10-normalizing.md (#3721)
Add `Transforms` to slate import so code runs when copy/pasted 😃
2020-06-04 18:36:30 -07:00
Kevin Simons
3c80c3e88b
Fix a few issues with the documentation (#3679)
* Fix a few issues with the documentation

* Add Kitemaker to the list of sites using Slate
2020-05-13 08:56:24 -07:00
CameronAckermanSEL
d82ffe49a5 Revert "Revert "TypeScript Improvement: Use [key: string]: unknown, not [key: string]: any (#3565)""
This reverts commit 81d2f9bb8f6a78590d7868deb289ec36fb208629.
2020-05-04 17:38:14 -07:00
CameronAckermanSEL
81d2f9bb8f Revert "TypeScript Improvement: Use [key: string]: unknown, not [key: string]: any (#3565)"
This reverts commit d8adf51add861c81b51e969de704d93a51a8990f.
2020-05-04 17:33:39 -07:00
Tim Buckley
d8adf51add
TypeScript Improvement: Use [key: string]: unknown, not [key: string]: any (#3566)
* Change all [key:string]:any -> unknown

Skipping slate-hyperscript, since it seems to be an appropriate use of key: any

* Minor typo fix docs/api/locations

* Check/assert unknown attributes when needed
2020-05-04 17:16:03 -04:00
Jolene Langlinais
970c2aac13
docs(concepts): include normalizing inline default behavior (#3637)
Signed-off-by: irmerk <jolenelanglinais@gmail.com>
2020-04-24 08:28:21 -07:00
Kirk Swenson
f6bfe034d7
Fix typos and other minor issues in docs (#3597)
Fixed typos and grammatical errors in the documentation
2020-04-10 09:05:03 -07:00
Charanjit Singh
f86f5ca065
Fix Typo (#3545)
Typo fix in documentation
2020-03-11 08:11:42 -07:00