1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 01:02:31 +01:00

3272 Commits

Author SHA1 Message Date
Sunny Hirai
c803e5ffd0 Switch initialValue type in examples to Descendant 2021-03-29 09:49:44 -07:00
Sunny Hirai
4661f19d4b Add language type for examples Readme.md code blocks 2021-03-29 09:38:20 -07:00
Sunny Hirai
b88149c2f9 Remove unused imports from all examples 2021-03-29 09:37:24 -07:00
Sunny Hirai
0e22da7a59 Improved ExtendedType to limit extending only known custom types 2021-03-29 09:29:32 -07:00
Sunny Hirai
35bee40d23 Remove unused ExtendType in Node 2021-03-29 09:09:13 -07:00
Sunny Hirai
28e299991a Remove unused imports in Editor 2021-03-29 09:08:16 -07:00
Sunny Hirai
39ba9aadd7 Improve custom-types in slate unit tests 2021-03-29 08:58:58 -07:00
Sunny Hirai
b5cb9ee6db v0.61.0 v0.61.0 2021-03-29 08:50:06 -07:00
Sunny Hirai
eca1f4163a Added lint:prettier back into the lint script now that all linting passes 2021-03-29 01:45:17 -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
fe2a23066f Minor change to lint:prettier to show error message on failure 2021-03-29 01:36:45 -07:00
Sunny Hirai
c4466ea701 Add .github to .prettierignore 2021-03-29 01:32:54 -07:00
Sunny Hirai
2829823727 Mark html code block properly in serializing documentation 2021-03-29 01:26:53 -07:00
Sunny Hirai
a1c314e2e9 Add --force-publish tag to lerna for latest and next releases to force matching version numbers 2021-03-29 01:16:44 -07:00
Sunny Hirai
c2bc4f6444 v0.60.17 v0.60.17 2021-03-29 01:15:14 -07:00
Sunny Hirai
ad7abdad7a v0.60.16 v0.60.16 2021-03-29 01:09:18 -07:00
Sunny Hirai
cf42529704 Fix linting 2021-03-29 01:06:51 -07:00
Sunny Hirai
0434182166 Added comments to with-history and with-react to help fix TypeScript errors 2021-03-29 01:01:25 -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
Sunny Hirai
67c5a50fa9 Fix summary link anchors because they don't work in GitBook 2021-03-29 00:12:47 -07:00
Sunny Hirai
738e0d4332 Add direct links in summaries to types of Transforms in API reference 2021-03-29 00:06:57 -07:00
Sunny Hirai
0ef080723f Split API reference so each object has its own page 2021-03-29 00:02:43 -07:00
Sunny Hirai
2a8ba9c39b Add installing important plugins to TypeScript docs 2021-03-26 22:53:07 -07:00
Sunny Hirai
f77aa218aa Adjust object names in API summary 2021-03-26 22:44:45 -07:00
Sunny Hirai
6854825fbd Try showing Object names in API summary 2021-03-26 22:43:36 -07:00
Sunny Hirai
87f1b692fa Try improve Table of Contents info 2021-03-26 22:39:41 -07:00
Sunny Hirai
bb2f5d606a Try adding comments in table of contents 2021-03-26 22:36:38 -07:00
Sunny Hirai
daaeeaf5fe Remove unnecessary * in documentation 2021-03-26 22:30:28 -07:00
Sunny Hirai
2632fd18b4 Add documentation for Path 2021-03-26 22:27:18 -07:00
Sunny Hirai
8b070cc27e Fix heading levels in Locations docs to be consistent 2021-03-26 22:16:00 -07:00
Sunny Hirai
2eeb6833bd Fix heading levels in Node documentation to be consistent 2021-03-26 22:08:08 -07:00
Sunny Hirai
f700aa86c9 Add description for Editor onChange method 2021-03-26 22:06:01 -07:00
Sunny Hirai
287d69ed9e Add documentation for Editor static methods 2021-03-26 22:00:56 -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
cd13b4c7de v0.60.15 v0.60.15 2021-03-20 21:11:18 -07:00