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

182 Commits

Author SHA1 Message Date
Ian Storm Taylor
5e6f5b9cd1 add event handlers to reference 2016-07-27 22:45:25 -07:00
Ian Storm Taylor
98c78e4d96 refactor raw serializer to not be terse by default 2016-07-25 13:29:29 -07:00
Ian Storm Taylor
81c956228b more work on draggable nodes 2016-07-24 18:57:09 -07:00
Ian Storm Taylor
c7fac3456e remove non-transform transforming methods from reference 2016-07-24 18:03:36 -07:00
Ian Storm Taylor
466f377ffa fixes for style and consistency 2016-07-24 17:59:26 -07:00
Mathieu Dutour
8407023e5f add setNodeByKey transform (#157)
* modifyNode transform

* create DOCUMENT_NODE_TRANSFORMS and use assertDescendant to get the node directly

* rename to setNodeByKey
2016-07-24 17:53:28 -07:00
adamlong5
58691691a9 Fix error in Hello World of installation guide (#170) 2016-07-24 17:14:42 -07:00
joehua87
12f4a8e692 Update state.md (#164)
{edge}Offset is Number
2016-07-22 22:21:02 -07:00
joehua87
1f0532d306 typeof key is string (not Key) (#165) 2016-07-22 22:20:40 -07:00
Ian Storm Taylor
20874faa69 add onDrop to docs 2016-07-22 17:15:46 -07:00
Ian Storm Taylor
52e6de488b fix to remove need for core plugin to define a default renderMark 2016-07-22 12:39:00 -07:00
Ian Storm Taylor
d4433b8ec3 update installing slate guide to omit ranges 2016-07-21 16:42:24 -07:00
Ian Storm Taylor
53c57c40d9 fix typo in selection reference 2016-07-21 16:39:45 -07:00
Ian Storm Taylor
054aaf419f update formatting guide with toggleMark 2016-07-21 12:02:26 -07:00
Ian Storm Taylor
0ebe5b4b64 add toggleMark and toggleMarkAtRange transforms 2016-07-21 11:59:21 -07:00
Ian Storm Taylor
d0c8ce0c08 add the ability to render based on multiple marks (#138)
closes #33
2016-07-20 15:11:13 -07:00
Ian Storm Taylor
bd200cf4b8 update state.moveTo() reference 2016-07-20 14:50:55 -07:00
Ian Storm Taylor
00ee5c3c70 add prebundled notice to the installing guide 2016-07-20 14:43:11 -07:00
Ian Storm Taylor
f50c37f847 update saving html guide 2016-07-20 10:20:10 -07:00
Ian Storm Taylor
3b49833e8e add saving and loading html content guide to docs 2016-07-20 10:17:39 -07:00
Ian Storm Taylor
a9272f7274 add serialization to html serializer 2016-07-20 09:22:55 -07:00
Ian Storm Taylor
1d47e0729e update transform reference 2016-07-18 16:57:15 -07:00
Jesse Patel
4492be6e60 Fixing broken links in reference of docs (#121)
Looks like there was a refactor at some point where this went from a flat directory to split into categories, and some of the links never got changed. Just fixing those up.
2016-07-18 13:41:26 -07:00
Ian Storm Taylor
dcbca782e5 update saving to a database guide 2016-07-18 13:34:45 -07:00
Ian Storm Taylor
c41046ac17 add onDocumentChange and onSelectionChange properties to editor 2016-07-18 13:30:37 -07:00
Ian Storm Taylor
730b731b84 update saving to a database guide 2016-07-18 12:56:20 -07:00
Ian Storm Taylor
9e3d628ef5 add saving to a database guide 2016-07-18 12:55:04 -07:00
Somasundaram Ayyappan
0289edfc29 Rename mark/unmark transforms to addMark/removeMark (#113)
* Rename mark/unmark transforms to addMark/removeMark

* delete gitkeep
2016-07-18 12:00:30 -07:00
Max Gfeller
615d4d0d93 Tiny typo fix (#115) 2016-07-18 11:57:16 -07:00
Max Gfeller
fdf7e29325 Fix broken link to Mark reference (#116) 2016-07-18 11:57:02 -07:00
Ian Storm Taylor
7930df4fc2 fix read-only example readme 2016-07-17 16:32:20 -07:00
Ian Storm Taylor
c489eee418 add read-only mode, closes #108 #106 2016-07-17 15:57:27 -07:00
Ian Storm Taylor
2ee317c0a0 update serializers docs 2016-07-17 15:39:28 -07:00
Ian Storm Taylor
93e2487c6e add serializer docs 2016-07-17 15:37:05 -07:00
Ian Storm Taylor
04dee735f5 fix install slate example 2016-07-17 14:03:18 -07:00
Sean Matheson
699da23ced Fix "initialState" declaration in "Installing Slate" doc (#105)
I tried to use the example however I received errors saying that `map` could not be executed over `undefined`.

It looks like the deserialiser was trying to map over the `nodes` prop of an object, but the example passes in an array of objects.  I removed the wrapping array and all was well again.
2016-07-17 14:02:46 -07:00
Somasundaram Ayyappan
b5880e607f Doc fixes (#102)
* replace block api refs with inline

* fix inline link refs in static method sections

* link fixes in few more files
2016-07-17 14:00:31 -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
Ian Storm Taylor
5aee46f8df add icon image, add gh-pages cname 2016-07-15 13:22:38 -07:00
Andrew Murray
a42996f53d Fixed typos (#90) 2016-07-15 08:35:18 -07:00
Ian Storm Taylor
4e2c908f54 add preview image 2016-07-14 16:35:01 -07:00
Ian Storm Taylor
440496a94b move images, add examples images, add to .npmignore 2016-07-14 16:23:36 -07:00
Mark Bao
d643a7e8cd Fix typo in Installing Slate doc (#79) 2016-07-13 19:28:12 -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