Skip to content

Commit

Permalink
Block lib: remove multiline=false (deprecated) (#56113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Nov 14, 2023
1 parent b04f4d3 commit 4d7b66f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/block-library/src/details/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function DetailsEdit( { attributes, setAttributes, clientId } ) {
onChange={ ( newSummary ) =>
setAttributes( { summary: newSummary } )
}
multiline={ false }
/>
</summary>
{ innerBlocksProps.children }
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/post-author/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ function PostAuthorEdit( {
{ ( ! RichText.isEmpty( byline ) || isSelected ) && (
<RichText
className="wp-block-post-author__byline"
multiline={ false }
aria-label={ __( 'Post author byline text' ) }
placeholder={ __( 'Write byline…' ) }
value={ byline }
Expand Down
2 changes: 0 additions & 2 deletions packages/block-library/src/post-terms/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default function PostTermsEdit( {
<RichText
allowedFormats={ ALLOWED_FORMATS }
className="wp-block-post-terms__prefix"
multiline={ false }
aria-label={ __( 'Prefix' ) }
placeholder={ __( 'Prefix' ) + ' ' }
value={ prefix }
Expand Down Expand Up @@ -141,7 +140,6 @@ export default function PostTermsEdit( {
<RichText
allowedFormats={ ALLOWED_FORMATS }
className="wp-block-post-terms__suffix"
multiline={ false }
aria-label={ __( 'Suffix' ) }
placeholder={ ' ' + __( 'Suffix' ) }
value={ suffix }
Expand Down

0 comments on commit 4d7b66f

Please sign in to comment.