<commit_before># Changelog

> All notable changes to this project are documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

> Documentation: [draftail.org/docs/next/getting-started](https://www.draftail.org/docs/next/getting-started)

### Fixed

- Fix Sass deprecation warning with `/` slash character for divisions and separators.

## [[v1.4.1]](https://github.com/springload/draftail/releases/tag/v1.4.1)

> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)

### Fixed

- Fix plugin `keyBindingFn`s not being called. [#246](https://github.com/springload/draftail/pull/246), [#445](https://github.com/springload/draftail/pull/445)

## [[v1.4.0]](https://github.com/springload/draftail/releases/tag/v1.4.0)

> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)

### Added<commit_msg>Add CHANGELOG entries for 2.0.0 release<commit_after># Changelog

> All notable changes to this project are documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

> This release contains **breaking changes**.

> Documentation: [draftail.org/docs/next/getting-started](https://www.draftail.org/docs/next/getting-started)

### Added

- Add TypeScript module definition for Draftail. [#388](https://github.com/springload/draftail/issues/388), [#429](https://github.com/springload/draftail/pull/429)
- Implement `onPaste` handler for entities to be able to create themselves on paste.
- Add a new optional `InlineToolbar` component so the editor can be rendered with either a static or floating toolbar.
- Add a new optional `MetaToolbar` component intended to display editor metadata at the bottom of the editor.

### Changed

- The controls API now expects JS objects similarly to other APIs. Controls can now declare in what type of toolbar they should be rendered: `block` (static top toolbar), `inline` (floating toolbar), `meta` (bottom / meta toolbar).

### Fixed

- Fix Sass deprecation warning with `/` slash character for divisions and separators.

### Breaking changes

#### TypeScript type definitions

For projects using TypeScript, the addition of type definitions is likely to cause new linting issues being reported in case Draftail’s new types are incompatible with the implementation.

#### Controls API shape

## [[v1.4.1]](https://github.com/springload/draftail/releases/tag/v1.4.1)

> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)

### Fixed

- Fix plugin `keyBindingFn`s not being called. [#246](https://github.com/springload/draftail/pull/246), [#445](https://github.com/springload/draftail/pull/445)

## [[v1.4.0]](https://github.com/springload/draftail/releases/tag/v1.4.0)

> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started)

### Added
{'fraction_non_alphanumeric': 0.14040980853207927, 'fraction_numerical': 0.023177695666778637, 'mean_word_length': 4.771317829457364, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 18, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1486908', 'n_tokens_mistral': 991, 'n_tokens_neox': 903, 'n_words': 239}