This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Releases: facebookarchive/draft-js
Releases · facebookarchive/draft-js
v0.11.7
0.11.7 (Aug 13th, 2020)
Added
- Allow aria-describedby overriding (Jeff Dickey in 8b8b9c0)
- Add support to create editor state using text string (Abhishek Pandya in fc9395f)
Changed
- Update readme to suggest building with yarn (#2527) (Kevin Chavez in 54213a1)
- Update build, static analysis deps (+ upgrade to fbjs 2.0.0) (#2541) (Kevin Chavez in 5e92a32)
- Tex example: Update babel to v7 + other deps (#2533) (Kevin Chavez in ce94ecf)
- Update package.json (#2490) (Michaël De Boey in b79082f)
- Update media.html (#2452) (fay in a8f44b1)
- Upgrade dependencies in playground example (#2534) (Kevin Chavez in f6bf4ed)
- feat(docs): Update README.md (#2523) (Darsh Shah in e0fc33e)
- adds highlight in docs (#2469) (Tunde Thomas in cef6191)
- Update QuickStart-API-Basics.md (#2491) (Michaël De Boey in 170fe23)
- Update .travis.yml (#2495) (Michaël De Boey in 3eb391e)
- Update link to Record in docs (#2418) (Rounak Agarwal in 6a55c38)
- Update link to Immutable Map in docs (#2530) (Rounak Agarwal in 31dde91)
- Upgrade browserify and babel deps in universal example (#2532) (Kevin Chavez in 1c8815a)
- Upgrade eslint, flow, jest (#2531) (Kevin Chavez in ccd0470)
- Fix the build by adding an argument to catch statement (Kevin Chavez in 5482c90)
- Conditionally invokes URI.tryParseURI in OSS code (Claudio Procida in 36de6f1)
- formatPastedText prop (Laura González in 9a9ccbd)
- fix pasting invalid links (Frank Thompson in 862a5b2)
- chore(dependabot): adds examples directories separately (#2505) (Claudio Procida in fb0eb34)
- style(website): Removes desaturation (#2504) (Claudio Procida in 2b8edb1)
- Fixes links accessibility by adding underlines (#2497) (R Nabors in 5e17cc2)
- add codes to suppressions in www (Daniel Sainati in 8457ebb)
- update comments in mobile to support error codes (Daniel Sainati in fb728fd)
- Use object shorthand in DraftEditorCompositionHandler (Kevin Chavez in d949433)
- Force the selection when composition is resolved (#2094) (Robbert Brak in 3be4d37)
- fix(security): Upgrades Docusaurus to address CVE-2020-7662 (#2457) (Claudio Procida in a08a8fa)
v0.11.6
0.11.6 (June 4th, 2020)
Added
- Adds BLM banner (#2454) (claudiopro in 2a0c5bb)
- HtmlConversion: Add support for telephone links (#2365) (Andrew Lauria in e1e9a0c)
- 7.C - Block Operations - Consume (Shalabh Vyas in 99c6b06)
- Add fromJS() API to Draft model objects (Shalabh Vyas in 3ee5a23)
Changed
- Add Null return value type in code example (#2429) (Jacob D. Castro in 45bb6b5)
- Add /meta/bundle-size-stats to .gitignore (#2436) (Kevin Chavez in e3a689d)
- Update eslint, cross-env and gulp-derequire. Fix version numbers for … (#2437) (Kevin Chavez in 79a25b5)
- Update Overview.md (#2434) (Mohamed ABDELLANI in e5e293f)
- Upgrade jest and flow-bin deps (#2435) (Kevin Chavez in 9ac399c)
- Update cadence for dependabot updates (#2402) (Kevin Chavez in 6619077)
- Bump alex from 8.0.0 to 8.1.1 (#2407) (dependabot-preview[bot] in 7e604b0)
- Bump fstream from 1.0.11 to 1.0.12 in /examples/draft-0-10-0/tex (#2396) (dependabot[bot] in 1f5d40e)
- Bump acorn from 6.0.5 to 6.4.1 in /examples/draft-0-10-0/tex (#2376) (dependabot[bot] in 9028881)
- chore(flow): Updates flow-bin to 0.123 (#2393) (Claudio Procida in 497a478)
- Short-circuit getUpdatedSelectionState for invalid selection updates on prod (Kevin Chavez in 0585b68)
- Type selection object in setDraftEditorSelection.js (Kevin Chavez in 31dec71)
- Type selection object in keyCommandBackspaceToStartOfLine.js (Kevin Chavez in aa5c4a1)
- Flow v0.123.0 in www (Panagiotis Vekris in af67575)
- Type selection object in getDraftEditorSelection.js (Kevin Chavez in dfacb1b)
- Type selection object in editOnBlur.js (Kevin Chavez in 2299714)
- Type selection object in editOnInput. (Kevin Chavez in 41beae1)
- upgrade to flow 0.122.0 (Marshall Roch in 97dd19b)
- DraftEntity ID Changes (Shalabh Vyas in 13989e3)
- use pasted block type if pasting to empty unstyled block (Frank Thompson in 7d3d3c8)
- Update deps for and cleanup playground example (#2368) (Kevin Chavez in 2658dd6)
- Only extend selection if it has ranges in setDraftEditorSelection.js (Kevin Chavez in d53fa7a)
- Update draft.js on website to v0.11.5 (#2370) (Kevin Chavez in 538d864)
- Make a few types exact (Kevin Chavez in 0950285)
- Remaining non-generated non-reason-parsed files (Jordan Brown in 153482f)
Fixed
- Fix draft-js pasted inline styles (Giulio Jiang in 92176ab)
- docs: in react hooks example, limit createEmpty calls (#2432) (Benjamin Atkin in 05e838e)
- Revisit comment for todo of T65805998, validate there's nothing to worry about (Kevin Chavez in 268ece3)
- html/shared/draft-js/model/transaction (generatedunixname89002005287564 in c75f1e4)
- types-first in html/js/mobile (Panagiotis Vekris in e66f39e)
- Address #2413 by making Firefox follow the same behaviour as Chrome (#2414) (Kevin Chavez in 6d619c6)
- Prevent placeholder from unnecessarily wrapping (#2392) (Frank Yan in 9d6bbfd)
- docs: Fix simple typo, sibbling -> sibling (#2384) (Tim Gates in d1cb1e7)
- Fix build by adding missing modules (Kevin Chavez in fbe3417)
- Fix flow by allowing optional chaining (#2369) (Kevin Chavez in 8576432)
v0.11.5
0.11.5 (Mar 26, 2020)
Removed
Changed
- Update deps in 'universal' example (#2362) (Kevin Chavez in dc8bfbb)
- Remove unused Flow suppressions in WWW (George Zahariev in 3858858)
- Improve types for EditorState (Kevin Chavez in 792bd3a)
- Don't SSR example editor on website. (#2356) (Kevin Chavez in 9191a3f)
- Deprecate Travis Bot files and configuration (Chris Lüer in 6c1c654)
- Require ReactDOMComet instead of ReactDOM (Dan Abramov in 6630163)
- Strictify DraftEditorLeaf.react.js (Kevin Chavez in b4a1db9)
- Make decodeEntityRanges flow strict (Kevin Chavez in 7af73b7)
- Move key to static argument instead of spread (Sebastian Markbage in d6527a9)
- "ecmascript" => "ECMAScript" (#2327) (Agastya Chandrakant in 6cfed73)
- Abstract ReactDOM as ReactDOMComet (Sebastian Markbage in 24339f1)
- Prevent (but not fix) ‘Cannot read property 'getIn' of undefined’ in getUpdatedSelectionState (Steven Luscher in a9fcbb2)
- Make some more modules strict(-local) (Kevin Chavez in c30ca73 and 7002565)
- Update webpack deps (#2310) (Kevin Chavez in 0131e1d)
- Remove unused gulp task remained from docusaurus 2 migration (#2308) (Kanitkorn S in 963e312)
- Re-write
DraftEditorExample
in the website using react hooks (#2287) (Kevin Chavez in 9b9376b) - Add a preventScroll prop (Dan Abramov in 3ba907b)
- Add editorRef prop to DraftEditor (Dan Abramov in 8c50042)
- Remove findDOMNode from DraftEditorBlockNode (Sebastian Markbage in 0dd3978)
- Remove findDOMNode in DraftEditorDragHandler (Sebastian Markbage in c1a55ce)
- Remove findDOMNode from getContentEditableContainer (Sebastian Markbage in 9d587d9)
- Upgrade to Flow explicit inexact object type syntax (Jordan Brown in b051fc1)
- Upgrade eslint + flow, and fix failed test from nullishCoalescingOperator (#2083) (Kanitkorn S in 824fd12)
- chore(travis): bumps node versions used in Travis CI to 10 and 12 (#2300) (Claudio Procida in e711230)
Fixed
- Fix Uncaught TypeError: Cannot read property 'nodeType' of null at editOnInput (#2330) (Konstantin Tarkus in db3216d)
- Fix keyBindingFn documentation URL (Ryan Silva in 3251017)
- fix style handling in convertFromHTMLToContentBlocks (Frank Thompson in ad8374d)
- remove unused flow suppressions (Panagiotis Vekris in 822d2fb)
v0.11.4
0.11.4 (January 7th, 2020)
Added
Changed
- Add rules to .flowconfig for flow strict rules (#2288) (Kevin Chavez in f223799)
- Update website's yarn version to 0.11.3 (Kevin Chavez in efcaf42)
- Prettify docs files (#2275) (Yangshun Tay in 6fc9964)
- Remove Jest auto mocking (#2279) (Yangshun Tay in 817e371)
- Add myself to get TravisCI emails (Kevin Chavez in f4167fe)
- Unit tests for isHTMLBRElement (Claudio Procida in bb81765)
- Remove niveditc from Travis CI email (Nivedita Chopra in 7721805)
- Create CNAME (#2276) (Yangshun Tay in 92680be)
- Upgrade to Docusaurus 2 (#2268) (Yangshun Tay in 5b10191)
- move alex to dev dependencies (#2272) (Ilya in b889d5d)
- Improve docs syntax and formatting (#2267) (Yangshun Tay in 9b4a628)
Fixed
- fix(chore): fixes webpack-stream error with missing catch var declaration (#2291) (Claudio Procida in 4252469)
- IE could not display composer when opening or creating a new group chat from the chat create view (Jainil Parekh in 64b51df)
- Fix DOMObserver mutation data for IE (#2285) (Jainil Parekh in afb708f)
- Added tests and fixed IE IndexSizeError trying to get a range from a selection when there is not one (#2271) (Lauren Wyatt in aa55de2)
- Fix scroll behavior when node has tab chars (#2256) (cdr in 5d37c03)
- Fix docs links in readme (#2284) (Lucas Cordeiro in 3b6d231)
- Fix isHTMLBRElement test (#2278) (Yangshun Tay in 0603772)
- Fix
isHTMLBRElement
check (Jack Armstrong in e869fcb) - Fix typing Chinese in Edge (#2082) (#2088) (Robbert Brak in 8c0727e)
- Fix Travis website deployment (#2274) (Yangshun Tay in 861aab8)
- getEntityKeyForSelection.js (Kevin Chavez in c07a404)
v0.11.3
0.11.3 (December 2nd, 2019)
Added
- Take over enhancements to render Draft.js in an iframe (#1938) (Claudio Procida in dceddf5)
- Implement click listener for editor wrapper (#2230) (Max Vyz in 8f77aa3)
- Add linting for insensitive and inconsiderate language (#2223) (Claudio Procida in 5dd99d3)
Changed
- Updates to Prettier 1.19.1 (#2265) (Claudio Procida in abcbe20)
- Bump mixin-deep from 1.3.1 to 1.3.2 in /examples/draft-0-10-0/universal (#2259) (dependabot[bot] in 37d281b)
- Upgrade dependencies in /website (#2263) (Kevin Chavez in 0b57720)
- Update dependencies in examples/draft-0-10-0/universal (#2257) (Kevin Chavez in ae2dd14)
- Update dependencies in examples/draft-0-10-0/playground (#2258) (Kevin Chavez in 11bc5d8)
- Prettify files rest of non-intern files in html/ (George Zahariev in 6217dc8)
- add flow declaration in editOnBeforeInput-test.js (Frank Thompson in 0601090)
- Bump lodash.merge from 4.6.1 to 4.6.2 in /website (#2241) (dependabot[bot] in 177db5e)
- Defaulting to createEmpty if block map is empty in createWithContent (Fixes issue #2226) (#2240) (David Fuentes in c42662e)
- Bump handlebars from 4.1.1 to 4.5.1 in /examples/draft-0-10-0/playground (#2242) (dependabot[bot] in 2a761af)
- Suppress non-synced files in www for 0.111 (Jordan Brown in 4bca140)
- Upgrade more deps. (#2239) (Kevin Chavez in a477e83)
- Bump lodash.template from 4.4.0 to 4.5.0 in /examples/draft-0-10-0/playground (#2236) (dependabot[bot] in 0e03745)
- Bump mixin-deep from 1.3.1 to 1.3.2 in /website (#2234) (dependabot[bot] in 78f20cc)
- Bump lodash from 4.17.11 to 4.17.15 in /website (#2233) (dependabot[bot] in da1ab7c)
- Updated browser icons in README (#2238) (SuNNjek in 6ed6ed4)
- Bump mixin-deep from 1.3.1 to 1.3.2 in /examples/draft-0-10-0/playground (#2235) (dependabot[bot] in 2744ff7)
- Upgrade 8 dependencies (including jest, @babel/core, etc). (#2237) (Kevin Chavez in 46103ac)
- Upgrades ESLint and related plugins/configs. (#2231) (Kevin Chavez in 53d2a63)
Fixed
- fix wrong property access in convertFromHTMLToContentBlocks (Frank Thompson in 7d26fab)
- Fix draftjs type error for event (Jack Armstrong in e7ae2e7)
- fix decorator handling in editOnBeforeInput (Frank Thompson in 1452b87)
- fixes #304, kudos to @andpor (#2197) (Ante Beslic in 2908035)
- Fix playground example import (#2220) (Ryan Lee in 778e88d)
- Fix React warnings (#2221) (Alan Norbauer in 2595016)
Meta
- deploy v112 to www (Daniel Sainati in ae542b7)
v0.11.2
0.11.2 (September 30th, 2019)
Changed
- Upgrade to Flow strict-local (generatedunixname89002005287564 in 0c92bf7)
- chore(website): updates stylesheet for 0.11.1 (#2188) (Claudio Procida in 543df66)
- Prepare 0.11.1 (#2186) (Claudio Procida in 3adf593)
Fixed
- fix(selection): Returns previous selection if either leaf is null (#2189) (Claudio Procida in fe68e43)
0.11.1 (September 19th, 2019)
Added
- Support post processor on paste entities. (Tee Xie in 3043573)
- Adding 'preserveSelectionOnBlur' prop (#2128) (Matthew Holloway in db792ef)
Changed
- Reaping draft_segmented_entities_behavior (Mohamed Moussa in cd4adaa)
- Make insertIntoList strict-local (Kevin Chavez in db64f93)
- Adopt Contributor Covenant (Paul O'Shannessy in 2c61167)
- Flowify editOnKeyDown.js (Kevin Chavez in 8473e41)
- (Flowify) decodeInlineStyleRanges.js (Kevin Chavez in 20a619c)
- Flowify editOnInput.js (Kevin Chavez in 594a14f)
- Flowify editOnBlur.js (Kevin Chavez in 6972278)
- updated function description for onEditInput event handler function (#2132) (Mukesh Soni in 14349f1)
- updated hastext method to not account for zero space width chars (#2163) (Ajith V in 85aa3a3)
- Encode non-ASCII characters in all snapshot tests (Daniel Lo Nigro in 734bd82)
- @flow -> @flow-strict for html/shared (Runjie Guan in 0375c0e)
- Revert D16421104: [rfc][draft-js] catch errors when encoding entity map (Frank Thompson in 8e9cabf)
- catch errors when encoding entity map (Frank Thompson in 259d122)
- Revert D16362778: [rfc][draftjs] catch errors when encoding entity map (Frank Thompson in 96e7f25)
- catch errors when encoding entity map (Frank Thompson in c0e911c)
- Flow-type DataTransfer.js (Kevin Chavez in ed09f78)
- All these modules can actually be strict (Kevin Chavez in bc716b2)
Fixed
- convertFromHTML breaks after converting \n string, issue #1822 (#1823) (Sannikov in 9246cc7)
- Fixes HTML importer to make image entity immutable (#2184) (Claudio Procida in b858f43)
- Fixing js example and cleaning up one sentence (#2172) (Liz LeCrone in 819f58c)
- Reaping draft_killswitch_allow_nontextnodes (generatedunixname89002005287564 in 0e2e9a7)
- Fix for workchat composer cursor jumping (Jainil Parekh in aed35d2)
- Fix various grammatical errors (#2158) (Jordan Lee in 1ff8c8c)
- Composer: Not assuming element has leaves (Nitzan Raz in ce8bdd0)
- Update jsfiddle links with recent versions of the Draft and React (#2145) (Günay Mert Karadoğan in 22b7599)
- Changes reference to BSD license to MIT (#2130) (claudiopro in 4064cae)
- Updates CHANGELOG for v0.11.0 (#2052) (Claudio Procida in 973f7ff)
- Fixed a bug causing block data being over-written when pasted. (Tee Xie in 82e2135)
- Merge pull request #2113 from danielo515/patch-1 (Claudio Procida in 0e88544)
- Update ShipIt Sync (Claudio Procida in 0f138d1)
v0.11.1
0.11.1 (September 19th, 2019)
Added
- Support post processor on paste entities. (Tee Xie in 3043573)
- Adding 'preserveSelectionOnBlur' prop (#2128) (Matthew Holloway in db792ef)
Changed
- Reaping draft_segmented_entities_behavior (Mohamed Moussa in cd4adaa)
- Make insertIntoList strict-local (Kevin Chavez in db64f93)
- Adopt Contributor Covenant (Paul O'Shannessy in 2c61167)
- Flowify editOnKeyDown.js (Kevin Chavez in 8473e41)
- (Flowify) decodeInlineStyleRanges.js (Kevin Chavez in 20a619c)
- Flowify editOnInput.js (Kevin Chavez in 594a14f)
- Flowify editOnBlur.js (Kevin Chavez in 6972278)
- updated function description for onEditInput event handler function (#2132) (Mukesh Soni in 14349f1)
- updated hastext method to not account for zero space width chars (#2163) (Ajith V in 85aa3a3)
- Encode non-ASCII characters in all snapshot tests (Daniel Lo Nigro in 734bd82)
- @flow -> @flow-strict for html/shared (Runjie Guan in 0375c0e)
- Revert D16421104: [rfc][draft-js] catch errors when encoding entity map (Frank Thompson in 8e9cabf)
- catch errors when encoding entity map (Frank Thompson in 259d122)
- Revert D16362778: [rfc][draftjs] catch errors when encoding entity map (Frank Thompson in 96e7f25)
- catch errors when encoding entity map (Frank Thompson in c0e911c)
- Flow-type DataTransfer.js (Kevin Chavez in ed09f78)
- All these modules can actually be strict (Kevin Chavez in bc716b2)
Fixed
- convertFromHTML breaks after converting \n string, issue #1822 (#1823) (Sannikov in 9246cc7)
- Fixes HTML importer to make image entity immutable (#2184) (Claudio Procida in b858f43)
- Fixing js example and cleaning up one sentence (#2172) (Liz LeCrone in 819f58c)
- Reaping draft_killswitch_allow_nontextnodes (generatedunixname89002005287564 in 0e2e9a7)
- Fix for workchat composer cursor jumping (Jainil Parekh in aed35d2)
- Fix various grammatical errors (#2158) (Jordan Lee in 1ff8c8c)
- Composer: Not assuming element has leaves (Nitzan Raz in ce8bdd0)
- Update jsfiddle links with recent versions of the Draft and React (#2145) (Günay Mert Karadoğan in 22b7599)
- Changes reference to BSD license to MIT (#2130) (claudiopro in 4064cae)
- Updates CHANGELOG for v0.11.0 (#2052) (Claudio Procida in 973f7ff)
- Fixed a bug causing block data being over-written when pasted. (Tee Xie in 82e2135)
- Merge pull request #2113 from danielo515/patch-1 (Claudio Procida in 0e88544)
- Update ShipIt Sync (Claudio Procida in 0f138d1)
v0.11.0
Added
- Adds support for nullish coalescing operator (#2076) (Claudio Procida in 96c7221)
- Add import statements for hooks-example in README (#2075) (Bennett in 943f6dc)
- Unit tests for DraftStringKey (Claudio Procida in 978ad6b)
- Adding Hooks in docs (#2004) (Charles ⚡ in f9f5fd6)
- Exports
isSoftNewlineEvent
as static method ofKeyBindingUtil
(Kevin Hawkinson in aede823) - Add live demo to README.md (#1907) (PLa in 6db3726)
- added highlighting (
<mark>
tag) to draft js html to content block converter (Isaiah Solomon in 37f2f2a) - Relicense under MIT and remove patents grant (#1967) (Claudio Procida in 585af35)
- Ctrl-K at end of line should delete newline (Sophie Alpert in 6455493)
- Add type annotations to
React.Component
classes in html/shared (Paco Estevez Garcia in 2e3a181) - Add return type annotation to
addEmojiInput
(Sam Goldman in 280d242) - Unstyle empty list item on Enter key (#769) (Eric Biewener in a0267a9)
- Allow Option+Space to be handled on OSX Chrome (#1254) (Colin Jeanne in 022bcf7)
- Added information about nature of block keys (#1892) (Prateek Nayak in 8ad59c4)
- Add flow to files (Nivedita Chopra in d87e093)
- Docs: add explicit deprecation notes to Entity methods (#1787) (vinogradov in cc6b897)
- Clarifies editor example, changes height to min-height (#1889) (Claudio Procida in 67d6fda)
- Improves editor overview example with min height and border (#1887) (Claudio Procida in b8862fd)
- Adds iframed editor example (#1879) (Claudio Procida in 8d5cbbe)
- Perform untab on backspace for nested items (Nivedita Chopra in 0688fa3)
- Support custom block rendering (Nivedita Chopra in fbe2267)
- Updates favicons and launcher icons with Draftjs logo (#1872) (Claudio Procida in d9c9d40)
- Merge successive non-leaf blocks resulting from tab (Nivedita Chopra in fbd18ce)
- Merge successive non-leaf blocks resulting from untab (Nivedita Chopra in 36e588a)
- Unnest the first non-leaf child (Nivedita Chopra in 0cb3804)
- Implement untab operations (Nivedita Chopra in 77e6844)
- added favicon (#1871) (saranshkataria in b9dd551)
- Add Algolia search (#1864) (Yangshun Tay in 1bf2145)
KeyBindingUtil
: addusesMacOSHeuristics
method (#869) (William Boman in 98e7730)- Export
RawDraftContentState
publicly (#1841) (Cédric Messiant in c6ff39d) - Implement moveChildUp operation for untab (Nivedita Chopra in e145a2a)
- Allow insertion at a specific point for updateParentChild (Nivedita Chopra in 6b83312)
- Implement onTab in NestedRichTextEditorUtil (Nivedita Chopra in 8d3cfba)
- Add utilty methods for creating a new parent & updating node to become sibling's child (Nivedita Chopra in 6f73657)
- Add utility methods for parent-child & sibling pointer updates (Nivedita Chopra in 0cb80b7)
- Warn visibly when extensions break Draft (Sophie Alpert in c0fb6a8)
- Add data structure invariants for tree data (Nivedita Chopra in ad4f64f)
- Add Draft.js logo to header (Joel Marcey in 0ce20bc)
- Enable deprecated-type rule in www (George Zahariev in dc9fa27)
- Add different counter-style for ordered lists based on their depth (Noam Elboim in d2a3ae8)
- Finish modernizing
convertFromHTMLToContentBlocks
- max nesting bug fix (Noam Elboim in 06c0ee6) - Finish modernizing
convertFromHTMLToContentBlocks
- upgrade draft-js internals (Noam Elboim in d24b802) - Finish modernizing
convertFromHTMLToContentBlocks
- nesting bug fix (Noam Elboim in 49bdd85) - Add docs about
DraftDecoratorComponentProps
(Flarnie Marchan in 7fddfcd) - Add list block
onTab
test (il kwon Sim in 102701c) - Integrating experiments on playground (mitermayer in b6ae887)
- Add clarifying comments to
getRemovalRange
(Flarnie Marchan in 28cb4a3) - Adding Rich Editor to the playground (mitermayer in 227d125)
- Allow indentation beyond one level deeper than block above. (Eric Biewener in 73e5a9c)
- Enabling a GK manager for the plaground (mitermayer in 8eea2c2)
- Bundle size stats (Alan in 5ffce3d)
- Clear block type when pressing backspace (Sophie Alpert in 6a1e2b0)
- added favicon to website (Michael Baldwin in 6cc2d85)
- expose start/end positions of a decorated component within a contentBlock (Matthew Mans in 3a3d34b)
- Add draft js playground (Julian Krispel-Samsel in 18fdffb)
Changed
- Moves test for legacy convertFromHTMLToContentBlocks out of OSS repo (Claudio Procida in 5eb49b1)
- Removes legacy convertFromHTMLToContentBlocks from OSS repo (Claudio Procida in a7d955e)
- Renames convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBlocks (Claudio Procida in d08399b)
- Removes all resolved uses of convertFromHTMLToContentBlocks_DEPRECATED (Claudio Procida in ec43403)
- draft-js: clean up useless divs from HTML when pasting content (Daniel Quadros de Miranda in 0f5427a)
- docs: remove --save flag (#2008) (Mounish Sai in f92d4b1)
- Rename DraftEditorBlock to EditorBlock (#2002) (Umang Galaiya in 8514b57)
- Removes unnecessary eslint disable rules (Claudio Procida in 1ba0764)
- Upgrades react-scripts to ^1.1.5 (#2042) (Claudio Procida in 71ef373)
- Upgrades docusaurus (#2039) (Claudio Procida in 21753fa)
- Removes unused gulp-browserify-thin (#2032) (Claudio Procida in fc3549a)
- Upgrades @babel/core, babel-preset-fbjs, and gulp-util (#2028) (Claudio Procida in 68196f6)
- Deploy 0.94 to www (George Zahariev in 6183935)
- deploy 0.93 (Daniel Sainati in 3400cda)
- Normalize case in
convertFromHTMLToContentBlocks
variable names (Claudio Procida in b4183b1) - Cleans up and refreshes generated website resources (#1998) (Claudio Procida in bd799f5)
- Upgrades Draft to React 16.8 ⚛️ (#1996) (claudiopro in a97ed7e)
- Adds email notifications for TravisCI builds (#1990) (Claudio Procida in a4cc10d)
- Upgrades flow-bin to 0.91.0 and mutes fbjs joinClasses error � (#1989) (Claudio Procida in e8a281c)
- Update to 0.92.0 (Paco Estevez Garcia in c022efb)
- Update webpack-dev-server & babel version in TeX examples (#1981) (Nivedita Chopra in a3a3585)
- Remove
componentWillReceiveProps
usages in examples (#1952) (Deep in 363f66e) - Upgrade to Gulp 4 (fixes build) (#1957) (Kevin Chavez in 85ad25c)
- Kill permanent permanently. (Andrey Sukhachev in 236270a)
- Deploy Flow v0.85 to www (Sam Goldman in 744af91)
- flow 0.84 www deploy (Avik Chaudhuri in 59dd225)
- Bring back the ariaOwneeID prop. (#1883) (Andrea Fercia in ce7f677)
- Add Node.js version 10 for CI (#1909) (noelyoo in 4a9a6a8)
- Refactor buffer constructor (#1912) (noelyoo in 11d7379)
- Update Advanced-Topics-Inline-Styles.md (#1902) (Yao Bin in 0b7ec2a)
- Remove flow typing for DraftEntity mock (#1891) (Nivedita Chopra in 75aa88a)
- Flow strict for some files (Nivedita Chopra in bbd3ef1)
- Update documentation concerning immutable updates (#1884) (Connor Jennings in c336ae2)
- Update docs to ensure kebab menu shows subheads (#1885) (Connor Jennings in 2ff0c7e)
- Support npm version 6.x (#1866) (Yangshun Tay in 724fdc6)
- Remove unused var in BlockTree (#1859) (Nivedita Chopra in 0a45fcd)
- Update jest version to latest (#1858) (Nivedita Chopra in b962974)
- Update Advanced-Topics-Entities.md (#1767) (alaoui abdellah in d40ff40)
- Update link to code of conduct (#1855) (Nivedita Chopra in 8c373b6)
- var => const on remaining file (Nivedita Chopra in 022798c)
- Update prettier version to 1.13.6 (#1854) (Nivedita Chopra in e2c24cf)
- Remove Flow Strict Local from files with future sketchy-null errors after bug fix (George Zahariev in c5b785a)
- Remove non-leaf blocks in tree => raw conversion (Nivedita Chopra in f5b2acb)
- Update Docusaurus to 1.3.3 (#1797) (Yangshun Tay in d6a0ac0)
- modify docs overview url (#1802) (Shubham Tiwari in 9f86efb)
- v0.79.1 in www (Panagiotis Vekris in 93a90a9)
- Remove gating on draft_non_native_insertion_forces_selection (Sophie Alpert in 1a5b27a)
- 5/n Disable forward delete across blocks when nested blocks are enabled (Flarnie Marchan in 0600549)
- 3/n Splitting PR #1828: updates to the Rich Text Editor example (#1828) (mitermayer in e98e91e)
- 2/n splitting PR #1828: updating
removeRangeFromContentState
(#1828) (mitermayer in a399e43) - 1/n splitting PR #1828: Initial forking of
RichTextEditorUtil
(#1828) (mitermayer in 328ddc6) - Warn if
moveSelectionForward/Backward
called with non-collapsed selection (Flarnie Marchan in 99eca6b) - codemod jasmine -> jest in html/shared (Aaron Abramov in 7f9299d)
- Remove logo from background circle (#1800) (Paul O’Shannessy in 47ae65a)
- var => const on test files (Nivedita Chopra in 0f58b64)
- Migrate to Docusaurus - Attempt #2 (Noam Elboim in 710919b)
- Remove old decorator fingerprint logic (Sophie Alpert in b2f6ed0)
- Use strict-local in as many files as possible (Miorel Palii in 3798902)
- Pass eventTimeStamp to
handleKeyPress
to allow tracking (Flarnie Marchan in 0ecf9a6) - Pass synthetic event to
handleBeforeInput
callback (Flarnie Marchan in b86b5ce) React.Element<any>
/React.Element<*>
->React.Node
as much as possible (Miorel Palii in a1f4593)- Change remaining vars to let/const (Nivedita Chopra in 8de2db9)
- Removed
@providesModule
tags and dependencies from draft-js (Rubén Norte in ee2e9c8) - Add
@providesModule
back to draft-js modules (Ashley Watkins in 05b2b4c) - Add common Flow type for decorator components (Ashley Watkins in 8000486)
- Add
@providesModule
back to draft-js modules (Rubén Norte in 4c4465f) - Removed
@providesModule
tag from non-generated files in html/shared directories (1/1) (Rubén Norte in 293f262) - 2/n Remove last vestiges of cWU (Flarnie Marchan in e954091)
- 1/n Move
blockSelect
flag out of cWU (Flarnie Marchan in 0f6199d) - Upgrade to Flow v0.68.0 (Sam Goldman in a99f51e)
- Strict-ify files that can be strict-ified with no additional changes (Miorel Palii in 22f9c52)
- rename-unsafe-lifecycles (Brian Vaughn in 8b3e8c9)
- Refactor
convertFromHTMLtoContentBlocks
(Nicolas Champsavoir in 732b69d) - M...
v0.11.0-beta3
v0.11.0-beta3
v0.10.5
Added
- Add support for
ariaDescribedBy
prop, for better a11y. (Suraj Karnati in
a6af3e15) - Add support for
ariaLabelledBy
prop, for better a11y. (@jackyho112
in #1519)
Changed
- Cause editor to break out of code block when user enters two blank lines. (Hanzhi Zhang
in 548fd5d1)
Fixed
- Preserve list indentation when copying and pasting from one Draft.js editor
into another. (@GordyD in #1605) - Fix
cannot read property 'update' of undefined
error that was thrown when
typing same character into selection that starts with that character. (@existentialism in
#1512) - Fix
encodeRawBlocks
to handle non-contiguous entities. Entities should
always be contigious, and cover one sequential range of characters. However,
in cases where entityState is corrupted to include non-contiguous entities,
encodeRawBlocks
would improperly process the entities in that case. (Frank
Thompson in 0059dd46) - Updated CSS for DraftEditorPlaceholder to support multiline placeholder (Gaurav Vaish in
c38b0285 - Fix issue where typing at the end of a link caused the link to continue. (Ian
Jones in
d16833b3) - Fix regression of bug where clicking a link caused the focus to move but the
selection state was not cleared, leading to a 'node not found' error.
(@flarnie
in 55316176) - Loosen Flow type definition for DraftBlockType to allow user-defined custom
block types. (@mitermayer
in #1480)