1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-19 06:35:03 +01:00

414 Commits

Author SHA1 Message Date
Anuj
2bd5bc3fa7 Fix typo: 'Charaters' => 'Characters' (#619) 2017-02-22 19:42:18 -08:00
Ian Storm Taylor
77ffcaae66 add preventDefault to all examples 2017-02-16 10:16:19 -08:00
Michael Plotke
da10eaeca9 Prevent an unexpected ampersand (#604) 2017-02-16 10:12:38 -08:00
Ian Storm Taylor
a7f6584179 added toRaw option to Html and Plain serializers, fixes #583 #584 2017-02-06 17:28:46 -08:00
Anuj
44cef94b04 Fixing Readme and API docs (#579)
* Fix typo

just a minor typo in the docs!

* Fix typo in API docs

* Update focus-blur example readme to reflect the correct example

* Remove extra newline

* Correct Readme on the plugins example as well

* Correct readme for RTL example

* Fix own typo.

* Adding a Readme for the tables example
2017-02-03 08:21:32 -08:00
AlbertHilb
ca1e0d8c6d Add data property to document. (#572)
* Add data property to `document`.
Add `setDocumentDataOperation' to set document data.
Change `Raw` serializer to take into account the document `data` property.
Update docs and tests.

* Make `setNode` operation working with document node.
Rewrite `setDocumentdataOperation` using `setNode`.

* Make 'setNodeByKey' working also with document node.

* Get rid of `setDocumentDataOperation`.
2017-01-31 10:23:04 -08:00
Josh Duff
9adfc63a36 Removing unnecessary word (#571) 2017-01-29 19:28:57 -08:00
Anuj
4fd1905d00 Fix typo (#564)
just a minor typo in the docs!
2017-01-25 08:25:45 -08:00
Samy Pessé
98995e7c08 Add props "tabIndex" and "role" (#552)
* Add prop "tabIndex" to editor

* Add prop "role"

* Typo

* Adapt rendering tests
2017-01-18 17:29:37 -08:00
Sunny Hirai
5cf11f7df4 Added state as a property to Transform in the documentation (#526)
* Updates docs/reference/models/transform.md

Auto commit by GitBook Editor

* Updates docs/reference/models/transform.md

Auto commit by GitBook Editor
2016-12-24 23:54:54 -08:00
Sunny Hirai
d3095145da Updates docs/reference/models/transform.md (#525)
Auto commit by GitBook Editor
2016-12-16 18:14:36 -08:00
Nicolas Gaborit
ed0395999c Add unwrapNodeByKey (#509)
* Add separate splitNodeOperation in two different op

* Add transform unwrapNodeByKey

* Add tests for unwrapNodeByKey

* Add test for undo of unwrapNodeByKey

* Support normalize option

* Handle last/first sibling case

* Document new unwrapNodeByKey transform
2016-12-08 10:37:34 -08:00
Ian Storm Taylor
7756be9a79 add schema reference to docs sidebar 2016-12-07 15:08:46 -08:00
Ian Storm Taylor
d6b771b41f fix docs sidebar 2016-12-02 10:23:22 -08:00
Ian Storm Taylor
352ad1d0c7 update docs sidebar 2016-12-02 10:20:55 -08:00
Samy Pessé
797b58e5c5 Implement "wrapInlineByKey" and use it in "wrapInlineAtRange" 2016-12-02 14:05:45 +01:00
Ian Storm Taylor
e37d1b20f3 update onSelect docs with note about onSelectionChange, closes #467 2016-12-01 09:09:27 -08:00
Jonas Keinholz
9d3677ee8b fix wrong link in docs 2016-12-01 14:35:27 +01:00
Ian Storm Taylor
74a3b51098 add resetKeyGenerator docs 2016-11-29 17:30:23 -08:00
Ian Storm Taylor
8bb92aea6d fix saving to a database example, closes #455 2016-11-28 11:17:36 -08:00
Ian Storm Taylor
c6bf80da41 update docs sidebar 2016-11-28 11:01:29 -08:00
Ian Storm Taylor
b393969ede update utils docs 2016-11-28 10:56:42 -08:00
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 #446 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 #394 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 (#408)
* 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" (#390)
* 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 (#361) 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 (#293) 2016-09-04 17:31:06 -07:00
Matthew Kosloski
523b8a7e6f fixed a typo where the method for focus was blur() (#294) 2016-09-04 17:30:41 -07:00
Jonas Keinholz
b227c0444d Fix broken link (#285) 2016-09-03 17:34:21 -07:00
Nick Passarella
43d5735cc9 Fixes a small error in a code example in HTML walkthrough. (#280) 2016-08-31 19:35:34 -07:00
npmcdn-to-unpkg-bot
0893418bca Replace npmcdn.com with unpkg.com (#284) 2016-08-31 19:35:22 -07:00
Andrew Cobby
98d663be5d Fix broken link to Block in docs (#278) 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