Changelog
Documentation: draftail.org/docs/getting-started
Changelog
Documentation: draftail.org/docs/getting-started
label
to null
. #442Changelog
Documentation: draftail.org/docs/1.3.0/getting-started
🎉 blog post for this release: Draftail v1.3.0: community improvements, beyond Wagtail.
readOnly
prop, matching behavior of Draft.js. #201, #206, thanks to @SpearThruster.editorState
and onChange
props. Have a look at the controlled component documentation for further details. #180, #207.Changelog
Documentation: draftail.org/docs/1.2.1/getting-started
Changelog
Documentation: draftail.org/docs/1.2.0/getting-started
🎉 blog post for this release: Draftail v1.2.0: supporting modern experiences.
plugins
API to support extensions of the editor using the draft-js-plugins architecture (#83, #171).This new API makes it possible to build much more advanced extensions to the editor than ever before, such as autocompletes, linkify, custom blocks, custom toolbars, and more. Read the release blog post to learn more about the motivation for those new APIs.
DraftUtils.resetBlockWithType()
.topToolbar
.bottomToolbar
.**
for bold, _
for italic, etc (#134, #187). View the full list of keyboard shortcuts.*-list-item
blocks. All that’s required is for the block type to end with -list-item
.Changelog
Documentation: draftail.org/docs/1.1.0/getting-started
🎉 blog post for this release: Draftail v1.1.0: a quality of life release.
onFocus
and onBlur
props to use callbacks on those events. This can be useful for form validation. #170, #174, thanks to @TheSpicyMeatball.onSave
in the editor’s onBlur
(#173).DraftUtils.getEntitySelection
, when the provided entity key isn't valid (undefined, missing) (#168).draftjs-filters
dependency (#179).draftjs-conductor
dependency.Changelog
Documentation: draftail.org/docs/1.0.0/getting-started
This release is functionally identical to the last one,
v0.17.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.
Changelog
draftjs-filters@1.0.0
. This does not include any functional changes, but will cause a duplicated dependency for projects having both draftail
and draftjs-filters
as deps if they don’t also update draftjs-filters
.draftjs-conductor
. This makes Draftail always preserve the full content as-is when copy-pasting between editors. Fix #147 (thibaudcolas/draftjs-conductor#2).Changelog
Changelog
ToolbarButton
component in the API.ariaDescribedBy
prop of Draft.js.onRemoveEntity
.ListNesting
implementation with the one from draftjs-conductor
.$draftail-placeholder-text
.DraftUtils.isSelectedBlockType()
.DraftUtils.hasCurrentInlineStyle()
.