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

51 Commits

Author SHA1 Message Date
Andrew Cobby
98d663be5d Fix broken link to Block in docs (#278) 2016-08-31 19:35:18 -07:00
Ian Storm Taylor
a90d522ae5 update docs 2016-08-25 22:55:03 -04:00
Ian Storm Taylor
e3e9afba43 update walkthroughs and history 2016-08-14 18:25:12 -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
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
f17629a42d fix documentation references for "fragments", closes #228 2016-08-07 13:13:06 -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
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
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
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
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
53c57c40d9 fix typo in selection reference 2016-07-21 16:39:45 -07:00
Ian Storm Taylor
0ebe5b4b64 add toggleMark and toggleMarkAtRange transforms 2016-07-21 11:59:21 -07:00
Ian Storm Taylor
bd200cf4b8 update state.moveTo() reference 2016-07-20 14:50:55 -07:00
Ian Storm Taylor
1d47e0729e update transform reference 2016-07-18 16:57:15 -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
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
510eb63d8d fixes 2016-07-12 21:14:21 -07:00
Ian Storm Taylor
f960bf588c more docs 2016-07-12 21:08:40 -07:00
Ian Storm Taylor
f8946fb876 add more reference docs 2016-07-12 17:54:11 -07:00
Ian Storm Taylor
cf72a88bdb add document, inline and node reference 2016-07-12 17:31:45 -07:00
Ian Storm Taylor
f067ffe75c add block reference 2016-07-12 17:02:42 -07:00
Ian Storm Taylor
48be173b7b update reference 2016-07-12 11:40:15 -07:00
Ian Storm Taylor
32e1f21a0b update reference 2016-07-12 11:32:56 -07:00
Ian Storm Taylor
e95195501a update reference 2016-07-12 11:30:28 -07:00
Ian Storm Taylor
ceadbd1627 update reference 2016-07-12 11:28:41 -07:00
Ian Storm Taylor
bcda03c2a2 update reference 2016-07-12 11:27:26 -07:00
Ian Storm Taylor
114d712d19 update docs 2016-07-11 16:07:01 -07:00
Ian Storm Taylor
a6056960be update docs 2016-07-11 16:06:33 -07:00
Ian Storm Taylor
518952172b update docs 2016-07-11 15:57:38 -07:00
Ian Storm Taylor
87341490ed update docs 2016-07-11 15:57:26 -07:00
Ian Storm Taylor
e218de18eb update docs 2016-07-11 15:56:03 -07:00
Ian Storm Taylor
6e5221d1c2 update docs 2016-07-11 15:53:26 -07:00
Ian Storm Taylor
413617c65a update docs 2016-07-11 15:50:39 -07:00
Ian Storm Taylor
dd67c644b9 update docs 2016-07-11 15:49:22 -07:00
Ian Storm Taylor
f915e26c98 update docs 2016-07-11 15:46:56 -07:00
Ian Storm Taylor
db9eef7179 update docs 2016-07-11 15:43:58 -07:00
Ian Storm Taylor
907a9fc08c update docs 2016-07-11 15:41:58 -07:00
Ian Storm Taylor
eb64dc8bd4 update docs 2016-07-11 15:40:39 -07:00