Skip to content

Commit

Permalink
Fix oversights
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Dec 25, 2019
1 parent 1493643 commit 621ff47
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,15 @@ function RichTextWrapper( {
onRemove,
onMerge,
onSplit,
onSplitMiddle,
__unstableOnSplitMiddle: onSplitMiddle,
identifier,
// To do: find a better way to implicitly inherit props.
start: startAttr,
reversed,
style,
preserveWhiteSpace,
__unstableEmbedURLOnPaste,
// From experimental filter. To do: pick props instead.
...experimentalProps
...props
} ) {
const instanceId = useInstanceId( RichTextWrapper );

Expand Down Expand Up @@ -427,7 +426,9 @@ function RichTextWrapper( {

const content = (
<RichText
{ ...experimentalProps }
{ ...props }
clientId={ clientId }
identifier={ identifier }
ref={ ref }
value={ adjustedValue }
onChange={ adjustedOnChange }
Expand Down

0 comments on commit 621ff47

Please sign in to comment.