draftjs-conductor

📝✨ Little Draft.js helpers to make rich text editors “just work”

MIT License

Downloads
37.7K
Stars
40
Committers
6

Bot releases are hidden (Show)

draftjs-conductor - v2.0.0

Published by thibaudcolas almost 4 years ago

2.0.0 (2020-11-19)

Features

  • api: replace list nesting APIs with a single getListNestingStyles (3703b2f)
  • deps: proactively declare support with Draft.js v0.12.0 (586b385)

BREAKING CHANGES

  • api: The <ListNestingStyles max={6} /> component has been removed,
    and the generateListNestingStyles method is now deprecated and
    will be removed in a future release.

Both are replaced with a getListNestingStyles method, which works exactly the same as
generateListNestingStyles, but with a different parameter order, and with default values:

export const getListNestingStyles = (
  maxDepth: number,
  minDepth: number = DRAFT_DEFAULT_MAX_DEPTH + 1,
  selectorPrefix: string = DRAFT_DEFAULT_DEPTH_CLASS,
) => {
  return generateListNestingStyles(selectorPrefix, minDepth, maxDepth);
}

This small breaking change allows us to remove this package’s peerDependency on React,
making it easier to upgrade to React 17, and other versions in the future.

draftjs-conductor - v1.2.0

Published by thibaudcolas almost 4 years ago

1.2.0 (2020-11-19)

Features

draftjs-conductor - v1.1.0

Published by thibaudcolas about 4 years ago

1.1.0 (2020-08-16)

Features

  • api: add new getDraftEditorPastedContent method (#226) (fcaada5)
draftjs-conductor - v1.0.1

Published by thibaudcolas over 4 years ago

1.0.1 (2020-01-20)

Bug Fixes

  • deps: allow draft-js ^0.11.0 as a peer dependency (1b0cfa3)
draftjs-conductor - v1.0.0

Published by thibaudcolas about 5 years ago

1.0.0 (2019-08-14)

This release is functionally identical to v0.5.2.

The project has reached a high-enough level of stability to be used in production, and breaking changes will now be reflected via major version changes.

draftjs-conductor - v0.5.2

Published by thibaudcolas about 5 years ago

0.5.2 (2019-08-13)

Bug Fixes

  • release: prevent tarballs from being published in npm tarball (96d0765)
draftjs-conductor - v0.5.1

Published by thibaudcolas about 5 years ago

0.5.1 (2019-08-13)

Bug Fixes

  • api: add .flow typing file to restore type checks on CJS imports (cb73a81)
draftjs-conductor - v0.5.0

Published by thibaudcolas about 5 years ago

0.5.0 (2019-08-13)

Features

  • api: add new data conversion helper methods (355c88e)
draftjs-conductor - v0.4.5

Published by thibaudcolas over 5 years ago

0.4.5 (2019-07-04)

Bug Fixes

  • api: disable Flow types in CommonJS build (023f6b0)
  • package: use ES6 import instead of require for draft-js/lib deps (9bcea6b)
draftjs-conductor - v0.4.4

Published by thibaudcolas over 5 years ago

0.4.4 (2019-05-28)

Bug Fixes

  • copy-paste: fix partial copy from decorator text. Fix #12 (e043b74)
  • copy-paste: support copy from decorators. Fix #12 (d90bbbc)
  • release: remove unneeded react-dom peerDependency (3e59f05)

Performance Improvements

  • copy-paste: completely skip event handling operations in IE11 (9521758)
draftjs-conductor - v0.4.3

Published by thibaudcolas over 5 years ago

0.4.3 (2019-04-21)

Bug Fixes

  • selection: use getContentStateFragment for readonly copy. Fix #14 (0483d82)
draftjs-conductor - v0.4.2

Published by thibaudcolas over 5 years ago

0.4.2 (2019-04-21)

Bug Fixes

  • api: update typing so compiled code still validates with Flow (d065ce7)
draftjs-conductor - v0.4.1

Published by thibaudcolas over 5 years ago

0.4.1 (2019-01-25)

Bug Fixes

  • copy-paste: use explicit check for plain text pastes (02bdc94)
draftjs-conductor - v0.4.0

Published by thibaudcolas over 5 years ago

0.4.0 (2019-01-25)

Features

  • api: add WIP publication of flow types (fb7fa29)
  • api: convert ListNestingStyles from PureComponent to function (44f9a5f)
  • api: publish package with Flow annotations built in (d7e190f)
  • api: remove (undocumented) prefix prop on ListNestingStyles (774fe8a)
draftjs-conductor - v0.3.0

Published by thibaudcolas almost 6 years ago

0.3.0 (2018-10-27)

Features

  • release: mark package as side-effects-free for Webpack (#11) (5923318)
draftjs-conductor - v0.2.1

Published by thibaudcolas over 6 years ago

0.2.1 (2018-06-04)

Bug Fixes

  • copy-paste: preserve line breaks for pasting into word processors (8a09efa)
draftjs-conductor - v0.2.0

Published by thibaudcolas over 6 years ago

0.2.0 (2018-06-03)

Features

  • copy-paste: override Draft.js copy-paste to preserve full editor content (#2)
draftjs-conductor - v0.1.0

Published by thibaudcolas over 6 years ago

0.1.0 (2018-02-24)

Features

  • api: add react and react-dom as peerDependencies (63acfb3)
  • lists: add list nesting styles api to package (8fb7073)
  • lists: remove whitespace filtering from list styles (2e29541)