@@ -4,6 +4,43 @@ Notable changes to Draft.js will be documented in this file.
4
4
5
5
Changes to ` src ` are live in production on facebook.com at the time of release.
6
6
7
+ ## 0.10.4 (October 24th, 2017)
8
+
9
+ ### Added
10
+ * Expose ` onRightArrow ` and ` onLeftArrow ` props to allow handling keyboard
11
+ events when right or left arrow is pressed.
12
+ ([ @eessex ] ( https://github.com/eessex )
13
+ in [ #1384 ] ( https://github.com/facebook/draft-js/pull/1384 ) )
14
+ * Expose Draft.css as default CSS export in package.json for use by CSS
15
+ preprocessors. ([ @darobin ] ( https://github.com/darobin )
16
+ in [ #566 ] ( https://github.com/facebook/draft-js/pull/566 ) )
17
+
18
+ ### Changed
19
+ * Change 'lookUpwardForInlineStyle' from O(n^2) to O(n), improving performance.
20
+ :) ([ @Lemmih ] ( https://github.com/Lemmih )
21
+ in [ #1429 ] ( https://github.com/facebook/draft-js/pull/1429 ) )
22
+
23
+ ### Fixed
24
+ * Fix bug where editors inside draggable parent were broken for Safari.
25
+ ([ @mattkrick ] ( https://github.com/mattkrick ) in
26
+ [ #1326 ] ( https://github.com/facebook/draft-js/pull/1326 ) )
27
+ * Stop pulling in Enzyme as production dependency. D'oh.
28
+ ([ @flarnie ] ( https://github.com/flarnie ) in
29
+ [ #1415 ] ( https://github.com/facebook/draft-js/pull/1415 ) )
30
+ * Fix ` TypeError: Cannot read property 'nodeType' of undefined ` error where
31
+ ` anchorNode ` was ` undefined ` .
32
+ ([ @tleunen ] ( https://github.com/tleunen ) in
33
+ [ #1407 ] ( https://github.com/facebook/draft-js/pull/1407 ) )
34
+ * Fix error thrown when callback tries to ` focus ` on editor after it has been
35
+ unmounted. ([ @mattkrick ] ( https://github.com/mattkrick ) in
36
+ [ #1409 ] ( https://github.com/facebook/draft-js/pull/1409 ) )
37
+ * Fix bug where selecting a single character then typing it doesn't replace it.
38
+ ([ @karanjthakkar ] ( https://github.com/karanjthakkar ) in
39
+ [ #719 ] ( https://github.com/facebook/draft-js/pull/719 ) )
40
+ * Clear the block type when backspacing at the start of the first block with
41
+ rich text utils. ([ @jvaill ] ( https://github.com/jvaill ) in
42
+ [ #748 ] ( https://github.com/facebook/draft-js/pull/748 ) )
43
+
7
44
## 0.10.3 (September 28th, 2017)
8
45
9
46
### Added
0 commit comments