1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-28 09:29:49 +02:00
Commit Graph

4283 Commits

Author SHA1 Message Date
Ian Storm Taylor
27df42bde0 remove console log 2016-08-01 12:44:06 -07:00
Ian Storm Taylor
40598d7198 fix isNative incorrectly being checked 2016-08-01 12:40:09 -07:00
Ian Storm Taylor
145b039616 0.10.2 v0.10.2 2016-08-01 12:33:04 -07:00
Ian Storm Taylor
5593d501e1 fix shouldComponentUpdate check on content 2016-08-01 12:30:30 -07:00
Marcelo Jorge Vieira
d7f65d5821 README.md: Fixed typo (#212)
Replaced 'direclty' with 'directly'
2016-08-01 11:48:57 -07:00
Ian Storm Taylor
cf8eebec4f 0.10.1 v0.10.1 2016-07-29 12:57:21 -07:00
Ian Storm Taylor
9c420b227d update lint script 2016-07-29 12:52:19 -07:00
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