Notable changes to Draft.js will be documented in this file.
Changes to src
are live in production on facebook.com at the time of release.
- Properly extract custom inline styles for
convertToRaw
- Fix internal paste behavior to better handle copied custom blocks
- Export
getVisibleSelectionRect
- Export
convertFromHTML
- Export
DraftEditorBlock
- Build before publish to get the warning suppression in place correctly
- React 15 RC as peer/dev dependency, provide
suppressContentEditableWarning
- Move
white-space: pre-wrap
into inline style to resolve insertion issues handleDrop
prop method forEditor
to allow manual drop managementdecoratedText
prop for decorator componentsgetVisibleSelectionRect
, to provide Rect for DOM selection- Export
KeyBindingUtil
andgetDefaultKeyBinding
- Triple-clicks followed by block type changes now only affect first block
DraftEditorLeaf
now re-renders correctly when its styles change- Backspace behavior within empty code blocks
- Initial public release