Skip to content

v0.3.0

@hellendag hellendag released this

Fixed

  • Properly extract custom inline styles for convertToRaw
  • Fix internal paste behavior to better handle copied custom blocks

Added

  • Export getVisibleSelectionRect
  • Export convertFromHTML
  • Export DraftEditorBlock

Downloads

  • v0.2.2

    Release 0.2.2
    Summary:Oops. Looks like I need to run build before publishing.
    Closes #184
    
    Differential Revision: D3032243
    
    fb-gh-sync-id: e1c3c50df95f186e86c2e14dce96fe83214a4513
    shipit-source-id: e1c3c50df95f186e86c2e14dce96fe83214a4513

v0.2.1

@hellendag hellendag released this

Added

  • React 15 RC as peer/dev dependency, provide suppressContentEditableWarning

Downloads

v0.2.0

@hellendag hellendag released this

Added

  • Move white-space: pre-wrap into inline style to resolve insertion issues
  • handleDrop prop method for Editor to allow manual drop management
  • decoratedText prop for decorator components
  • getVisibleSelectionRect, to provide Rect for DOM selection
  • Export KeyBindingUtil and getDefaultKeyBinding

Fixed

  • 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

Downloads

Something went wrong with that request. Please try again.