@@ -4,6 +4,43 @@ Notable changes to Draft.js will be documented in this file.
44
55Changes to ` src ` are live in production on facebook.com at the time of release.
66
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+
744## 0.10.3 (September 28th, 2017)
845
946### Added
0 commit comments