1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-07 14:30:04 +01:00

392 Commits

Author SHA1 Message Date
Ian Storm Taylor
bf99d48ccb update node and utils docs 2016-11-28 10:53:19 -08:00
Ian Storm Taylor
d925940b0d add utils reference 2016-11-28 10:50:34 -08:00
Ian Storm Taylor
919d4b5a3a add browser and device support to faq, closes 2016-11-28 10:28:00 -08:00
Ian Storm Taylor
cf0010728f add resources to docs 2016-11-18 12:11:59 -08:00
Ian Storm Taylor
a4cbceddf4 add logo sketch file 2016-11-17 19:10:44 -08:00
Ian Storm Taylor
6591f248bb update walkthroughs to remove function creation from render, closes 2016-11-17 18:56:09 -08:00
Soreine
ade3c324bd Merge branch 'master' into schema-normalize 2016-11-17 10:27:47 +01:00
Dieter Komendera
5c80df1413 Fix broken links in the docs 2016-11-11 10:10:39 +01:00
Soreine
944adc27fe Remove needless transform = transform.method() 2016-11-10 15:18:52 +01:00
Samy Pessé
4d33991358 Add method createFromRanges to Text 2016-11-09 10:26:33 +01:00
Soreine
4374eb9b33 Document wrapBlockByKey 2016-10-27 15:13:30 +02:00
jasonphillips
dca60c42ce Html serializer: optionally return React elements ()
* Html serializer optionally returns React elements

* update heredoc to indicate optional return value of array

* update documentation for html serializer to include React return option

* move returnElements argument to render:false
2016-10-26 12:46:24 -07:00
Samy Pessé
f380943926 Add transform "unwrapBlockByKey" and "unwrapInlineByKey" ()
* Add transform .unwrapInlineByKey with test and documentation

* Add transform .unwrapBlockByKey with test and documentation

* add failing test for unwrap limited to a range

* Improve creation of selection in unwrap[Inline|Block]ByKey

* Adapt unwrapInlineAtRange to take range in consideration

* Add test to unwrapInline only one in the document
2016-10-25 12:04:12 -07:00
Nicolas Gaborit
f87e4dc72b Remove old snapshot parameter for Transform.apply () 2016-10-04 12:19:31 -07:00
Ian Storm Taylor
88f6ee5e12 fix typo in transform docs 2016-09-13 12:38:14 -07:00
Ian Storm Taylor
3ef82a3fbc update docs for new node-level transforms 2016-09-13 11:49:59 -07:00
Matthew Kosloski
3c46d0544c fixed a few typos () 2016-09-04 17:31:06 -07:00
Matthew Kosloski
523b8a7e6f fixed a typo where the method for focus was blur() () 2016-09-04 17:30:41 -07:00
Jonas Keinholz
b227c0444d Fix broken link () 2016-09-03 17:34:21 -07:00
Nick Passarella
43d5735cc9 Fixes a small error in a code example in HTML walkthrough. () 2016-08-31 19:35:34 -07:00
npmcdn-to-unpkg-bot
0893418bca Replace npmcdn.com with unpkg.com () 2016-08-31 19:35:22 -07:00
Andrew Cobby
98d663be5d Fix broken link to Block in docs () 2016-08-31 19:35:18 -07:00
Ian Storm Taylor
b4bae8ad8e update gitbook sidebar 2016-08-25 23:07:35 -04:00
Ian Storm Taylor
964f1a31cd update docs 2016-08-25 23:06:57 -04:00
Ian Storm Taylor
a7b60e4f67 update gitbook sidebar 2016-08-25 23:01:56 -04:00
Ian Storm Taylor
9d293f5ede update docs 2016-08-25 22:59:36 -04:00
Ian Storm Taylor
a90d522ae5 update docs 2016-08-25 22:55:03 -04:00
Ian Storm Taylor
e71c78247a update gitbook 2016-08-25 22:32:17 -04:00
Ian Storm Taylor
eb98342126 remove docs files for renaming 2016-08-25 22:13:05 -04:00
Samy Pessé
83fe23d7fc Use GitBook for documentation ()
* Use gitbook for documentation

* Add section about contributing in readme of docs
2016-08-23 18:24:26 -04:00
Anton Kulakov
92e97a258e Fixed typo () 2016-08-19 02:52:45 -07:00
Ian Storm Taylor
cb0b9b9095 update keydown handler signature ()
* update keydown handler signature

* Update applying-custom-formatting.md

* Update defining-custom-block-nodes.md

* Update saving-to-a-database.md

* Update using-plugins.md
2016-08-18 09:40:19 -07:00
Anton Kulakov
597fbdec72 Fixed typo () 2016-08-18 09:14:58 -07:00
Ian Storm Taylor
54a6cdad9d update editor reference 2016-08-14 18:29:00 -07:00
Ian Storm Taylor
e3e9afba43 update walkthroughs and history 2016-08-14 18:25:12 -07:00
Ian Storm Taylor
973c6ce0bf update more docs 2016-08-14 15:58:41 -07:00
Ian Storm Taylor
5091587814 simplify schema rules, update docs 2016-08-14 15:51:07 -07:00
Ian Storm Taylor
06af3de5e5 start adding docs 2016-08-14 14:38:27 -07:00
Ian Storm Taylor
944bbc8a75 add isModAlt 2016-08-11 18:55:12 -07:00
Ian Storm Taylor
90d4eced95 add wrapTextAtRange tests, cleanup wrapText style and backwards handling 2016-08-09 09:32:46 -07:00
Samy Pessé
17f703cecb WIP: Add transform wrapText ()
* Add basic implementation of wrapText

* Default suffix for wrapText to prefix

* Add more tests for afterText

* Add tests "whole-block" and "empty-block" for wrapText

* Add tests for across-blocks and across-inlines

* Preserve selection on wrapText

* Remove comment about cursor position

* Document transformation "wratTextAtRange"
2016-08-09 09:11:21 -07:00
Ian Storm Taylor
cd9c745a27 add bundled guide to readme 2016-08-07 17:40:28 -07:00
Ian Storm Taylor
030beab8cd fix bundled file, add bundled installation guide 2016-08-07 17:25:43 -07:00
Ian Storm Taylor
f17629a42d fix documentation references for "fragments", closes 2016-08-07 13:13:06 -07:00
Gonçalo Margalho
3128c26b82 Fix typo in serialize methods () 2016-08-07 12:48:09 -07:00
Samy Pessé
f25c5d9a64 Add handler "onBeforeChange" ()
* Add handler "onReceiveState"

* Change onReceiveChange to onBeforeChange and call it before onChange as well

* Dont'call props.onBeforeChange since it's added to CorePlugin

* Update documentation for onBeforeChange
2016-08-04 13:11:23 -07:00
Ian Storm Taylor
c4e1e475eb add insertInline with tests 2016-08-01 18:53:05 -07:00
Ian Storm Taylor
789c4b3002 fix void leaf selection handling 2016-08-01 18:26:27 -07:00
Ian Storm Taylor
38ee32b93f update renderMark reference 2016-07-29 11:23:38 -07:00
Ian Storm Taylor
34256e9ecd update editor reference 2016-07-28 17:36:32 -07:00