Sunny Hirai
57174a318e
docs: Add documentation to help with TypeScript migration
2021-04-01 13:39:50 -07:00
Ian Storm Taylor
4eec49de16
rename master to main
2021-04-01 13:40:25 -04: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
Kiko Estrada
b57422b0e6
Docs: Optimize image sizes ( #4045 )
...
* [ImgBot] Optimize images
*Total -- 753.66kb -> 550.59kb (26.94%)
/docs/images/glossary/anchor-point.gif -- 193.91kb -> 31.38kb (83.82%)
/docs/images/logo.png -- 2.95kb -> 2.50kb (15.31%)
/docs/images/icon.png -- 1.04kb -> 0.91kb (12.7%)
/docs/images/banner.png -- 3.95kb -> 3.48kb (11.76%)
/docs/images/jsfiddle.png -- 139.22kb -> 124.94kb (10.25%)
/docs/images/slack.png -- 251.73kb -> 232.76kb (7.53%)
/docs/images/preview.png -- 72.85kb -> 69.25kb (4.95%)
/docs/images/glossary/focus-point.gif -- 27.86kb -> 26.82kb (3.74%)
/docs/images/glossary/collapsed.gif -- 60.15kb -> 58.54kb (2.67%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
* Docs: Fix example code links
Replaced old .js links with current .tsx format
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-03-31 18:01:10 -04:00
Silviu Bogan
b4641d1486
Small correction to docs concepts/06-editor.md ( #4047 )
2021-03-31 14:46:00 -04:00
Naresh Bhatia
b169211c64
docs: add react-force/slate-editor to the list of pre-packaged editors ( #3876 )
2021-03-31 14:32:48 -04:00
moonrailgun
2cf498e1a2
docs: add TRPG Engine link to products using slate ( #3971 )
2021-03-31 14:32:00 -04:00
nivekithan
4a12c3dac4
docs : Update duplicated toSlatePoint to toSlateRange ( #4105 )
2021-03-31 14:28:44 -04:00
Sunny Hirai
a8187e226e
docs: Add clarity about browser support
2021-03-30 22:26:04 -07: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
4b92b752ef
docs: Added TypeScript info to the Installing Slate walkthrough
2021-03-30 14:58:31 -07:00
Sunny Hirai
cd07f2f61b
docs: Fix lint prettier issue
2021-03-30 14:51:04 -07:00
Sunny Hirai
f42b265c54
docs: Move a method in the wrong section in the Transforms API reference
2021-03-30 00:23:33 -07:00
Sunny Hirai
9f71c4b9ab
docs: Fix broken anchor link in Point API reference
2021-03-30 00:12:14 -07:00
Sunny Hirai
ce64258552
docs: Fix anchor link in Location API reference
2021-03-30 00:11:19 -07:00
Sunny Hirai
b51fdbda4b
docs: Fix anchor link in Element API reference
2021-03-30 00:10:18 -07:00
Sunny Hirai
28314d82fc
docs: Update all reference docs to use a combined list for anchor links
2021-03-30 00:08:35 -07:00
Sunny Hirai
a02787539a
docs: Combine anchor links into one nested list for easier visibility
2021-03-30 00:00:33 -07:00
Sunny Hirai
faba38f88e
docs: Add sections to Editor documentation
2021-03-29 23:47:34 -07:00
Sunny Hirai
141656b443
docs: Add sections to Location docs for consistency
2021-03-29 23:41:55 -07:00
Sunny Hirai
861505ab65
docs: Add sections to Text documentation
2021-03-29 23:38:36 -07:00
Sunny Hirai
ba865015cf
docs: Add anchor links to Element docs
2021-03-29 23:36:22 -07:00
Sunny Hirai
04da58d653
docs: Organize Element docs into sections
2021-03-29 23:35:08 -07:00
Sunny Hirai
f0bcc8be83
Rename Relationship methods section to Retrieval methods
2021-03-29 23:34:11 -07:00
Sunny Hirai
c85a2e0dea
docs: Fix anchor link in Node again
2021-03-29 23:29:52 -07:00
Sunny Hirai
5334196229
docs: Fix anchor links in Node
2021-03-29 23:29:13 -07:00
Sunny Hirai
5cf31eb423
docs: Create a Text section in Node docs
2021-03-29 23:28:19 -07:00
Sunny Hirai
1f9bf19e3b
docs: Organize the Range docs into sections by type
2021-03-29 23:26:24 -07:00
Sunny Hirai
cffbdb1afd
docs: Organize the Point docs into sections by type
2021-03-29 23:23:18 -07:00
Sunny Hirai
59343b2633
docs: Organize the path docs into sections by type
2021-03-29 23:21:54 -07:00
Sunny Hirai
928d342bb9
docs: Organize the node docs into sections by type
2021-03-29 23:14:12 -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
4f07e6f16d
Fixed another prettier linting error
2021-03-29 01:40:05 -07:00
Sunny Hirai
0fc40a7fc3
Fix linting error on refs.md
2021-03-29 01:38:38 -07:00
Sunny Hirai
2829823727
Mark html code block properly in serializing documentation
2021-03-29 01:26:53 -07:00
Sunny Hirai
6b94fb17c8
Move Node Options up in documentation
2021-03-29 00:54:15 -07:00
Sunny Hirai
0895968900
Add links to anchors in Editor documentation
2021-03-29 00:50:29 -07:00
Sunny Hirai
0c5b8fcc84
Rename Miscellaneous to Operation now that it is the only thing on that page
2021-03-29 00:47:45 -07:00
Sunny Hirai
1258a74205
Move createEditor method in the Editor documentation where one would expect it
2021-03-29 00:45:18 -07:00
Sunny Hirai
b503d732da
Alphabetize API reference children
2021-03-29 00:41:44 -07:00
Sunny Hirai
5b6b29d33d
Split Location and Node onto its own page
2021-03-29 00:40:41 -07:00
Sunny Hirai
23cd50f5bb
Move PointRef and RangeRef under Location in documentation summary
2021-03-29 00:34:01 -07:00
Sunny Hirai
ed7e4ab776
Improve wording around Editor schema-specific methods
2021-03-29 00:31:44 -07:00
Sunny Hirai
9caf2e8700
Add some clarifying documentation around Editor schema-specific methods
2021-03-29 00:29:48 -07:00
Sunny Hirai
fbb311359b
Rename Path methods in API reference to be more consistent
2021-03-29 00:20:34 -07:00
Sunny Hirai
6f2c96d1a1
Rename Editor functions in documentation to be more consistent
2021-03-29 00:19:19 -07:00
Sunny Hirai
f890d3aca7
Move node transform jump to section documentation into correct page
2021-03-29 00:14:33 -07:00