UNPKG

draft-js-single-line-plugin

Version:

Restrict a draft-js editor to a single line of input.

33 lines (17 loc) 942 B
# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). # v2.0.5 2019-07-23 * Allow more flexible immutable dependency range to avoid conflicts with the draft-js specified version # v2.0.4 2019-07-22 * Add ESM entry point — [thanks to @trysound](https://github.com/icelab/draft-js-single-line-plugin/pull/6) # v2.0.3 2019-06-24 * Update immutable dependency # v2.0.2 2018-08-01 * Match draft-js range for immutable dependency # v2.0.1 2017-04-20 * Don’t create new state unnecessarily — [thanks to @mhssmnn](https://github.com/icelab/draft-js-single-line-plugin/pull/3) # v2.0.0 2017-03-20 * Update the handleReturn to conform to the 2.0.X breaking API change — [thanks to @AnilRedshift!](https://github.com/icelab/draft-js-single-line-plugin/pull/2) # v1.0.0 2017-02-23 * Releasing as v1.0.0 for better semver compatibility.