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

20 Commits

Author SHA1 Message Date
Ian Storm Taylor
68e4e090f0 update docs 2017-10-17 20:30:11 -07:00
Ian Storm Taylor
6c42f6c9c3 Rename Range to Leaf, and Selection to Range (#1231)
* rename Range to Leaf

* rename Selection to Range

* add findDOMRange, findNode, findRange helpers

* refactor to remove findDropPoint util

* revert findDOMNode to throwing errors

* export new helpers, fix linter

* update docs

* update examples
2017-10-14 15:36:27 -07:00
Ian Storm Taylor
c98ad903c8 Upgrade docs (#1182)
* remove table of contents

* remove more hard-coded table of contents

* remove comparisons, rewrite "why" section to be more general

* update intro
2017-09-25 11:50:23 -07:00
Ian Storm Taylor
560dbe5038 fix docs links, closes #1116 2017-09-12 08:55:15 -07:00
Ian Storm Taylor
7470a6dd53 Expose transforms (#836)
* refactor to extract applyOperation util

* change handlers to receive transform instead of state

* change onChange to receive a transform, update rich-text example

* fix stack iterationg, convert check-list example

* convert code-highlighting, embeds, emojis examples

* change operations to use full paths, not indexes

* switch split and join to be recursive

* fix linter

* fix onChange calls

* make all operations invertable, add src/operations/* logic

* rename "join" to "merge"

* remove .length property of nodes

* fix node.getFragmentAtRange logic

* convert remaining examples, fix existing changes

* fix .apply() calls and tests

* change setSave and setIsNative transforms

* fix insert_text operations to include marks always

* cleanup and fixes

* fix node inheritance

* fix core onCut handler

* skip constructor in node inheritance

* cleanup

* change updateDescendant to updateNode

* add and update docs

* eliminate need for .apply(), change history to mutable

* add missing file

* add deprecation support to Transform objects

* rename "transform" to "change"

* update benchmark

* add deprecation util to logger

* update transform isNative attr

* fix remaining warn use

* simplify history checkpointing logic

* fix tests

* revert history to being immutable

* fix history

* fix normalize

* fix syntax error from merge
2017-09-05 18:03:41 -07:00
Jonas Keinholz
9d3677ee8b fix wrong link in docs 2016-12-01 14:35:27 +01:00
Ian Storm Taylor
cf0010728f add resources to docs 2016-11-18 12:11:59 -08:00
Max Gfeller
615d4d0d93 Tiny typo fix (#115) 2016-07-18 11:57:16 -07:00
Ian Storm Taylor
04dee735f5 fix install slate example 2016-07-17 14:03:18 -07:00
Ian Storm Taylor
348c3dec20 add faq to concepts list 2016-07-17 13:39:43 -07:00
Ian Storm Taylor
2322328e2e add faq 2016-07-17 13:39:30 -07:00
Andrew Murray
a42996f53d Fixed typos (#90) 2016-07-15 08:35:18 -07:00
Ian Storm Taylor
351c05785e update docsg 2016-07-13 17:04:23 -07:00
Ian Storm Taylor
b19026647a update document model concept docs 2016-07-13 16:34:44 -07:00
Ian Storm Taylor
1415b54b44 update leaf text nodes concept 2016-07-13 16:33:09 -07:00
Ian Storm Taylor
677ac96f4f update docs 2016-07-12 22:26:57 -07:00
Ian Storm Taylor
98b217f616 update docs 2016-07-12 22:24:07 -07:00
Ian Storm Taylor
312bd4c828 update docs 2016-07-12 22:14:12 -07:00
Ian Storm Taylor
0b8498e83a refactor docs 2016-07-12 21:34:31 -07:00
Ian Storm Taylor
25d22606de add more docs 2016-07-08 11:44:44 -07:00