Skip to content

Conversation

@thibaudcolas
Copy link
Collaborator

Documentation: draftail.org/docs/getting-started

🎉 blog post for this release: Draftail v1.2.0: supporting modern experiences.

Added

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.

  • Add data reset parameter to DraftUtils.resetBlockWithType().
  • Add ability to disable or customise the editor toolbar with topToolbar.
  • Add ability to add a toolbar below the editor with bottomToolbar.
  • Add support for Markdown shortcuts for inline styles, e.g. ** for bold, _ for italic, etc (#134, #187). View the full list of keyboard shortcuts.

Changed

  • Enable list continuation on Enter for custom *-list-item blocks. All that’s required is for the block type to end with -list-item.

@thibaudcolas thibaudcolas added the enhancement New feature or request label Mar 4, 2019
@thibaudcolas thibaudcolas added this to the v1.2.0 milestone Mar 4, 2019
@thibaudcolas thibaudcolas merged commit 1ddb251 into master Mar 4, 2019
@thibaudcolas thibaudcolas deleted the chore/release-v1-2-0 branch March 4, 2019 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants