Anuj
7b358b4ced
Add firstOnly prop to Placeholder ( #765 )
...
* Adding firstOnly prop to Placeholder
Partly addresses #737
* Updating placeholder logic to check for parent only if firstOnly is set to true
* removing extra newlines
* simplifying shouldComponentUpdate condition
2017-05-04 15:11:55 -07:00
Anuj
a338b36c76
Address doc suggestion in #644 ( #760 )
...
* Address doc suggestion in #644
* Move doc update to FAQ instead
2017-05-04 09:58:46 -07:00
Anuj
9250baafe6
Clarifying insertTextByKey description ( #778 )
...
As per #775
2017-05-04 05:58:21 -07:00
Anuj
fb6f3d5b61
Documenting node's 'getFirstText' & 'getLastText' ( #779 )
...
Noticed a couple of useful functions I found useful that weren't documented. Also, fixed a couple of broken links.
2017-05-04 05:57:52 -07:00
Brian Kabiro
cb98408115
Update defining-custom-block-nodes.md ( #776 )
2017-05-03 16:51:13 -07:00
Max
f787b68a36
add note to document documentation ( #755 )
...
can perhaps spare some time from someone else wondering about this: https://github.com/ianstormtaylor/slate/issues/746
2017-04-25 10:52:37 -07:00
Rocky Meza
3ca977e26a
Fix typo in plugin.md ( #753 )
2017-04-24 18:23:53 -07:00
Ian Storm Taylor
1471e0846f
cleanup readme, move comparisons to external doc, closes #727
2017-04-24 13:17:18 -07:00
jatins
310b281469
fix example links in Readme ( #745 )
2017-04-23 12:02:57 -07:00
Anuj
51f1a2f9d9
Clarify instructions for plugin preventing default behavior ( #740 )
2017-04-21 21:17:04 -07:00
eden lane
eb03bd8ec4
Changed hotkey for code block in the walkthrough due to lack of support hotkey ⌘-C in Chrome on Mac ( #741 )
2017-04-21 21:14:04 -07:00
Ian Storm Taylor
6f9e8bc5ec
update gitbook intro
2017-04-16 16:22:03 -07:00
Ian Storm Taylor
5ce7f3d496
fix examples links
2017-04-16 16:13:48 -07:00
Ian Storm Taylor
8687fac1a2
add more to docs intro
2017-03-31 17:18:13 -07:00
Conor Cussell
6333275aa0
use correct localStorage method for setting content ( #684 )
2017-03-24 16:19:23 -07:00
Prayag Verma
3d96d2a309
Fix a typo in walkthroughs/saving-to-a-database ( #681 )
...
intial → initial
2017-03-23 10:43:34 -07:00
yāλu
5ce7d165aa
added onFocus, and docs. fixes #650 ( #666 )
...
* added onFocus, and docs. fixes #650
* sorted prop types declarations alphabetically
2017-03-18 16:55:22 -07:00
Ian Storm Taylor
812c881d7f
add the deserialize normalize option to the docs
2017-03-05 17:02:52 -08:00
Anuj
cc26e6c60a
Clarify usage of plugin.render ( #649 )
2017-03-05 00:32:44 -08:00
Ian Storm Taylor
5d285164b6
remove renderPortal from the docs, prepping for removal
2017-03-03 13:15:04 -08:00
Anuj
5c3338782d
Methods missed in upgrade 0.17 ( #645 )
2017-03-02 22:27:23 -08:00
Ian Storm Taylor
2a5d3ee556
rename plugin.render to renderPortal, and add plugin.render
2017-03-02 18:19:39 -08:00
Kyle Kelley
fa4f9dff6c
docs: Delete dangling } ( #642 )
2017-03-02 17:18:16 -08:00
Anuj
1d8c814a62
Fix typo: cummulative -> cumulative ( #643 )
2017-03-02 17:17:55 -08:00
Victor Pontis
16d8496760
Fix typo on installing Slate documentation ( #638 )
2017-03-01 11:40:17 -08:00
Ian Storm Taylor
c518d55aa3
fix moveTo, and add select and deselect to docs, fixes #640
2017-03-01 11:39:05 -08:00
Ian Storm Taylor
d70f35f537
change selectAll to not focus, and add docs
2017-02-28 19:07:46 -08:00
Ian Storm Taylor
414188b76d
update docs
2017-02-27 13:05:41 -08:00
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