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

684 Commits

Author SHA1 Message Date
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
Suwijak Chaipipat
10cfb6e48b Change concat into insertChildrenAfter and insertChildrenBefore (#232)
* Change concat into insertChildrenAfter and insertChildrenBefore

* Update input and out yaml of insert block at range block-end

* Update input and out yaml of insert block at range block-start
2016-08-09 09:10:03 -07:00
Suwijak Chaipipat
a10f0a7935 Fix examples watch command (#233) 2016-08-08 12:10:12 -07:00
Ian Storm Taylor
2ea7f38fe3 update contributing jsfiddle 2016-08-07 17:52:38 -07:00
Ian Storm Taylor
f6b7ed18eb 0.11.4 v0.11.4 2016-08-07 17:47:17 -07:00
Ian Storm Taylor
236ac3ad55 fix standalone slate.js 2016-08-07 17:44:53 -07:00
Ian Storm Taylor
cd9c745a27 add bundled guide to readme 2016-08-07 17:40:28 -07:00
Ian Storm Taylor
4fcf46fa02 0.11.3 v0.11.3 2016-08-07 17:35:12 -07:00
Ian Storm Taylor
030beab8cd fix bundled file, add bundled installation guide 2016-08-07 17:25:43 -07:00
Ian Storm Taylor
ba14708792 add fbjs as a dev dependency, clsoes #231 2016-08-07 13:14: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
Ian Storm Taylor
5a6d3c4534 fix iframes example line breaks 2016-08-05 12:47:29 -07:00
Ian Storm Taylor
bd10da5066 0.11.2 v0.11.2 2016-08-05 12:43:50 -07:00
Ian Storm Taylor
55ab4aafd5 update iframe rendering logic, refactor iframes example 2016-08-05 12:40:54 -07:00
Ian Storm Taylor
30453d6821 Merge branch 'add/render-to-iframe' of https://github.com/vleletko/slate into add-iframe 2016-08-05 10:46:40 -07:00
Ian Storm Taylor
079694e236 0.11.1 v0.11.1 2016-08-05 10:40:20 -07:00
Ian Storm Taylor
3dc930a859 fix <Void> to always get latest state onClick, closes #223 2016-08-05 10:37:56 -07:00
Ian Storm Taylor
772aadb70a fix insertText to do nothing in void nodes 2016-08-05 10:32:00 -07:00
Ian Storm Taylor
90abc993b9 fix for insertBlockAtRange in empty blocks, closes #224 2016-08-05 10:25:52 -07:00
Ian Storm Taylor
045fe02d5e 0.11.0 v0.11.0 2016-08-04 14:16:01 -07:00
Ian Storm Taylor
c5f689e543 update void rendering tests 2016-08-04 14:13:58 -07:00
Ian Storm Taylor
9a70188f34 loosen default shouldComponentUpdate for nodes, and make Void implicit 2016-08-04 14:12:27 -07:00
Ian Storm Taylor
18acc638fd 0.10.12 v0.10.12 2016-08-04 13:22:00 -07:00
Ian Storm Taylor
917906e378 refactor onBeforeChange 2016-08-04 13:18:20 -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
2d63957246 0.10.11 v0.10.11 2016-08-04 13:00:11 -07:00
Ian Storm Taylor
e6bac8180a update the scroll position on content changes 2016-08-04 12:57:52 -07:00
Ian Storm Taylor
3823c44fcd 0.10.10 v0.10.10 2016-08-04 11:24:13 -07:00
Djamil Legato
5a92083686 Drop deprecated escape and unescape (#217) 2016-08-04 11:20:08 -07:00
Vladimir
9cb361dc29 Lint errors fixes. 2016-08-03 04:03:43 +03:00
Vladimir
95eb2c0bdf Example how to render slate to IFrame 2016-08-03 03:31:26 +03:00
Vladimir
186f1a7c6d Core component will deduce the context from the dispatched event.target element 2016-08-03 03:27:33 +03:00
Ian Storm Taylor
5825db3caa 0.10.9 v0.10.9 2016-08-02 10:37:31 -07:00
Ian Storm Taylor
0eea98d4a9 fix link example 2016-08-02 10:33:02 -07:00
Ian Storm Taylor
197515e096 fix leaf to re-render when DOM is mismatched 2016-08-02 10:31:25 -07:00
Vladimir
5fa616a01d Added example skeleton. IFrame component + basic usage 2016-08-02 11:08:07 +03:00
Ian Storm Taylor
7128085e9e 0.10.8 v0.10.8 2016-08-01 19:27:11 -07:00
Ian Storm Taylor
9521b1abf6 fix selection handling for insertFragment and wrapInline 2016-08-01 19:23:21 -07:00
Ian Storm Taylor
2ab07f4e26 0.10.7 v0.10.7 2016-08-01 18:55:28 -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
1780bb0c75 0.10.6 v0.10.6 2016-08-01 18:12:04 -07:00
Ian Storm Taylor
4e6ca3953b fix onBeforeInput decorations logic, fix initial onSelect logic 2016-08-01 18:09:30 -07:00
Ian Storm Taylor
13e7b96dc8 0.10.5 v0.10.5 2016-08-01 15:22:08 -07:00
Ian Storm Taylor
39aaa916ec fix to only double new lines on last leaf 2016-08-01 15:18:37 -07:00
Ian Storm Taylor
5e34e2f46d 0.10.4 v0.10.4 2016-08-01 13:50:32 -07:00
Ian Storm Taylor
5e9f19db92 remove extra style prop from editor example 2016-08-01 13:48:23 -07:00
Ian Storm Taylor
560b28ce32 add debug points, remove unused deps, fix composition 2016-08-01 13:45:46 -07:00