Changelog
0.8.1 (August 12, 2016)
object-assign
in npm dependenciesbabel-core
in npm dependencies of tex exampleChangelog
0.8.0 (August 8, 2016)
customStyleFn
for more control over inline style rangesinternalClipboard
for SafariContentBlock
objectsconvertFromHTMLToContentBlocks
:
mailto
protocol for linksimmutable
~3.7.4 to avoid Flow errors in updated versionsgetSelectionOffsetKeyForNode
to search for nested offset-annotated nodesjest.fn().mockReturnValue(x)
with jest.fn(() => x)
nullthrows
for blockRenderMap
convertFromHTMLToContentBlocks
:
joinChunks
className
, rel
, target
, title
undefined
checks on DraftEditorLeaf
convertFromHTMLToContentBlocks
:
getBlockMapSupportedTags()
will always return a valid array of tagsChangelog
0.7.0 (May 3, 2016)
blockRenderMap
: A map that allows configuration for the DOM elements and
wrapper components to render, keyed by block type
atomic
blocks to avoid DOM selection errors<textarea>
behavior during <kbd>cmd</kbd>+<kbd>backspace</kbd>
command at visual line-startChangelog
0.6.0 (April 27, 2016)
ContentState.getFirstBlock()
convenience method'split-block'
handling.convertFromRaw
now returns a ContentState
object instead of an
Array<ContentBlock>
Changelog
0.5.0 (April 12, 2016)
AtomicBlockUtils
, a utility module to simplify adding atomic
blocks to
an EditorState
media
block type is now atomic
, to better represent that this type
is not just intended for photos and videosChangelog
0.4.0 (April 6, 2016)
editable
field for custom block component configurationsplit-block
)data-editor
, data-offset-key
, data-block
in block propsonPasteRawText
prop with handlePastedText
Changelog
0.3.0 (March 22, 2016)
convertToRaw
getVisibleSelectionRect
convertFromHTML
DraftEditorBlock
Changelog
0.2.2 (March 9, 2016)
Changelog
0.2.1 (March 9, 2016)
suppressContentEditableWarning
Changelog
0.2.0 (March 8, 2016)
white-space: pre-wrap
into inline style to resolve insertion issueshandleDrop
prop method for Editor
to allow manual drop managementdecoratedText
prop for decorator componentsgetVisibleSelectionRect
, to provide Rect for DOM selectionKeyBindingUtil
and getDefaultKeyBinding
DraftEditorLeaf
now re-renders correctly when its styles change