Skip to content

@thibaudcolas thibaudcolas released this Jan 18, 2018 · 614 commits to main since this release


  • Make line break and horizontal line controls configurable, by passing an object with icon, label, description props.
  • Add ability to set textAlignment, textDirectionality, autoCapitalize, autoComplete, autoCorrect props of Draft.js.


  • Rename DraftUtils.addLineBreakRemovingSelection to DraftUtils.addLineBreak.
  • Replace showUndoRedoControls with separate props showUndoControl and showRedoControl for which control UI can be overriden.
  • Make all keyboard shortcut labels language agnostic.


  • Fix DraftUtils.addLineBreak adding line breaks in the wrong place when selection is collapsed.
Assets 2