Ian Storm Taylor
99d1c283f0
add prod and dev examples
2016-07-29 12:44:35 -07:00
Ian Storm Taylor
ecc9202db7
change placeholder to only render when visible
2016-07-29 12:44:08 -07:00
Ian Storm Taylor
6775657ab5
0.10.0
v0.10.0
2016-07-29 12:11:02 -07:00
Ian Storm Taylor
e536884f1f
update history
2016-07-29 12:08:39 -07:00
Ian Storm Taylor
17d676b639
refactor rtl support, add rtl example
2016-07-29 12:05:01 -07:00
Ian Storm Taylor
e8e497131e
Merge branch 'master' of github.com:ianstormtaylor/slate
2016-07-29 11:25:13 -07:00
Samy Pessé
845e284ee4
Add RTL support ( #204 )
...
* Add property textAlignment for the whole editor
* textAlignment should be set on Content
* Add basic for directionMap in State
* Add RTL to example
* Use setDocument for updating direction map when inserting blocks
* Remove debug log
* Only add 'dir' to node when is not default value
* Prevent tests from failing because of .DS_Store on OSX
* Add tests for rtl rendering
* Fix rendering tests
* Fix test for rendering "text-direction"
* Remove textAlignment prop on editor
* Don't use a directionMap but directly a "textDir" on nodes
* Remove .setDocument from State
2016-07-29 11:25:07 -07:00
Ian Storm Taylor
38ee32b93f
update renderMark reference
2016-07-29 11:23:38 -07:00
Ian Storm Taylor
fb97c50c4c
fix add support for rendering components as marks
2016-07-29 11:20:00 -07:00
Samy Pessé
4d58c0035c
Add ability for renderMark
to return a React component ( #202 )
...
* Switch rendering of leaf to use mark as component
* Backward compatibility with renderMark
Don’t fail on null marks
* Adapt tests for new rendering of marks
* Fix selection with new rendered marks
* Adapt rendering test for custom-mark-multiple
Don’t add span when renderMark return undefined
2016-07-29 10:46:56 -07:00
Ian Storm Taylor
788627d2db
update bundling
2016-07-29 10:46:31 -07:00
Ian Storm Taylor
25d78aa391
run dist and lint when test is run
2016-07-29 09:17:38 -07:00
Ian Storm Taylor
4b712f1567
update readme
2016-07-29 09:01:01 -07:00
Ian Storm Taylor
9f9682e98c
update readme
2016-07-29 08:59:45 -07:00
Ian Storm Taylor
5355aeaf95
0.9.2
v0.9.2
2016-07-29 08:58:10 -07:00
Ian Storm Taylor
e45e06d9e8
fix coding style
2016-07-29 08:56:27 -07:00
Robin Berjon
9ab6267271
do not throw too early while looking for a rule with which to serialize ( #205 )
2016-07-29 08:54:47 -07:00
Ian Storm Taylor
d2647cde71
update history
2016-07-28 17:36:51 -07:00
Ian Storm Taylor
34256e9ecd
update editor reference
2016-07-28 17:36:32 -07:00
Ian Storm Taylor
79e5e115ca
0.9.1
v0.9.1
2016-07-28 17:20:29 -07:00
Ian Storm Taylor
dfcd791b3b
fix deleteAtRange to split only to common ancestor
2016-07-28 17:17:18 -07:00
Ian Storm Taylor
52c29d8143
update slate plugins in dev deps
2016-07-28 16:47:50 -07:00
Ian Storm Taylor
5d60950b9f
0.9.0
v0.9.0
2016-07-28 16:40:26 -07:00
Ian Storm Taylor
8bf0697a15
update history
2016-07-28 16:38:41 -07:00
Ian Storm Taylor
de9a32b97b
update reference
2016-07-28 16:35:47 -07:00
Ian Storm Taylor
6c61e2772d
update state wrap method arguments
2016-07-28 16:27:07 -07:00
Ian Storm Taylor
a892c6b800
change wrapping transform arguments for consistency
2016-07-28 16:24:24 -07:00
Ian Storm Taylor
c74b527d33
0.8.3
v0.8.3
2016-07-28 16:06:31 -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
74cd4a9ae9
0.8.2
v0.8.2
2016-07-28 15:45:09 -07:00
Ian Storm Taylor
4a519db4e1
fix custom void block rendering test
2016-07-28 15:42:13 -07:00
Ian Storm Taylor
c248b3de22
add embeds example, fix to not let events propagate out of voids
2016-07-28 15:38:17 -07:00
Ian Storm Taylor
39ee56c5c5
update contributing docs
2016-07-28 13:14:37 -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
c8d941b450
0.8.1
v0.8.1
2016-07-28 12:34:40 -07:00
Ian Storm Taylor
5f73c63208
fix selection setting in wrapInline transform
2016-07-28 12:32:33 -07:00
Ian Storm Taylor
d80bda5802
Merge branch 'master' of github.com:ianstormtaylor/slate
2016-07-28 11:43:48 -07:00
Tyler Johnson
84829f5439
add tests for calling wrapInline twice ( #197 )
2016-07-28 11:43:44 -07:00
Ian Storm Taylor
45433198b6
refactor normalization of arguments with better error handling
2016-07-28 11:42:52 -07:00
Ian Storm Taylor
386b671baa
Merge branch 'master' of github.com:ianstormtaylor/slate
2016-07-28 11:13:50 -07:00
Samy Pessé
21a002ad63
Only create data once in setBlockAtRange and prevent its deletion ( #196 )
2016-07-28 11:13:45 -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
Tyler Johnson
dca2efca0f
fix isBackward in onSelect event selection ( #195 )
2016-07-28 11:09:47 -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
d42c463353
0.8.0
v0.8.0
2016-07-27 22:47:26 -07:00
Ian Storm Taylor
5e6f5b9cd1
add event handlers to reference
2016-07-27 22:45:25 -07:00