1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 21:49:20 +01:00

880 Commits

Author SHA1 Message Date
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
f7b6f438ef docs: Add single quotes around option value that is a string 2021-04-06 22:03:03 -07:00
Sunny Hirai
18fb41cc2a docs: Change format of options to be more intuitive 2021-04-06 22:02:14 -07: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
d0ea3ccb5e docs: Fix link in installing slate 2021-04-06 21:44:48 -07:00
Sunny Hirai
4e6ec4fe53 docs: Fix links in Nodes documentation 2021-04-06 21:43:31 -07:00
Sunny Hirai
d034c19616 docs: Try to fix links issue one more time using relative links 2021-04-06 18:56:32 -07:00
Sunny Hirai
b77d1ca4d9 docs: Another attempt at fixing links in docs 2021-04-06 18:41:56 -07:00
Sunny Hirai
320c3aee29 docs: Another try at modifying links but without the preceding slash 2021-04-06 18:40:30 -07:00
Sunny Hirai
8a9b0c973e docs: Fox links in locations docs 2021-04-06 18:31:14 -07:00
Sunny Hirai
1371abee2f docs: Move the option descriptions underneath the options 2021-04-06 18:24:52 -07:00
Sunny Hirai
a1b8291a0a docs: Specify the meaning of the mode option on Editor.nodes 2021-04-06 18:19:16 -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
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