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

414 Commits

Author SHA1 Message Date
Ian Storm Taylor
eb98342126 remove docs files for renaming 2016-08-25 22:13:05 -04:00
Samy Pessé
83fe23d7fc Use GitBook for documentation (#263)
* 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 (#256) 2016-08-19 02:52:45 -07:00
Ian Storm Taylor
cb0b9b9095 update keydown handler signature (#254)
* 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 (#252) 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 (#227)
* 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 #228 2016-08-07 13:13:06 -07:00
Gonçalo Margalho
3128c26b82 Fix typo in serialize methods (#230) 2016-08-07 12:48:09 -07:00
Samy Pessé
f25c5d9a64 Add handler "onBeforeChange" (#219)
* 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
Ian Storm Taylor
de9a32b97b update reference 2016-07-28 16:35:47 -07:00
Ian Storm Taylor
a892c6b800 change wrapping transform arguments for consistency 2016-07-28 16:24:24 -07:00
Ian Storm Taylor
acccb8f17c remove need for selection to be natively rendered 2016-07-28 16:04:41 -07:00
Ian Storm Taylor
e7dcdca8ba update contributing docs 2016-07-28 13:13:44 -07:00
Ian Storm Taylor
8327b43e2f update contributing docs 2016-07-28 13:09:29 -07:00
Ian Storm Taylor
c1f4bce3b8 change hasUndo and hasRedo to hasUndos and hasRedos 2016-07-28 11:13:12 -07:00
Samy Pessé
b2c1b844af Add properties hasUndo and hasRedo to State (#193)
* Add properties hasUndo and hasRedo to State

* Fix description fo hadRedo
2016-07-28 11:11:42 -07:00
Samy Pessé
e6690537fb Fix signature of Selection.has{Edge}In in documentation (#190) 2016-07-28 09:02:58 -07:00
Samy Pessé
d7a839e89d undo and redo transform does not return Transform (#189) 2016-07-28 09:02:19 -07:00
Ian Storm Taylor
9bab3b062b update onKeyDown reference 2016-07-27 23:14:50 -07:00
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