1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-23 08:50:59 +01:00

3238 Commits

Author SHA1 Message Date
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
Sunny Hirai
167fee401d Add TypeScript version to issue template for bug-core 2021-03-20 21:01:17 -07:00
Sunny Hirai
4389fdd268 Update TypeScript documentation to add Custom Editor 2021-03-20 20:58:27 -07:00
Sunny Hirai
3caf0e1849
Allow useSlate and useSlateStatic to use a generic to return a Custom Editor (#4135)
* Have useSlate and useSlateStatic return the Custom Editor

* v0.60.12

* Add generic to useSlate and useSlateStatic

* v0.60.13

* Fix useSlate and useSlateStatic to return customized Editor type

* v0.60.14
2021-03-20 20:49:58 -07:00
Sunny Hirai
b0c27496ec v0.60.11 v0.60.11 2021-03-20 13:50:24 -07:00
Sunny Hirai
5be428a0b3
Enable Extending Editor types in TypeScript (#4133)
* Change HistoryEditor from type to interface

* v0.60.8

* v0.60.9

* Have ReactEditor and HistoryEditor extend BaseEditor instead of Editor

* v0.60.10
2021-03-20 13:47:33 -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
Jacob
5267f07175
fix: fix 404 status of iframe example page (#4092) 2021-02-28 23:00:33 -05:00
Jack
f697b074fc
Add discord to the list of products that use slate (#4101)
Discord uses slate
2021-02-27 17:51:15 -05:00
Ian Storm Taylor
41cd18b568
Update PULL_REQUEST_TEMPLATE.md 2021-02-18 14:32:32 -05:00
Ian Storm Taylor
1c35626600
Create config.yml 2021-02-18 14:23:29 -05:00
Ian Storm Taylor
8d3828113c
Delete ISSUE_TEMPLATE.md 2021-02-18 14:22:12 -05:00
Ian Storm Taylor
c464c475d6
Update and rename ---feature-request.md to request-feature.md 2021-02-18 14:17:22 -05:00
Ian Storm Taylor
2b1bb9b3c6
Update and rename ---improvement.md to request-improvement.md 2021-02-18 14:17:05 -05:00
Ian Storm Taylor
d6e7f634f2
Update and rename ---platform-bug.md to bug-platform.md 2021-02-18 14:16:50 -05:00
Ian Storm Taylor
62169bd54c
Update and rename ---core-bug.md to bug-core.md 2021-02-18 14:16:30 -05:00
Ian Storm Taylor
3cc2e332b3
Delete platform-bug.md 2021-02-18 14:15:14 -05:00
Ian Storm Taylor
ccb436d7c5
Delete platform-bug-report.md 2021-02-18 14:15:10 -05:00
Ian Storm Taylor
a2fcc18df2
Delete core-bug.md 2021-02-18 14:15:05 -05:00
Ian Storm Taylor
a640eea09d Update issue templates 2021-02-18 14:14:20 -05:00
Sunny Hirai
df06528b18 v0.60.4 v0.60.4 2021-02-16 19:49:37 -08:00
Sunny Hirai
513771c82a
slate-react: MVP for working with non-global window objects (fix for #3819) (#4079)
* mvp implementation for working with non-global window instances

* remove unused element renderer

* fix typo in comment

* fix wrong example reference

* Add @babel/helper-call-delegate to fix build error

Co-authored-by: Lukas Buenger <lukasbuenger@gmail.com>
2021-02-16 19:40:15 -08:00
Sunny Hirai
6d66d87f67 Exclude checking source maps for next and @next 2021-02-16 18:03:24 -08:00
Steve Marquis
5201a1856f
Handle sibling moves in moveNodes transform (#3978)
* Handle sibling moves better in move nodes.
2021-02-16 12:27:58 -05:00
Steve Marquis
e4936c3f32
Fix broken attribute references (#4011) 2021-02-11 18:29:03 -05:00
David Amrani
3f086a8f62
updated file extensions for example links (#4024) 2021-02-11 18:26:52 -05:00
Sunny Hirai
291aac9c5b v0.60.3 v0.60.3 2021-02-08 13:01:11 -08:00